Skip to main content
Read a public web page and get back something a program can use: Markdown with the navigation and boilerplate stripped, or a typed object whose shape you define. Pages that build themselves in the browser are handled at effort: max. Both endpoints share the same page options.

Page as Markdown

POST /global/extract/markdown/v1

Page as JSON

POST /global/extract/json/v1 Describe the object you want with a JSON Schema and the fields are located on the page and returned under result, already typed. Describe each field: the description is what the field is matched on.
A page with no readable body returns 404 telling you which option to change. A json_schema that is not valid JSON Schema returns 400 naming the field. Fields the page does not carry come back absent or empty rather than invented. To produce values that are not on the page — a summary, a classification, a translation — use Generate instead.
Extract has a tighter quota than most endpoints: 60 requests per hour per organization. See Rate limits.

Full reference

Schemas, all response fields, and an interactive playground.