Send a photo of a Congolese passport and get structured data back in the same HTTP
response — the machine-readable zone parsed, the ICAO 9303 check digits verified and the
visual fields extracted. No SDK to install, no queue to poll.
A Congo passport follows the ICAO 9303 standard: a two-line, 44-character
machine-readable zone (format TD3) printed at the foot of the data page,
above the human-readable visual inspection zone. Its first five characters are P<COG — the document code, then the issuing state as the ISO
3166-1 alpha-3 code COG. The API reads both zones,
cross-checks the MRZ check digits, and returns one response shape with every key present.
Congo is CG in an alpha-2 list and COG in the zone, and no amount of appending gets from one to the other — CG is not even a prefix of COG. A store holding the two-letter code needs the ISO 3166-1 table to reach the three-letter one the machine-readable zone actually prints.
Machine-readable zones issued by Congo
9303 defines three zone layouts, and the API reads all three. Below is one invented holder
— she is nobody, and paradeigma is the Greek word for example — in each
layout, with COG as the issuing state. Every check digit is
computed from the characters beside it rather than typed in, so each zone here validates.
TD3 — Congo passport
2 lines of 44. Nationality COG. Issuing state and nationality are both COG: a passport certifies the nationality of the state that issued it.
2 lines of 36. Nationality GRC. Issued by COG to a GRC national, so the two codes differ. The name has 31 characters here instead of the passport's 39.
TD1 — Identity card or residence permit issued by Congo
3 lines of 30. Nationality GRC. Three lines of 30, with the name on a line of its own. The document code is ID — 9303 part 5 fixes the first character as A, C or I and leaves the second to the issuing state.
No check digit covers the issuing state: on all three layouts the arithmetic runs over the
document number, the dates and the optional data, never over the three characters that say
who issued the document. A zone whose digits all pass has not proved it came from
Congo — the visual zone and the document's own security features do that.
Paste an MRZ into the MRZ checker to validate its check digits, or build one with the MRZ generator.
Fields you get back
Every recognised Congolese passport returns the same structured fields. A value
that could not be read is null, never a missing key.
Run this against the public sandbox — no registration, real recognition, free for a
limited number of documents and 10 requests per hour per IP. Swap the sandbox key for
your own live key to keep recognising Congolese passports.
The zone is Latin transliteration; the visual zone is not. Which reading carries the original script, and how a language identifier resolves to a language.