POST /v1/data/web/extract/run
Pricing: $0.01 per page ($10.00 per 1,000).
Ways to call it
- By field names: set
fields - By JSON Schema: set
schema
Request
Send the inputs underparams. Only the keys below are accepted; any other key returns 422 invalid_params.
A JSON Schema object (type object with properties) describing the data to extract. Every property needs a type, and every array needs items.
Example
Response fields
Each row indata is one page, keyed by these fields.
Example response
Abridged: long text and lists are shortened.Related APIs
For the full page as Markdown useweb/scrape; for many pages of a site use web/crawl.