PDF417 barcode (AAMVA)
We decode the PDF417 barcode on the back of US driver licenses and state IDs and compare every field with the printed front.
Constaia answers valid, invalid or review, with the reasons and the data on the document. Files are kept only when they need review.
Built by the team behind Add On Sport, the registration and licensing software used by Spanish sports federations. We have validated those documents every season for years.
Pick a fictitious sample or upload your own document and see the result in seconds. The full demo also shows the technical response and the code.
The demo doesn't keep the document: it's deleted as soon as the analysis ends.
Click "Analyze document" to see the verdict, the reasons and the extracted data.
See the full demoYour system doesn't have to interpret free text: it gets a clear answer and a list of reasons in your language.
It's the right type and meets every rule you set: not expired, in the right person's name, old enough and recent enough.
Right type · Not expired · 21 or olderIt's a different document or a key rule fails: expired, in someone else's name, missing a signature, or a pay stub whose totals don't add up.
Different document · Expired · Totals don't add upConfidence is low, the photo is poor or something looks off, such as a photo of a screen. It lands in your team's review queue.
Low confidence · Blurry photo · Possible screen photoRequest documents with a link, group them by person, decide unclear cases as a team and handle privacy requests without extra work.
Send a link or show a QR code. The person uploads their documents from their phone and you get the result for each one, without writing a line of code.
Your team decides the unclear cases
All the documents for one person or process, together
Your rules, saved and ready to reuse
Copies only for review, masked data and per-person deletion
Widget and publishable keys for your site or app
Volume, rejection reasons and turnaround times
Encryption, audit trail, CCPA terms and DPA
AI reads and classifies. Then fixed rules check everything that can be calculated: barcodes, check digits, dates and totals.
We decode the PDF417 barcode on the back of US driver licenses and state IDs and compare every field with the printed front.
The official 3-7-1 checksum on direct deposit forms, voided checks and bank letters.
123456780: 3·7·1 checksum mod 10 = 0
21 or older, or any minimum age, calculated from the date of birth on the date you choose.
birth_date 1988-07-04 → 38 ≥ 21
Not expired today or on the date you choose, and issued within the number of days you require.
expiry_date 2030-07-04 > 2026-09-29
Structure rules for SSNs, ITINs and EINs. A format check, not an IRS TIN match.
EIN 12-3456789: valid prefix and length
Gross pay, deductions, net pay and year-to-date amounts must add up. If they don't, the document is invalid.
gross 4,200.00 − 1,012.40 = net 3,187.60
Every copy of an ID you keep is a copy you have to protect. With Constaia you check the document and, by default, the file is deleted as soon as the analysis ends unless it needs review.
What we don't do: Constaia is not biometric identity verification and does not prove that a document is authentic. A matching barcode or valid check digits don't prove it either. We are not a consumer reporting agency and don't provide consumer reports under the FCRA. Driver license data is covered by the DPPA and state law, so use it only for a permitted purpose. Warnings are signals for you to decide on.
A simple API with libraries for JavaScript, PHP and Python, a free test mode and examples for your framework.
curl https://api.constaia.com/v1/analyze \
-H "Authorization: Bearer $CONSTAIA_API_KEY" \
-F "file=@us_driver_license_specimen.png" \
-F 'options={
"expect": "us_driver_license",
"checks": {
"not_expired": true,
"min_age_years": 21
},
"storage": "none"
}'167
Driver licenses and state IDs from all 50 states and DC, tax and payroll forms, bank statements, COIs and insurance cards, with their data and their checks. For anything else, you define the fields.
us_driver_licensepassportus_green_cardus_w9us_paystubus_acord_25Onboarding and Form I-9 prep, age checks, rentals, gig platforms, insurance, clinics and events: anywhere a document decides whether someone can go ahead.
150 free documents every month, monthly plans from $32 and top-ups from $11 whenever you need them. No long-term contract.
No. We check that the document is the type you expect, that its data is consistent (the PDF417 barcode matches the front, the dates make sense) and that it meets your rules. That doesn't prove authenticity: fake IDs with consistent data exist. We flag signals such as a possible photo of a screen or a possible edit. If you need identity verification with selfies and liveness checks, use a biometric identity verification provider.
By default, only the ones that need human review: they're kept encrypted until someone decides and deleted 24 hours later (configurable), or after 30 days if nobody decides. Everything else is deleted as soon as the analysis ends. You can also choose never to keep the file, to keep it for a few hours, until you delete it, or only as a redacted copy, and even not to keep the extracted data.
Our servers are in Spain (IONOS) and any data you choose to keep is stored in the European Union. By default, the AI analysis runs on Cloudflare Workers AI on its network, called only from our servers, without keeping documents or using them for training. If you need the analysis done only with European providers, you can turn on the sovereign profile. The full list of subprocessors is in the DPA. By default, files are stored only when they need review, and we never collect selfies or biometric data.
One credit per document of up to two pages (a driver license, front and back, counts as one). You get 150 free credits a month, plans from $32 a month with 1,000 credits, and top-ups from $11. We don't charge for analyses that fail on our side or for documents rejected for poor image quality.
Yes. Test mode is free and unlimited, so you can build your integration at your own pace, and this page has a live demo with 5 real analyses a day. The Free plan also includes 150 real documents every month.
It means something is unclear: low reading confidence or unusual signals. The document goes to your team's review queue, where someone approves or rejects it in one click, and your system is notified.
Yes. With verification links you send a link or a QR code, the person uploads their documents from their phone and you see the results in your dashboard.
Constaia can help you check the documents new hires present: document type, expiration and name match. It does not replace the employer's Form I-9 obligations, the physical or remote document examination the rules require, or E-Verify.
Driver license data is protected by the federal Driver's Privacy Protection Act and by state laws, so use it only for a permitted purpose. We act as your service provider: our DPA includes CCPA/CPRA service provider terms, and by default we keep the file only when it needs human review, deleting it once a decision is made. This is not legal advice.
Add On Dev Solutions S.L., the company behind Add On Sport, which builds registration and licensing software for sports organizations in Spain. Constaia grew out of validating those documents every day.
Create your free account and validate your first document in five minutes. No credit card required.