Skip to main content
GET
List a country's cities

Authorizations

Authorization
string
header
required

An API key from the Account tab, sent as Authorization: Bearer agl_live_.... Keys are secret; store them server-side.

Path Parameters

code
string
required

ISO 3166-1 alpha-2 country code (case-insensitive).

Example:

"US"

Response

The country and its cities.

country
object
required
cities
string[]
required