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 | Description |
|---|---|---|
| url | String | 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 | Description |
|---|---|---|
| url | String | The URL associated with the response. |
| summary | Object | Summary information for the check. Includes types_checked (String Array), eligible_count (Integer), and total_types_checked (Integer). |
| summary.types_checked | String Array | Types that were checked. |
| summary.eligible_count | Integer | Count of eligible types. |
| summary.total_types_checked | Integer | Total number of types checked. |
| eligible | Object Array | 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 | Rich result type. |
| eligible[].status | String | Status for the eligible type. |
| eligible[].fields_missing | String Array | Fields that are missing. |
| eligible[].fields_present | String Array | Fields that are present. |
| eligible[].fields_recommended | String Array | Fields that are recommended. |
| source_url | String | Source URL returned in the response. |
| not_eligible | Object Array | 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 | Rich result type. |
| not_eligible[].status | String | Status for the not eligible type. |
| not_eligible[].fields_missing | String Array | Fields that are missing. |
| not_eligible[].fields_present | String Array | Fields that are present. |
| not_eligible[].fields_recommended | String Array | Fields that are recommended. |


