The full parserkit REST API: 24 endpoints, Bearer keys, JSON in and out, files up to 100 MB. $0.02 a page, with 50 pages free from the $1 credit new accounts get.
API reference
All 24 endpoints and the fields of POST /v1/parse, from the live OpenAPI document. A key gets 600 requests a minute, and an Idempotency-Key replays the same job for 24 hours.
Updated
Base URL, keys and conventions
The API lives at https://api.parserkit.com, and signed file links for uploads and output downloads live on files.parserkit.com. Send your key as Authorization: Bearer pkit_live_.... Plain http:// is refused with 403 HTTPS_REQUIRED.
- Requests and answers are JSON with
snake_casefields, UTC ISO-8601 times and money as a JSON number in USD. - Ids carry a prefix:
job_,sch_,ibx_,pwd_,upl_orevt_. - Every answer carries a
Request-Idheader and errors repeat it asrequest_id; quote it when you report a problem. - Lists take
?limit=(1 to 100) and an opaquecursor, and answer{ items, next_cursor }withnext_cursornull on the last page. - CORS allows any origin with the
Authorization,Content-Type,Idempotency-KeyandPreferrequest headers.
The OpenAPI 3.1 spec at openapi.json and the text guide at llms.txt describe every endpoint below. See Custom schemas, Email inboxes, Webhooks and Errors and limits for more.
Endpoints
There are 24 endpoints in total: 22 on api.parserkit.com and 2 signed-link endpoints on files.parserkit.com, and 19 of them need a key.
| Endpoint | What it does | Key |
|---|---|---|
POST /v1/parse | Parse a document: one source, one target. | Yes |
GET /v1/jobs | List jobs, newest first. Filter by status or source. | Yes |
GET /v1/jobs/{id} | Get a job. ?wait= holds the answer up to 60 seconds. | Yes |
POST /v1/uploads | Get a signed link for a file up to 100 MB. | Yes |
PUT /u/{upload_id} on files.parserkit.com | Send the file to that signed link, once. | No |
GET /f/{key} on files.parserkit.com | Download an output file from the signed link in outputs. | No |
GET /v1/schemas | List saved schemas. | Yes |
POST /v1/schemas | Save a schema. See Custom schemas. | Yes |
POST /v1/schemas/from-sample | Propose a schema from a sample document. Bills 1 page. | Yes |
GET /v1/schemas/{id} | Get a saved schema. | Yes |
PATCH /v1/schemas/{id} | Change a schema. Send the version you read. | Yes |
DELETE /v1/schemas/{id} | Delete a schema. Jobs keep their results. | Yes |
GET /v1/inboxes | List inboxes. | Yes |
POST /v1/inboxes | Create an inbox. Pro. See Email inboxes. | Yes |
GET /v1/inboxes/{id} | Get an inbox. | Yes |
PATCH /v1/inboxes/{id} | Change, pause or rotate an inbox. Pro. | Yes |
DELETE /v1/inboxes/{id} | Delete an inbox. | Yes |
GET /v1/inboxes/{id}/events | The inbox's dropped mail of the last 30 days. | Yes |
GET /v1/vault/passwords | List saved PDF passwords, without the passwords. | Yes |
POST /v1/vault/passwords | Save a PDF password. Pro. | Yes |
DELETE /v1/vault/passwords/{id} | Delete a saved password. | Yes |
GET /health | Health check. | No |
GET /openapi.json | This API as an OpenAPI 3.1 document. | No |
GET /llms.txt | A plain-text guide to the API for LLMs and agents. | No |
POST /v1/parse
POST /v1/parse takes exactly one source (file, file_url or upload_id) and exactly one target (preset, schema_id or schema). Sending two targets answers 400 "send exactly one of preset, schema_id or schema". Send JSON or multipart form data. In multipart, pass objects and arrays as JSON strings and booleans as true or false. Unknown fields answer 400 INVALID_REQUEST.
| Field | Type | What it does |
|---|---|---|
file | multipart file | Source, up to 25 MB. |
file_url | string | Source, up to 100 MB. http or https on port 80 or 443, public hosts only, at most 3 redirects. |
upload_id | string | Source: an upl_... from /v1/uploads, up to 100 MB. Single use. |
file_name | string | The name recorded for a file_url source, 1 to 255 characters. |
preset | string | Target: invoice, receipt, bank_statement, resume, purchase_order, bill_of_lading or generic_table. |
schema_id | string | Target: a saved schema of this account. |
schema | object | Target: an inline JSON Schema. See Custom schemas. |
field_rules | array | Rules that go with an inline schema. |
gl_accounts | array | Up to 500 { code, name, keywords?, description? }. Line items gain gl_code, gl_name and gl_confidence. |
password | string | Opens a password-protected PDF for this job only. Never stored or returned. |
vault | boolean | Try the account's saved passwords. Pro. Default false. |
enrich | boolean | Bank statements: merchant and category per transaction. Default false. |
retain_source | boolean | false deletes the input file once the job ends. Default true. |
webhook_url | string | https on port 443 or 8443. Defaults to the account's webhook URL. |
metadata | object | Up to 20 string pairs (keys up to 40 characters, values up to 500), echoed back in the job and its webhooks. |
Pass ?wait= (0 to 60 seconds, default 60) to hold the answer until the job finishes. You get 200 with the job, or 202 with Location and Retry-After when it is still running. Prefer: wait=N and Prefer: respond-async work too. An Idempotency-Key header (1 to 255 printable characters) replays the same job for 24 hours, and answers 409 IDEMPOTENCY_CONFLICT if reused on a different request.
Jobs
GET /v1/jobs lists jobs newest first, without their extracted data. Page with limit (1 to 100, default 20) and cursor, and filter by status (queued, running, succeeded, failed) or source (api, inbox, sample, workbench, mcp).
curl "https://api.parserkit.com/v1/jobs?limit=2" \
-H "Authorization: Bearer $PARSERKIT_API_KEY"request-id: a568fe297e133669
{
"items": [
{
"id": "job_739uhzzlu6mk9ux3n1df",
"status": "succeeded",
"preset": "bank_statement",
"pages": 2,
"cost_usd": 0,
"verification_status": "partial",
"created_at": "2026-11-07T02:43:50.417Z"
},
{
"id": "job_vv0wy0ptuetr17uu7uo7",
"status": "succeeded",
"preset": "receipt",
"pages": 1,
"cost_usd": 0,
"verification_status": "partial",
"created_at": "2026-11-07T02:42:48.085Z"
}
],
"next_cursor": "MjAyNi0xMS0wN1QwMjo0Mjo0OC4wODU1NzFafGpvYl92djB3eTBwdHVldHIxN3V1N3VvNw"
}Items are trimmed to a few fields. Pass next_cursor back as cursor for the next page.
GET /v1/jobs/{id} returns a single job. ?wait= works the same as on parse. Each read signs fresh output links.
Uploads
Use uploads for files over 25 MB or files with no public URL, up to 100 MB. POST /v1/uploads returns 201 with upload_id, method PUT, a signed url, max_bytes and expires_at. PUT the file to that url once within the hour with a Content-Length header, then pass upload_id to POST /v1/parse within 20 hours. You can have up to 100 open upload links per account.
curl https://api.parserkit.com/v1/uploads \
-H "Authorization: Bearer $PARSERKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file_name": "statement-2026-09.pdf", "bytes": 30640, "content_type": "application/pdf"}'
curl -T statement-2026-09.pdf "https://files.parserkit.com/u/upl_12g0p0thqlixuszm?exp=1794023553&max=30640&sig=..."
curl https://api.parserkit.com/v1/parse \
-H "Authorization: Bearer $PARSERKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"upload_id": "upl_12g0p0thqlixuszm", "preset": "bank_statement"}'request-id: a5690ae24dc7381c
{
"upload_id": "upl_12g0p0thqlixuszm",
"method": "PUT",
"url": "https://files.parserkit.com/u/upl_12g0p0thqlixuszm?exp=1794023553&max=30640&sig=...",
"max_bytes": 30640,
"expires_at": "2026-11-07T03:52:33.096Z"
}etag: "83d4cc25eb929915727262d9699b90de"
{
"upload_id": "upl_12g0p0thqlixuszm",
"bytes": 30640,
"sha256": "359f63abeb6d2df11a042a8b576242052d4e202317f7d176ce3c4322ed021306"
}request-id: a5690cb79b9e7dbe
{
"id": "job_mdcgyebtiaz4ppbh4nhm",
"status": "succeeded",
"preset": "bank_statement",
"file": {
"name": "statement-2026-09.pdf",
"bytes": 30640,
"kind": "pdf"
},
"pages": 2,
"cost_usd": 0,
"verification_status": "partial",
"duplicate": {
"job_id": "job_seif7mff5d7d4xgngj81",
"match_type": "exact"
}
}The parse response is trimmed. This statement was parsed on the account before, so the job is an exact duplicate and costs 0.
Try it on a sampleA second PUT to the same upload answers 409 UPLOAD_ALREADY_RECEIVED with upload_id, bytes and sha256. An expired link answers 410 UPLOAD_EXPIRED. In the example above, the statement had been parsed on the account before, so the job came back as an exact duplicate at cost_usd 0.
Password vault
The password vault stores passwords for protected PDFs, such as bank statements. Send POST /v1/vault/passwords with label (1 to 64 characters) and password (up to 512). The vault requires Pro and holds up to 100 passwords, answering 409 CONFLICT with limit past that. Passwords are encrypted with AES-256-GCM, bound to your account, and never leave the API.
curl https://api.parserkit.com/v1/vault/passwords \
-H "Authorization: Bearer $PARSERKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label": "Bank statements", "password": "docs-2026"}'From an account without Pro, this answers 403 PLAN_REQUIRED "upgrade to the Pro plan to use the password vault".
On Pro, the answer is 201 with these fields.
| Field | Type | What it holds |
|---|---|---|
id | string | The password's id, pwd_.... |
label | string | Your label, 1 to 64 characters. |
created_at | string | When it was saved, UTC ISO-8601. |
GET /v1/vault/passwords lists saved entries without the passwords, and DELETE /v1/vault/passwords/{id} answers { id, deleted: true }. Send vault: true on a parse to try your vault passwords; inbox jobs always try them. For a one-off file, send password instead: it opens the file for that job only and is never stored.
Questions
Is there an OpenAPI spec?
Yes. The OpenAPI 3.1 spec is at openapi.json, and a plain-text guide is at llms.txt.
How do I page through jobs?
Pass limit (1 to 100, default 20 for jobs) and send next_cursor back as cursor on the next request until next_cursor is null.
How many requests can I send?
You can send 600 API requests a minute per key, with 8 running jobs per key by default. See Errors and limits for details.
Can I retry a parse without paying twice?
Yes. Send the same Idempotency-Key within 24 hours to get the same job back. An exact duplicate of a file you already parsed on your account also comes back at cost_usd 0.
Can I call the API from a browser?
CORS allows any origin, but a key in browser code is visible to anyone who opens the page. Call the API from your server instead.
Your first $1 is free, 50 pages with every check and export.