Skip to main content

Overview

Use Extract when you need one page transformed into application-ready data. A single request can combine modes, sharing the same page fetch: All result fields are present on every response. Modes you did not request are null.

Endpoint

POST /api/v2/extract

Quickstart: Structured Data

Request Parameters

HTTP requests use snake_case. The TypeScript SDK uses camelCase, for example jsonSchema, responseLanguage, and advancedProxy.

Response

The structured result field is structured_data in the API, Python SDK, and TypeScript SDK.

Combining Modes

JSON Schema Guidance

json_schema can be:
  • A formal JSON schema
  • An example object
  • A plain object where values describe expected types
  • A plain-text description
For reliable extraction:
  • Keep schemas focused.
  • Use arrays only when the page clearly contains lists.
  • Put normalization rules in instructions.
  • Use nullable expectations when fields may be missing.

Errors and Refunds

See Errors & Refunds for exact error codes and refund behavior.

More Examples

Extract Recipes

Products, lists, Q&A, and brand enrichment.

API Reference

Full request and response schema.