v1

latestOpenAPI 3.1.0MIT2026-08-0652106151.4 KB
meta

Get states by country

Get states by country (public endpoint, no authentication required)

get/meta/state/{isoCode}

Path parameters

isoCodestring required
Example:US

Country ISO code (ISO 3166-1 alpha-2 format). Valid values are 2-letter uppercase country codes (e.g., US, GB, DE). Use GET /meta/countries to retrieve all valid codes.

Response

States selected

namestring
iso_codestring
country_codestring
typeinteger nullable

Example response

[
  {
    "name": "Alabama",
    "iso_code": "AL",
    "country_code": "US",
    "type": null
  },
  {
    "name": "Alaska",
    "iso_code": "AK",
    "country_code": "US",
    "type": null
  },
  {
    "name": "American Samoa",
    "iso_code": "AS",
    "country_code": "US",
    "type": null
  }
]