Find a country by ISO 3166-1 alpha-2, alpha-3, or numeric code
Look up a single country by any one of the three ISO 3166-1 codes: 2-letter (alpha-2), 3-letter (alpha-3), or 3-digit numeric. Exactly one query parameter must be provided. This is the canonical lookup when you have an ISO code from an external system (payment gateway, geolocation service, address parser) and need to resolve it to the country record.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.
403 on Community plan./v1/iso/country/convert — warming the cache via one endpoint serves the other for free. Numeric codes 4 and 004 resolve to the same cache slot.400.
US, IN, DE. Case-insensitive (auto-uppercased).USA, IND, DEU. Case-insensitive.004) and unpadded (4) forms. All-zero values are rejected./v1/countries/:id and other foreign-key references."US")."USA")."840"). null for entries without an assigned numeric code.