Create an API key
Sign in to your dashboard, open the API Keys page, or click on “Get API Key”, and create a new key. It’s shown once at creation, so copy it somewhere safe.All keys start with
sk-pr- and authenticate via a bearer token:Make sure you have credits
Parsing costs 1 credit per page, and you’re only charged for documents that parse successfully. Check your balance on the dashboard and top up from the Billing page if needed.
The response
A successful parse returns the page count, the full document as Markdown, and a flat list of structured content blocks in reading order:markdown when you want the whole document as text (for example, to feed an LLM), or content_list when you need structure, block types, and reading order.
Large documents take time. Pages are parsed by the model, so a multi-page document can take from seconds to a few minutes. Set a generous client timeout (the examples above use 600s). Documents are capped at 50 pages each.
What’s next
API Reference
Every parameter and the full response schema.
Errors
The status codes ParseRouter returns and how to handle them.