Skip to main content

GET /api/v1/structured-data

Returns the JSON-LD schemas for a specific page in your project.

Endpoint

Parameters

Pathname is normalized automatically: leading / is added if missing, trailing / is stripped (except for root /).

Request

Response

200 OK
schemas is an array of JSON-LD objects. It may be empty ([]) if no schemas have been generated for this page yet. Global schemas (e.g. Organization, WebSite) are merged into every non-homepage response automatically.

Error responses

All errors return {"error": "description"}.

402 — budget exhausted

429 — rate limit

Caching

Responses are cached at the CDN layer for 24 hours. Schemas are purged by tag when you update them in the dashboard.

CORS

The endpoint is open to cross-origin requests. An OPTIONS preflight returns 204.

On-demand monitoring

When On-demand monitoring is enabled for a project and a requested page isn’t in the database yet, the API crawls and enriches that page synchronously before responding.
  • Budget check runs first (402 if exhausted)
  • Rate limit: 50 on-demand scans per org per hour (429 if exceeded)
  • Each on-demand request counts as a billable scan, including requests where the page fetch fails
  • If the page can’t be fetched (network error, 4xx/5xx from origin): returns 404 with a note that the scan attempt was recorded