Push the boundaries of what DataForSEO can do
Learn about the latest updates

Subscribe To Our Newsletter

Back

Table Data in On-Page Content Parsing API

May,16 2024 19:37:42

Announcement
On-Page API
Table Data in On-Page Content Parsing API

Parse tables seamlessly – we’ve just rolled out a new table_content field to Content Parsing and Content Parsing Live endpoints of On-Page API.

With this powerful addition, you can:

  • Extract structured content from tables on web pages;
  • Aggregate data from multiple sources in a standardized format;
  • Analyze links and anchor texts from tables.

Here’s a glimpse of the table_content array structure:

{
  "header": [
    {
      "row_cells": [
        {
          "text": "Language",
          "urls": null,
          "is_header": true
        },
        {
          "text": "Description",
          "urls": null,
          "is_header": true
        }
      ]
    }
  ],
  "body": [
    {
      "row_cells": [
        {
          "text": "PHP DataForSEO Client",
          "urls": [
            {
              "url": "https://github.com/jovixv/DFSClient-v3",
              "anchor_text": "PHP DataForSEO Client"
            }
          ],
          "is_header": false
        },
        {
          "text": "Recommended: officially supported PHP Client. Author Vitaliy Lyabakh – jovixv",
          "urls": null,
          "is_header": false
        }
      ]
    },
    {
      "row_cells": [
        {
          "text": "C# DataForSEO Client",
          "urls": [
            {
              "url": "https://github.com/dataforseo/CSharpClient",
              "anchor_text": "C# DataForSEO Client"
            }
          ],
          "is_header": false
        },
        {
          "text": "Recommended: officially supported C# Client. Author – DataForSEO team",
          "urls": null,
          "is_header": false
        }
      ]
    }
  ],
  "footer": [
    {
      "row_cells": [
        {
          "text": "PHP DataForSEO Client",
          "urls": [
            {
              "url": "https://github.com/jovixv/DFSClient-v3",
              "anchor_text": "PHP DataForSEO Client"
            }
          ],
          "is_header": false
        },
        {
          "text": "Recommended: officially supported PHP Client. Author Vitaliy Lyabakh – jovixv",
          "urls": null,
          "is_header": false
        }
      ]
    },
    {
      "row_cells": [
        {
          "text": "C# DataForSEO Client",
          "urls": [
            {
              "url": "https://github.com/dataforseo/CSharpClient",
              "anchor_text": "C# DataForSEO Client"
            }
          ],
          "is_header": false
        },
        {
          "text": "Recommended: officially supported C# Client. Author – DataForSEO team",
          "urls": null,
          "is_header": false
        }
      ]
    }
  ]
}

Streamline your table data parsing – check our updated docs to learn the details.

Embed DataForSeo widget on your website


Embed code:
Preview: