Extract
The Extract API fetches any webpage or PDF and parses it into clean Markdown or HTML. Use it after a Web Search API call, when your agent needs the full document, such as a filing, a contract, or a research paper, instead of a highlight.
PDF tables come back as Markdown or HTML tables with rows and columns intact. Set parse_effort=standard to also send complex PDF pages, such as charts and images, through an advanced model for the most complete output.
Authentication
A unique API Key is required to authorize API access. Get your API Key with free credits.
Request
Indicates where full_page content comes from.
blend serves cached content when it is available and crawls the page live when it is not. This is the default.
cache returns cached content only. It is the fastest option, and contents is omitted for results that have no cached content.
fetch always crawls the page live, which returns the freshest content at the cost of higher latency.
How much effort to spend parsing PDF pages. Has no effect on web pages.
lite extracts the content embedded in each page. Use it for digitally created PDFs when you want the lowest cost.
standard also sends complex pages, such as charts and images, through an advanced model, and is billed per page. Use it when you want the most complete output.
For example, lite works well on a text-based contract, while an earnings report with revenue charts returns more complete content under standard.
Response
Where the request allowed content to come from. blend serves cached content when it is available and crawls the page live when it is not.