For UK recruitment, onboarding & compliance teams

Right to work & identity
document extraction API

Document Parser turns right-to-work and identity documents — passports, driving licences, share codes, proof of address — into clean, validated JSON. One async, pay-per-document API that feeds the data straight into your recruitment and onboarding workflow.

Specimen · Passport202 ACCEPTED
POST /api/v2/passport
Authorization: Bearer dp_live_••••
→ delivered to your webhook
{
  "request_id": "req_9f2a7c",
  "document_type": "passport",
  "status": "completed",
  "data": {
    "surname": "LOVELACE",
    "given_names": "ADA",
    "nationality": "GBR",
    "expiry_date": "2031-04-18"
  },
  "alerts": []
}
10+
Document types + custom
Async
Webhook API
JSON
Structured & validated
Built-in
Verification

Built for right to work and onboarding

01

Async webhook API

POST a document and get a 202 back immediately. We extract the data in the background and deliver structured JSON to your webhook — no long-held connections, no polling.

02

Validation & verification

Every extraction is validated. Severity-graded alerts flag expired documents, mismatched names and missing fields before they reach your onboarding workflow.

03

Pay per document

No seats, no subscriptions, no tiers to negotiate. Integrate once and pay only for the documents you actually extract.

04

One JSON contract

Passports, driving licences, share codes and proof of address all return the same predictable shape. Integrate once, and new document types slot into the same contract.

The identity and right to work documents we extract

Available now

Passport
MRZ, identity & expiry
Driving licence
Identity & entitlements
National Insurance
NINO verification
Share code
Right-to-work data
Proof of address
Name & address match
CV / résumé
Skills & work history
CV match
Candidate-to-role fit
Bank statement
Transactions & balances

+ custom templates for anything else

If your business handles a structured document, we'll build a template for it — then we extract it through the same async API and return the same JSON contract.

Working on the generic side? See the AI document extraction API for structured JSON from any document.

How custom templates work

01Describe your document
02We build the template
03You extract it via the API

Examples of what we can template

Immigration status (visa / BRP / settlement)Qualification & training certificatesEmployer referencesInvoicesReceiptsPurchase ordersInsurance certificatesContracts & agreementsV5C / MOT

How the async webhook extraction works

01

POST a document

Send a file or URL to the endpoint for your document type, with your API key. We respond 202 Accepted and a request id.

02

We parse & validate

Your document is queued, parsed and run through verification before anything is returned.

03

JSON to your webhook

Structured, validated JSON arrives at your webhook — extracted fields and any verification alerts, ready to use.

Frequently asked questions

What is Document Parser?
Document Parser is a document extraction API for UK right-to-work and identity documents. It turns passports, driving licences, share codes, proof of address and more into validated, structured JSON, so recruitment and onboarding teams get clean data without building their own extraction pipeline.
Which right to work and identity documents can it extract?
Document Parser extracts data from passports, driving licences, National Insurance documents, share codes and proof of address today, plus CVs and bank statements. For any other structured document, we build a custom template so it returns the same structured JSON.
Does Document Parser confirm someone’s right to work?
No. Document Parser is the extraction and data layer. It turns right-to-work and identity documents into validated, structured JSON for your team to use. Confirming a person’s right to work, and any identity checks that go with it, stay your process — we give you the clean data to feed it, not a regulated decision.
How does the Document Parser API return data?
Document Parser returns data asynchronously via webhook. You POST a document and receive a request id straight away; once extraction is complete, the structured JSON is delivered to your webhook. There are no long-held connections and no polling.
How is Document Parser priced?
Document Parser is priced per document, in GBP. You pay only for the documents you extract, with no seats, no subscriptions and no tiers.
Can you build a custom template for my document?
Yes. Share a sample of your document and we build a custom template that extracts the fields you need, returned through the same async API and the same JSON contract.

Start extracting document data

Create an account, get API credits, and turn your first document into structured JSON in minutes.