Skip to content
Developer Docs

City list​

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

Lists the cities of a state. The returned code is the value expected by the postal code endpoint.

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"
stateCode*

State code, as returned by the state list endpoint.

Tipo
string
Requerido
Ejemplo"ES-AS"

Respuestas​

List of cities

application/json
JSON
{
  
"cities": [
  
  
{
  
  
  
"code": "ES-AS-OV",
  
  
  
"name": "Oviedo"
  
  
}
  
]
}

Playground​

Servidor
Autorización
Variables
Key
Value

Ejemplos​