List extractions
Returns your organization's most recent extractions (up to 100).
API key as a Bearer token: Authorization: Bearer docr_sk_…
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://app.docr.dev/api/v1/extractions"{
"extractions": [
{
"id": "6a382443304f240b189f228a",
"status": "pending",
"documentTypeName": "Invoice",
"detectedType": "string",
"processingMode": "highest_quality",
"confidence": 0.98,
"pagesProcessed": 1,
"modelUsed": "anthropic/claude-opus-4-8",
"outputJson": {
"documentType": "Invoice",
"fields": {
"vendorName": "Northwind Traders LLC",
"invoiceNumber": "INV-2026-00842",
"total": 729.61
},
"confidence": 0.1,
"pagesProcessed": 0
},
"error": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"error": "Invalid or revoked API key"
}{
"error": "IP 203.0.113.4 is not whitelisted"
}Retrieve an extraction
Previous Page
Render a screenshot
Render a web page (`url`) or a raw HTML string (`html`) to a PNG, JPEG, WebP image, or a PDF. Provide **exactly one** of `url` or `html`. By default the request is **synchronous**: dOCR renders the page and returns the finished screenshot record (with a hosted `url`) in the response. Set `async: true` to return immediately with a `pending` record and receive a [`screenshot.completed`](/docs/guides/webhooks) webhook when the render finishes. Each successful render costs **1 credit**. Cache hits and failed renders cost nothing. See the [Screenshots guide](/docs/guides/screenshots) for a full walkthrough of formats, devices, caching, and signed URLs.