OnPage API Microdata
This endpoint is designed to validate structured JSON-LD data and Microdata.
Documentation Index
Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the task required field you can get this ID in the response of the Task POST endpoint example: "07131248-1535-0216-1000-17384017ad04"
resource URL required field you can get this URL in the response of the Pages endpoint example: https://dataforseo.com/apis
user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response
Response
Successful response
the current version of the API
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
general informational message you can find the full list of general informational messages here
execution time, seconds
total tasks cost, USD
the number of tasks in the tasks array
the number of tasks in the tasks array returned with an error
array of tasks
task identifier unique task identifier in our system in the UUID format
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
informational message of the task you can find the full list of general informational messages here
execution time, seconds
cost of the task, USD
number of elements in the result array
URL path
contains the same parameters that you specified in the POST request
array of results
status of the crawling session possible values: in_progress, finished
details of the crawling session
maximum number of pages to crawl indicates the max_crawl_pages limit you specified when setting a task
number of pages that are currently in the crawling queue
number of crawled pages
microdata validation test results
number of fatal microdata errors
number of serious microdata errors
number of microdata warnings
number of microdata information flags
number of items in the results array
items array
type of the item = ‘json_ld’
information related to microdata validation
parent microdata types for a full list of available types, please visit schema.org
microdata fields an array of objects containing data fields related to the certain microdata type
field name name of the data field
list of microdata sub-types
microdata value microdata value specified on a target web page
microdata validation test results sub-type microdata test results that contain detected errors and related messages
level of microdata error can take the following values: fatal, error, warning, info
message associated with an error message providing the details of the detected error
microdata fields an array of objects containing data fields related to the certain microdata type