Extract API for Webpages and PDFs
The Extract API fetches any webpage or PDF and parses it into clean Markdown or HTML with POST https://ydc-index.io/v1/extract. PDF tables come back with their rows and columns intact, and parse_effort picks lite for text-based PDFs or standard (the default) to also send charts and images through an advanced model.
extraction_sourcechoosesblend(the default),cache, orfetchper request.timeoutcaps the whole request at 2–100 seconds (default 30).- Errors return a stable
codeand aretryableflag. - Pricing is $0.90 per 1,000 URLs. For PDF URLs,
parse_effort: "standard"(the default) adds an additional $0.50 per 1,000 pages in the PDF, whileliteadds no page charge.
The Extract API replaces the Contents API. POST /v1/contents still works and existing integrations keep running, but it will not receive new features. The Extract API Overview has a parameter-by-parameter migration table.