How Extract Works
The Extract API works on a Markdown string. That Markdown can come from any source: the Parse API, a third-party parser, a web scraper, or a hand-authored document. For the best results, use Markdown produced by the Parse API, which preserves the document’s reading order and structure and links each extraction back to its parse job. You pass the Markdown and a schema to the endpoint. The API returns the extracted values, per-field range grounding that points back into the source Markdown, and request metadata. To turn those ranges into visual locations (the blocks, page numbers, and bounding boxes each value came from), pass the results to the Ground API.Sample Request
Send the Markdown and a schema to the extract endpoint with a POST request. ReplaceYOUR_API_KEY with your API key and parse-output.md with the path to your Markdown file.
For the full request and response contract, see the API reference.