Skip to main content
Extract takes the fields you want as a JSON Schema in schema. The output of Pydantic’s model_json_schema() and zod’s toJSONSchema() works as it is, including enum, anyOf, nullable types and $ref with $defs. A field the page does not state comes back null. The same schema works in the json format of scrape. The call answers with an id. Read the result from GET /v1/extract/{id}.

Pydantic

zod

Limits

A schema takes up to 100 top-level fields and 32 KB. Extract costs 5 credits for most pages, and a call that finds none of the fields is free.