All docs

post /v1/extract

Extract structured JSON with a schema or prompt

Request body

FieldTypeDescription
url * string uri (/^https?:///) Page URL to fetch (http or https).
schema object
prompt string (len≤4000)
wait_for integer (≥0 ≤60) Extra wait after page load, in seconds (0–60). Use for slow JS-heavy pages.
timeout integer (≥1 ≤60) Page load budget in seconds (1–60). Default is provider default.
max_age integer (≥0 ≤172800) Serve a cached copy only if it is younger than this many seconds; 0 forces a fresh fetch. Default uses the platform cache policy.
Full request schema
{
  "$ref": "#/components/schemas/ExtractRequest"
}

Responses

StatusDescriptionBody
200OKapplication/json — object