Documentation

All Cities

Country Data API provides detailed information about +200 different countries

HTTP GET

https://api.countrydataapi.com/v1/cities/all

Returns a list of all cities

Every 5 cities returned will consume 1 token

Query Params


Parameter Type Description
apikey required, token Account authentication key
lang optional, lang en (default). Expected language of the response
limit optional, number 100 (default). Maximum number of cities to be returned

Response Example

[
    {
      id:"d54ba796-1136-4776-9776-537fd5a857c9",
      lang: "en",
      city_name: "Bala Morghab"
    }
  ]