About this endpoint
What it does
Checks a webpage URL for rich-results eligibility and returns a structured report of the URL that was checked, a summary, and separate lists of eligible and not eligible rich result types.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | URL of the webpage to extract, audit, or validate content from (http/https only). |
Response
Returns a JSON object with url and source_url string fields, a summary object, and eligible and not_eligible arrays of objects. The summary includes types_checked as a string array, eligible_count as an integer, and total_types_checked as an integer.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | No | The URL associated with the response. |
| summary | Object | No | Summary information for the check.<br>Includes types_checked (String Array), eligible_count (Integer), and total_types_checked (Integer). |
| summary.types_checked | String Array | No | Types that were checked. |
| summary.eligible_count | Integer | No | Count of eligible types. |
| summary.total_types_checked | Integer | No | Total number of types checked. |
| eligible | Object Array | No | Eligible rich result types. Each item includes type (String), status (String), fields_missing (String Array), fields_present (String Array), and fields_recommended (String Array). |
| eligible[].type | String | No | Rich result type. |
| eligible[].status | String | No | Status for the eligible type. |
| eligible[].fields_missing | String Array | No | Fields that are missing. |
| eligible[].fields_present | String Array | No | Fields that are present. |
| eligible[].fields_recommended | String Array | No | Fields that are recommended. |
| source_url | String | No | Source URL returned in the response. |
| not_eligible | Object Array | No | Not eligible rich result types. Each item includes type (String), status (String), fields_missing (String Array), fields_present (String Array), and fields_recommended (String Array). |
| not_eligible[].type | String | No | Rich result type. |
| not_eligible[].status | String | No | Status for the not eligible type. |
| not_eligible[].fields_missing | String Array | No | Fields that are missing. |
| not_eligible[].fields_present | String Array | No | Fields that are present. |
| not_eligible[].fields_recommended | String Array | No | Fields that are recommended. |