Passport Sorted: passport & visa photo rules

v1.0.0
com.passportsorted/photo-rules Checked 4 days ago Published 26 days ago

Official passport and visa photo rules for 27 documents, with sources and check dates.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_photo_specs

List every passport, visa and ID photo spec we publish (including the US online passport renewal and DV lottery): id, country, document, size in mm and whether we make the photo (US$8.99 file; the check is free) or only check it.

ParameterTypeDescription
querystringOptional filter, e.g. 'visa' or 'japan'.

get_photo_spec

Official photo rules for one document: print size, pixels at 300 and 600 dpi, head height, background, glasses, expression, digital file limits, what editing the government forbids, and the official source URL with the date we checked it.

ParameterTypeDescription
country *stringCountry name or ISO code, e.g. 'United States', 'GB', 'Schengen'.
documentstringpassport, visa, e-visa, dv-lottery or passport-online (online renewal).

check_photo_requirements

Check a photo's measurements against a spec: aspect ratio, pixel limits, head height share and file size/format. Does not look at the image itself; for a full check use the free checker at page_url.

ParameterTypeDescription
height_px *integer
spec_id *stringSpec id from list_photo_specs, e.g. us-passport.
width_px *integer
file_formatjpg, png, heic...
file_kb
head_height_pxChin to crown in pixels.

list_products

List every product Passport Sorted sells: prices in US dollars and Kenyan shillings (Paystack charges in KES), what you get, and the page URL. Checking a photo is free. Other products are paid one-offs, not subscriptions.

get_product

Details and price for one product, including how it is delivered and the page to buy it.

ParameterTypeDescription
code *stringProduct code from list_products, e.g. 'credits-10', 'print-sheet', 'family-pack'.