DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
OnPage API Content Parsing
Parses one crawled url into structured content, with markdown_view for a markdown rendering. Reads a finished crawl, so it needs the id from post_dataforseo_on_page_submit and returns crawl_progress plus a crawl_status of max_crawl_pages, pages_in_queue and pages_crawled - check those before trusting a small result, because a crawl still running simply has less to report. The standalone twin post_dataforseo_on_page_content_parsing_live parses any URL without a crawl - prefer that unless the page is already part of one.
- Тип: array object[]
- idТип: stringобязательно
ID of the task required field you can get this ID in the response of the Task POST endpoint note: the enable_content_parsing parameter in the POST request must be set to true example: "07131248-1535-0216-1000-17384017ad04"
- urlТип: stringобязательно
URL of the content to parse required field URL of the page to parse example: https://dataforseo.com/blog/a-versatile-alternative-to-google-trends-exploring-the-power-of-dataforseo-trends-api
- markdownТип: boolean
_view return page content as markdown optional field if set to true, the markdown-formatted content of the page will be returned in the page_as_markdown field of the response; default value: false
- Тип: object200
Successful response
- Тип: numbercost
total tasks cost, USD
- Тип: integerstatus
_code general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
- Тип: stringstatus
_message general informational message you can find the full list of general informational messages here
- Тип: array string[]tasks
array of tasks
- Тип: integertasks
_count the number of tasks in the tasks array
- Тип: integertasks
_error the number of tasks in the tasks array returned with an error
- Тип: numbertasks
.cost cost of the task, USD
- Тип: objecttasks
.data contains the same parameters that you specified in the POST request
- Тип: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- Тип: array string[]tasks
.path URL path
- Тип: array string[]tasks
.result array of results
- Тип: integertasks
.result _count number of elements in the result array
- Тип: stringtasks
.result .crawl _progress status of the crawling session possible values: in_progress, finished
- Тип: objecttasks
.result .crawl _status details of the crawling session
- Тип: array string[]tasks
.result .items items array
- Тип: integertasks
.result .items _count number of items in the results array
- Тип: stringtasks
.result .items .fetch _time date and time when the content was fethced example: "2022-11-01 10:02:52 +00:00"
- Тип: stringtasks
.result .items .page _as _markdown page content in the markdown format page content in the text-to-HTML markdown format specify markdown_view as true in the request to return the value
- Тип: objecttasks
.result .items .page _content parsed content of the page
- Тип: array string[]tasks
.result .items .page _content .comments array of comments displayed on the page contains objects with information on comments related to displayed products
- Тип: string
author of the comment
- Тип: integertasks
.result .items .page _content .comments .max _rating _value maximum value for the rating
- Тип: stringtasks
.result .items .page _content .comments .name rating name Note: this field is not used in this particular object, and its value is always null
- Тип: array string[]tasks
.result .items .page _content .comments .primary _content primary content on the page you can find more information about content priority calculation in this help center article
- Тип: stringtasks
.result .items .page _content .comments .primary _content .text text of the comment
- Тип: stringtasks
.result .items .page _content .comments .primary _content .url displayed in case the text is a link anchor
- Тип: array string[]tasks
.result .items .page _content .comments .primary _content .urls contains other URLs and anchors found in the content element
- Тип: stringtasks
.result .items .page _content .comments .publish _date date when the comment was published
- Тип: objecttasks
.result .items .page _content .comments .rating product’s rating contains information about the rating a customer has given to the product
- Тип: integertasks
.result .items .page _content .comments .rating _count the amount of feedback Note: this field is not used in this particular object, and its value is always null
- Тип: integertasks
.result .items .page _content .comments .rating _value the value of the rating
- Тип: numbertasks
.result .items .page _content .comments .relative rating relative rating can take values from 0 to 1
- Тип: stringtasks
.result .items .page _content .comments .title title of the customer’s comment
- Тип: objecttasks
.result .items .page _content .contacts contact information contains contact information displayed on the page
- Тип: array string[]tasks
.result .items .page _content .contacts .emails array of emails
- Тип: array string[]tasks
.result .items .page _content .contacts .telephones array of telephone numbers
- Тип: object
parsed content of the footer
- Тип: objecttasks
.result .items .page _content .header parsed content of the header
- Тип: array string[]tasks
.result .items .page _content .main _topic main topic on the page you can find more information about topic priority calculation in this help center article
- Тип: string
content author name
- Тип: stringtasks
.result .items .page _content .main _topic .h _title meta title
- Тип: stringtasks
.result .items .page _content .main _topic .language content language
- Тип: stringtasks
.result .items .page _content .main _topic .level HTML level
- Тип: stringtasks
.result .items .page _content .main _topic .main _title main title of the block
- Тип: array string[]tasks
.result .items .page _content .main _topic .primary _content primary content on the page you can find more information about content priority calculation in this help center article
- Тип: array string[]tasks
.result .items .page _content .main _topic .secondary _content secondary content on the page you can find more information about content priority calculation in this help center article
- Тип: stringtasks
.result .items .page _content .main _topic .text content text
- Тип: stringtasks
.result .items .page _content .main _topic .url page URL displayed in case the text is a link anchor
- Тип: array string[]tasks
.result .items .page _content .main _topic .urls contains other URLs and anchors found in the content element
- Тип: stringtasks
.result .items .page _content .main _topic .urls .anchor _text text of the URL’s anchor
- Тип: stringtasks
.result .items .page _content .main _topic .urls .url other URL found in the content element
- Тип: array string[]tasks
.result .items .page _content .offers array of products displayed on the page contains objects with information on products displayed on the page
- Тип: stringtasks
.result .items .page _content .offers .name name of the product
- Тип: integertasks
.result .items .page _content .offers .price price of the product
- Тип: stringtasks
.result .items .page _content .offers .price _currency price currency
- Тип: integertasks
.result .items .page _content .offers .price _valid _until displays the date and time until which the price is valid in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: "2022-11-01 10:02:52 +00:00"
- Тип: array string[]tasks
.result .items .page _content .primary _content primary content on the page you can find more information about content priority calculation in this help center article
- Тип: stringtasks
.result .items .page _content .primary _content .text content text
- Тип: stringtasks
.result .items .page _content .primary _content .url page URL displayed in case the text is a link anchor
- Тип: array string[]tasks
.result .items .page _content .primary _content .urls contains other URLs and anchors found in the content element
- Тип: stringtasks
.result .items .page _content .primary _content .urls .anchor _text text of the URL’s anchor
- Тип: stringtasks
.result .items .page _content .primary _content .urls .url other URL found in the content element
- Тип: array string[]tasks
.result .items .page _content .ratings contains objects with rating information for the products displayed on the page
- Тип: integertasks
.result .items .page _content .ratings .max _rating _value maximum value for the rating
- Тип: stringtasks
.result .items .page _content .ratings .name rating name Note: this field is not used in this particular object, and its value is always set to null
- Тип: integertasks
.result .items .page _content .ratings .rating _count the amount of feedback
- Тип: integertasks
.result .items .page _content .ratings .rating _value the value of the rating
- Тип: numbertasks
.result .items .page _content .ratings .relative _rating relative rating can take values from 0 to 1
- Тип: array string[]tasks
.result .items .page _content .secondary _content secondary content on the page you can find more information about content priority calculation in this help center article
- Тип: stringtasks
.result .items .page _content .secondary _content .text content text
- Тип: stringtasks
.result .items .page _content .secondary _content .url page URL displayed in case the text is a link anchor
- Тип: array string[]tasks
.result .items .page _content .secondary _content .urls contains other URLs and anchors found in the content element
- Тип: stringtasks
.result .items .page _content .secondary _content .urls .anchor _text text of the URL’s anchor
- Тип: stringtasks
.result .items .page _content .secondary _content .urls .url other URL found in the content element
- Тип: array string[]tasks
.result .items .page _content .secondary _topic secondary topic on the page you can find more information about topic priority calculation in this help center article
- Тип: string
content author name
- Тип: stringtasks
.result .items .page _content .secondary _topic .h _title meta title
- Тип: stringtasks
.result .items .page _content .secondary _topic .language content language
- Тип: stringtasks
.result .items .page _content .secondary _topic .level HTML level
- Тип: stringtasks
.result .items .page _content .secondary _topic .main _title main title of the block
- Тип: array string[]tasks
.result .items .page _content .secondary _topic .primary _content primary content on the page you can find more information about content priority calculation in this help center article
- Тип: array string[]tasks
.result .items .page _content .secondary _topic .secondary _content secondary content on the page you can find more information about content priority calculation in this help center article
- Тип: stringtasks
.result .items .page _content .secondary _topic .text content text
- Тип: stringtasks
.result .items .page _content .secondary _topic .url page URL displayed in case the text is a link anchor
- Тип: array string[]tasks
.result .items .page _content .secondary _topic .urls contains other URLs and anchors found in the content element
- Тип: stringtasks
.result .items .page _content .secondary _topic .urls .anchor _text text of the URL’s anchor
- Тип: stringtasks
.result .items .page _content .secondary _topic .urls .url other URL found in the content element
- Тип: array string[]tasks
.result .items .page _content .table _content content of the table on the page
- Тип: array string[]tasks
.result .items .page _content .table _content .body content of the body of the table
- Тип: array string[]tasks
.result .items .page _content .table _content .body .row _cells content of the row cells of the header
- Тип: booleantasks
.result .items .page _content .table _content .body .row _cells .is _header indicates if the text belongs to the header
- Тип: stringtasks
.result .items .page _content .table _content .body .row _cells .text text in the row cell
- Тип: array string[]tasks
.result .items .page _content .table _content .body .row _cells .urls contains other URLs and anchors found in the cell
- Тип: stringtasks
.result .items .page _content .table _content .body .row _cells .urls .anchor _text text of the URL’s anchor
- Тип: stringtasks
.result .items .page _content .table _content .body .row _cells .urls .url URL found in the cell
- Тип: array string[]
content of the footer of the table
- Тип: array string[]
content of the row cells of the header
- Тип: boolean
indicates if the text belongs to the header
- Тип: string
text in the row cell
- Тип: array string[]
contains other URLs and anchors found in the cell
- Тип: string
text of the URL’s anchor
- Тип: string
URL found in the cell
- Тип: array string[]tasks
.result .items .page _content .table _content .header content of the header of the table
- Тип: array string[]tasks
.result .items .page _content .table _content .header .row _cells content of the row cells of the header
- Тип: booleantasks
.result .items .page _content .table _content .header .row _cells .is _header indicates if the text belongs to the header
- Тип: stringtasks
.result .items .page _content .table _content .header .row _cells .text text in the row cell
- Тип: array string[]tasks
.result .items .page _content .table _content .header .row _cells .urls contains other URLs and anchors found in the cell
- Тип: stringtasks
.result .items .page _content .table _content .header .row _cells .urls .anchor _text text of the URL’s anchor
- Тип: stringtasks
.result .items .page _content .table _content .header .row _cells .urls .url URL found in the cell
- Тип: integertasks
.result .items .status _code status code of the page
- Тип: stringtasks
.result .items .type type of the returned item = ‘сontent_parsing_element’
- Тип: integertasks
.status _code status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
- Тип: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- Тип: stringtasks
.time execution time, seconds
- Тип: stringtime
execution time, seconds
- Тип: stringversion
the current version of the API
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl https://openapi.felo.ai/v1/beta/dataforseo/on_page/content_parsing \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '[
{
"url": "",
"id": "",
"markdown_view": true
}
]'
{
"version": "string",
"status_code": 1,
"status_message": "string",
"time": "string",
"cost": 1,
"tasks_count": 1,
"tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"tasks.result": [
"string"
],
"tasks.result.crawl_progress": "string",
"tasks.result.crawl_status": {},
"tasks.result.items_count": 1,
"tasks.result.items": [
"string"
],
"tasks.result.items.type": "string",
"tasks.result.items.fetch_time": "string",
"tasks.result.items.status_code": 1,
"tasks.result.items.page_content": {},
"tasks.result.items.page_content.header": {},
"tasks.result.items.page_content.primary_content": [
"string"
],
"tasks.result.items.page_content.primary_content.text": "string",
"tasks.result.items.page_content.primary_content.url": "string",
"tasks.result.items.page_content.primary_content.urls": [
"string"
],
"tasks.result.items.page_content.primary_content.urls.url": "string",
"tasks.result.items.page_content.primary_content.urls.anchor_text": "string",
"tasks.result.items.page_content.secondary_content": [
"string"
],
"tasks.result.items.page_content.secondary_content.text": "string",
"tasks.result.items.page_content.secondary_content.url": "string",
"tasks.result.items.page_content.secondary_content.urls": [
"string"
],
"tasks.result.items.page_content.secondary_content.urls.url": "string",
"tasks.result.items.page_content.secondary_content.urls.anchor_text": "string",
"tasks.result.items.page_content.table_content": [
"string"
],
"tasks.result.items.page_content.table_content.header": [
"string"
],
"tasks.result.items.page_content.table_content.header.row_cells": [
"string"
],
"tasks.result.items.page_content.table_content.header.row_cells.text": "string",
"tasks.result.items.page_content.table_content.header.row_cells.urls": [
"string"
],
"tasks.result.items.page_content.table_content.header.row_cells.urls.url": "string",
"tasks.result.items.page_content.table_content.header.row_cells.urls.anchor_text": "string",
"tasks.result.items.page_content.table_content.header.row_cells.is_header": true,
"tasks.result.items.page_content.table_content.body": [
"string"
],
"tasks.result.items.page_content.table_content.body.row_cells": [
"string"
],
"tasks.result.items.page_content.table_content.body.row_cells.text": "string",
"tasks.result.items.page_content.table_content.body.row_cells.urls": [
"string"
],
"tasks.result.items.page_content.table_content.body.row_cells.urls.url": "string",
"tasks.result.items.page_content.table_content.body.row_cells.urls.anchor_text": "string",
"tasks.result.items.page_content.table_content.body.row_cells.is_header": true,
"tasks.result.items.page_content.table_content.footer": [
"string"
],
"tasks.result.items.page_content.table_content.footer.row_cells": [
"string"
],
"tasks.result.items.page_content.table_content.footer.row_cells.text": "string",
"tasks.result.items.page_content.table_content.footer.row_cells.urls": [
"string"
],
"tasks.result.items.page_content.table_content.footer.row_cells.urls.url": "string",
"tasks.result.items.page_content.table_content.footer.row_cells.urls.anchor_text": "string",
"tasks.result.items.page_content.table_content.footer.row_cells.is_header": true,
"tasks.result.items.page_content.footer": {},
"tasks.result.items.page_content.main_topic": [
"string"
],
"tasks.result.items.page_content.main_topic.h_title": "string",
"tasks.result.items.page_content.main_topic.main_title": "string",
"tasks.result.items.page_content.main_topic.author": "string",
"tasks.result.items.page_content.main_topic.language": "string",
"tasks.result.items.page_content.main_topic.level": "string",
"tasks.result.items.page_content.main_topic.primary_content": [
"string"
],
"tasks.result.items.page_content.main_topic.text": "string",
"tasks.result.items.page_content.main_topic.url": "string",
"tasks.result.items.page_content.main_topic.urls": [
"string"
],
"tasks.result.items.page_content.main_topic.urls.url": "string",
"tasks.result.items.page_content.main_topic.urls.anchor_text": "string",
"tasks.result.items.page_content.main_topic.secondary_content": [
"string"
],
"tasks.result.items.page_content.secondary_topic": [
"string"
],
"tasks.result.items.page_content.secondary_topic.h_title": "string",
"tasks.result.items.page_content.secondary_topic.main_title": "string",
"tasks.result.items.page_content.secondary_topic.author": "string",
"tasks.result.items.page_content.secondary_topic.language": "string",
"tasks.result.items.page_content.secondary_topic.level": "string",
"tasks.result.items.page_content.secondary_topic.primary_content": [
"string"
],
"tasks.result.items.page_content.secondary_topic.text": "string",
"tasks.result.items.page_content.secondary_topic.url": "string",
"tasks.result.items.page_content.secondary_topic.urls": [
"string"
],
"tasks.result.items.page_content.secondary_topic.urls.url": "string",
"tasks.result.items.page_content.secondary_topic.urls.anchor_text": "string",
"tasks.result.items.page_content.secondary_topic.secondary_content": [
"string"
],
"tasks.result.items.page_content.ratings": [
"string"
],
"tasks.result.items.page_content.ratings.name": "string",
"tasks.result.items.page_content.ratings.rating_value": 1,
"tasks.result.items.page_content.ratings.max_rating_value": 1,
"tasks.result.items.page_content.ratings.rating_count": 1,
"tasks.result.items.page_content.ratings.relative_rating": 1,
"tasks.result.items.page_content.offers": [
"string"
],
"tasks.result.items.page_content.offers.name": "string",
"tasks.result.items.page_content.offers.price": 1,
"tasks.result.items.page_content.offers.price_currency": "string",
"tasks.result.items.page_content.offers.price_valid_until": 1,
"tasks.result.items.page_content.comments": [
"string"
],
"tasks.result.items.page_content.comments.rating": {},
"tasks.result.items.page_content.comments.name": "string",
"tasks.result.items.page_content.comments.rating_value": 1,
"tasks.result.items.page_content.comments.max_rating_value": 1,
"tasks.result.items.page_content.comments.rating_count": 1,
"tasks.result.items.page_content.comments.relative rating": 1,
"tasks.result.items.page_content.comments.title": "string",
"tasks.result.items.page_content.comments.publish_date": "string",
"tasks.result.items.page_content.comments.author": "string",
"tasks.result.items.page_content.comments.primary_content": [
"string"
],
"tasks.result.items.page_content.comments.primary_content.text": "string",
"tasks.result.items.page_content.comments.primary_content.url": "string",
"tasks.result.items.page_content.comments.primary_content.urls": [
"string"
],
"tasks.result.items.page_content.contacts": {},
"tasks.result.items.page_content.contacts.telephones": [
"string"
],
"tasks.result.items.page_content.contacts.emails": [
"string"
],
"tasks.result.items.page_as_markdown": "string"
}