Stop asking people to type passport data.
Every field someone types by hand from a passport or ID is a chance for a typo — and a few seconds you didn't need to spend.
- ⌨️ Employee types name
- ⌨️ Types document number
- ⌨️ Types date of birth
- ⌨️ Checks the expiry date
- ❌ Errors and wasted time
- 📷 Passport is scanned
- Misfora OCR API
- ✓ Name, document number
- ✓ Date of birth, expiry date
- ✓ Nationality, document type
- Straight into your application
Built for software that works with identity documents.
Any application that repeatedly asks someone to read a passport or ID card can use the same API instead of building and maintaining its own OCR pipeline.
Hotel PMS & guest management
Automatically extract guest name, document number, date of birth, and nationality from a passport or ID card instead of making staff type it in at check-in.
Car rental software
Scan a customer's passport or ID and use the structured result to fill their profile and rental agreement — less typing, fewer mistakes.
Healthcare & patient intake
Capture patient identity information from a passport or ID card and pass it directly into your system.
Travel & immigration software
Automatically read passport information from an uploaded photo instead of manual data entry.
KYC & identity platforms
Use document OCR and MRZ validation as one step in your onboarding or identity-verification workflow.
Any business software
If your application collects identity-document information at all, the same API can replace the manual step.
Custom integrations & solutions. We can connect Misfora to your PMS, CRM, ERP or other business software — including systems we don't support out of the box.
From document photo to usable data.
Upload
Your application sends a passport or ID photo to the API.
Recognition
Misfora detects the document and reads its machine-readable zone (MRZ).
Validation
Every field is checked — MRZ check digits against the ICAO 9303 standard, plus allowed-value dictionaries for country and gender codes.
Structured result
Your application receives clean, structured JSON with the extracted fields.
Your workflow
Store it, create a customer profile, update your PMS, start KYC, generate a rental agreement — whatever your application needs.
Misfora handles document recognition. Your software decides what to do with the data.
One API. One response. No OCR infrastructure to maintain.
Don't just extract. Check the result.
Extraction alone tells you what a document says. Validation tells you whether to trust it.
Every field ships with a pass/fail check — plus a single review_recommended flag when something's worth a second look.
Passport & ID card OCR.
ICAO TD3 — 2-line MRZ.
ICAO TD1 — 3-line MRZ.
No document-type parameter required — Misfora determines whether the document is a passport or ID card automatically.
Corrects rotation and perspective automatically — a safety net for sideways or upside-down photos.
Have the image? OCR API. Need the camera too? Web Scanner SDK.
If your application already captures or uploads document images, send them straight to the API. If you don't want to build browser camera capture yourself, the Web Scanner SDK adds it on top — with the same recognition behind it.
For applications that already have their own camera, upload or document-capture flow — or process documents on a server.
For web applications that need a ready-made browser capture experience: document detection, quality checks and auto-capture before recognition.
Your existing API integration doesn't need the SDK. Explore the Web Scanner SDK →
Your documents are not stored.
Uploaded document images exist only for the duration of the API request and are discarded once processing finishes — nothing is written to a database or cloud storage. The extracted identity fields (name, document number, date of birth) aren't retained after the response is returned either.
Your images and extracted data are not used to train or fine-tune any OCR model.
Evaluating Misfora for a KYC or compliance workflow? See exactly what limited usage metadata we keep for billing in the Security section of the docs.
One request in, one response out.
No job creation, polling, or webhooks — the same three snippets as the docs' Quick Start.
curl https://misfora.com/v1/scan \ -H "Authorization: Bearer msf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \ -F "file=@passport.jpg"
import requests
response = requests.post(
"https://misfora.com/v1/scan",
headers={"Authorization": "Bearer msf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},
files={"file": open("passport.jpg", "rb")},
)
response.raise_for_status()
print(response.json())const fs = require("fs");
const form = new FormData();
form.append("file", fs.readFileSync("passport.jpg"), "passport.jpg");
const res = await fetch("https://misfora.com/v1/scan", {
method: "POST",
headers: { Authorization: "Bearer msf_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" },
body: form,
});
console.log(await res.json());Full request/response reference, every field, and every error code: read the docs.
Standard access & Enterprise.
Limits sized to your use case, agreed when we set up your account — no fixed public tier to pick from.
Higher volume, a response schema mapped to your own systems if the default JSON shape doesn't fit your pipeline as-is, and — on request — a fully offline, on-premise recognition engine for environments that can't send documents to an external API.
Usage-based pricing.
Plans are based on monthly document processing volume.
Contact us for a quote.
Try it before you integrate.
Want to see it work first? Run a scan on our free public scanner — same OCR pipeline as the API, no signup required.
📷Try the Free ScannerQuestions
What is a passport OCR API?+
What can the API extract?+
What documents are supported?+
Can I integrate passport scanning into my PMS?+
Can I integrate Misfora with car rental software?+
Can I use Misfora for KYC?+
How fast is a typical response?+
Do you store uploaded documents?+
Does the API validate MRZ check digits?+
What's the difference between TD1 and TD3?+
type: "passport", TD1 → type: "id_card".Does the photo need to be perfectly aligned?+
Do you offer a browser document scanner?+
Do I need the Web Scanner SDK to use the API?+
/v1/scan directly. The SDK is only for applications that also want Misfora's browser camera capture.Do you offer enterprise plans?+
Ready to integrate?
Looking for guest registration automation? Learn about Misfora Hospitality →