Translate a country code between ISO 3166-1 alpha-2, alpha-3, and numeric formats
Convert a country code between the three ISO 3166-1 formats in a single call:Documentation Index
Fetch the complete documentation index at: https://docs.countrystatecity.in/llms.txt
Use this file to discover all available pages before exploring further.
US ↔ USA)US ↔ 840)USA ↔ 840)403 on Community plan./v1/iso/country. A previous ?iso2=US lookup serves any ?from=iso2&value=US&to=... conversion without a fresh database hit. The target column is extracted after the cache read, so different to values reuse the same slot.Numeric inputs 4 and 004 resolve to the same cache slot.iso2, iso3, numeric.iso2, iso3, numeric. Must differ from from.from:from=iso2 → 2 letters (e.g. US)from=iso3 → 3 letters (e.g. USA)from=numeric → 1–3 digits, non-zero (e.g. 840 or 4)value you sent — useful for matching responses to requests when batching.to=numeric, returned zero-padded to 3 digits (e.g. "840").