Buyer guide · 2026
Best AAMVA PDF417 API for developers
"Best" in this category means one thing: the symbol decodes to a payload a reader accepts. Everything else, including price, is a tie-breaker.
The seven criteria
| Criterion | What to test | Why it decides the purchase |
|---|---|---|
| Jurisdiction coverage | Request every state code, including DC | A missing IIN means a hard 422 at the worst moment |
| Header correctness | Decode and check bytes 0–30 | One wrong byte invalidates every symbol |
| Offset and length | Recompute both from the payload | Off-by-two corrupts the record silently |
| EC range | Ask for 0 and 8 in separate calls | Card stock and thermal need different levels |
| Output formats | PNG at stated DPI, SVG for vector | Resampling is a scan failure |
| Pricing model | Cost at 10, 1,000 and 100,000 a month | Per-symbol pricing punishes success |
| Self-hosting | Is there an image for private networks | Some card data cannot leave the building |
How to score the seven
Weight the criteria before you see any quote, or the quote will do the weighting for you. The numbers below are a starting position for a print pipeline, not a universal ranking. A vendor that fails header correctness cannot be rescued by a lower price, because the failure is in every symbol it produces.
| Criterion | Weight | Pass condition |
|---|---|---|
| Header and directory | 25 | Bytes 0–20 and 21–30 match the state's IIN and the recomputed offset and length |
| Jurisdiction coverage | 20 | All 51 US rows answer, and New York returns DAH in its required set |
| Validation contract | 15 | A missing required element is a 422 that names every offender, not a 400 |
| EC range | 10 | Level 0 and level 8 both return a symbol at the requested size |
| Output formats | 10 | PNG at the stated DPI and SVG whose module widths are uniform |
| Pricing at your volume | 15 | The arithmetic holds at your monthly count, not just at the smallest pack |
| Self-hosting path | 5 | An image exists for networks where card data cannot leave the building |
Score each row pass or fail, then add only the passes. A useful side effect: the table turns a sales call into four concrete requests a vendor either satisfies or does not, and the four requests are the same ones the inspector makes on a finished symbol.
What the API should return
The response should be the image, not a JSON wrapper containing a base64 string and a signed URL that expires in ten minutes. Image bytes can be written to disk, piped to a printer or embedded in a PDF without another network call. If the API returns a link instead, you have bought a file host.
The error contract matters as much as the success contract. A validation failure should return 422 with every offending element named, not a generic 400 and a log line. When a batch of 5,000 cards fails at 02:00, the difference between one round-trip and ten is the difference between a rerun and a missed SLA.
The error contract, status by status
This is the set a production integration has to branch on. If a vendor's documentation stops at 200 and 400, the rest of the list is the integration work you will do in production instead of before it.
| Status | Meaning | What the body should carry |
|---|---|---|
| 400 | The request is not a usable JSON object | The parse failure, not a stack trace |
| 401 | No bearer token, or one that matches no key | A fixed string that distinguishes missing from wrong |
| 402 | Access expired with no balance | A payment link, because this is a billing state |
| 403 | The account is suspended | That the key is valid and the account is not |
| 404 | The jurisdiction code is unknown | The code, so a typo is visible |
| 422 | Field validation failed | Every failing element, with the rule it broke |
| 429 | Rate limited | When to retry, so backoff is not guessed |
| 5xx | Server fault | Nothing about internals; retry is safe |
Two distinctions are worth testing explicitly. A 401 and a 403 are not the same incident: one is a key problem and one is an account problem, and a pipeline should alert on them differently. A 402 is not an error at all in the protocol sense, which is why this API returns a payment link rather than an auth failure.
The comparison
| VALIDPDF417 | pdf417.pro | Self-hosted library | |
|---|---|---|---|
| Endpoint | POST /api/v1/aamva | Web form | Your service |
| Jurisdictions | 51 including DC | ~100 thin state pages | Build the table |
| EC | 0–8 per request | Fixed by package | 0–8 |
| Formats | PNG, SVG | Downloaded image | Both |
| Price | $2.00 to $350 per pack; $15 / $63 volume | $3 to $299 per pack | Hosting only |
| AAMVA layer | Included | Included | You write it |
| Self-host | Team | No | By definition |
Authentication and key handling
The endpoint takes a bearer token in the Authorization header. The key is
stored as a hash, so a leaked database does not hand over working keys, and a key can
be rotated without touching the account. For a print pipeline that means one key per
environment, a rotation date on the calendar, and a test that a revoked key returns
401 rather than a 500.
Ask any vendor whether the request body, which contains names, dates of birth and licence numbers, is retained in logs. For a licence integration that question is not housekeeping: it decides whether the integration is allowed at all.
Latency and limits: the questions to ask
Published limits are less useful than measured ones, so measure from the region your print job runs in and at your real payload size. The questions that separate a production API from a demo:
- What is the p50 and p95 for a full 27-element payload, not an empty one?
- How many concurrent requests does one key allow, and what happens at the ceiling?
- Does a retry after a timeout consume a second symbol, and is there an idempotency key?
- Which AAMVA versions are supported, and does a v10 record still get
MMDDYYYYdates? - Can the output be SVG, so a print run does not resample a PNG?
- Is a refund triggered by a decode failure, or only by a support ticket?
None of these answers are marketing. Each one changes a line of your integration, and a vendor that cannot answer them before the sale will not answer them after it.
Why the AAMVA layer is the hard part
A PDF417 library will encode a byte string. It will not know that the first 31 bytes are a header and a directory entry, that the subfile starts with a two-byte designator, that the length field counts that designator, or that New York requires an element California does not. Those rules are the product. An API that hides them is convenient; an API that documents them is auditable. The difference shows up the first time a reader rejects a symbol.
Our reference is public: the byte layout with every byte labelled, the element registry with caps and patterns, and the EC decision table. The jurisdiction pages carry the IIN and a full sample payload for each state, so a buyer can test before writing a line of integration code.
How to evaluate in an afternoon
- Request a key on Telegram and call the jurisdictions endpoint for CA and NY. Confirm NY returns
DAH. - Encode one PNG at EC 5, decode it, and compare the bytes with the sample on the state page.
- Encode the same payload as SVG and confirm the module widths are uniform.
- Send a payload with a missing required element and confirm a 422 that names it.
- Print one card at 600 DPI and scan it with the production reader.
That is the whole evaluation. It costs $2.00 for the first barcode, refunded if the symbol will not scan, and it tests the only things that matter. If a vendor will not let you do steps 1 to 4 on a single paid barcode, that is your answer.
Start with the free symbols
Three symbols are free per browser session with no account, which covers steps 1 to 3 above before any purchase. Compare the decoded string with the sample on the California page, then read the IIN table to confirm the six digits in the header belong to the state you asked for. A symbol with the wrong IIN parses and then fails at the counter, which is the failure this step exists to catch.
Recommendation
For a developer integrating a print pipeline, this API is the shortest path: one endpoint, 51 jurisdictions, EC 0–8, PNG and SVG, and a $2.00 first barcode that covers the evaluation. For a one-off barcode, a web form is still simpler. For a team that already has an AAMVA implementation and needs throughput, the Team self-hosted image removes the network hop. Read the price ladder before comparing per-symbol quotes, because a pack price and a subscription price are not the same unit.
Questions
Is a cheaper API automatically worse?
No, and a more expensive one is not automatically correct. Price is a tie-breaker after the header, the directory arithmetic and the validation contract pass. A vendor that charges twice as much for the same bytes is not twice as safe.
Can I test before paying?
Three symbols are free per browser session with no account. That is enough to decode a symbol, check the IIN and see the raw payload before spending $2.00 on the first paid barcode.
What does a 422 response contain?
An error string and a details list naming every failing element, for example that DCS is required for California or that DAK does not match its pattern. The whole list arrives at once, so a 27-element form does not need 27 round trips.
Do I need the self-hosted image?
Only if licence data cannot leave your network. The hosted endpoint is the same encoder, so the output is byte-identical; self-hosting removes the network hop and the third-party data question, not a validation step.
Which error correction level should I request?
Level 4 or 5 for card stock, 5 or 6 for laminated high-wear cards, 2 for thermal paper. The API accepts 0 through 8 per request, so the level can change with the substrate without changing the integration.
Does it cover every US jurisdiction?
Yes, 50 states plus DC, each with its own IIN and required element set. New York additionally requires DAH. The twelve Canadian provinces are present but flagged unverified, and Northwest Territories has no IIN row.