Skip to content
Developer Docs

State list​

GET
/location/v1/countries/{countryCode}/states

Lists the states of a country. The returned code is the value expected by the city and postal
code endpoints.

Autorizaciones​

OAuth2

OAuth2 security scheme

clientCredentials Flow
URL del token"/idp/oauth2/token"
Ámbitos:
  • "api"Access to the API

Parámetros​

Path Parameters

countryCode*

ISO 3166 alpha-2 country code.

Tipo
string
Requerido
Ejemplo"ES"

Respuestas​

List of states

application/json
JSON
{
  
"states": [
  
  
{
  
  
  
"code": "ES-AS",
  
  
  
"name": "Asturias"
  
  
}
  
]
}

Playground​

Servidor
Autorización
Variables
Key
Value

Ejemplos​