Skip to main content
GET
/
cities
List cities
curl --request GET \
  --url https://api.ceibo.me/v1/cities \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": 1,
      "name": "Buenos Aires",
      "countryId": 10,
      "location": {
        "latitude": -34.603722,
        "longitude": -58.381592
      },
      "zoom": 12,
      "isCapital": true,
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Capital and largest city of Argentina",
      "imageUrl": "https://cdn.ceibo.me/cities/buenos-aires.jpg",
      "timezone": "America/Argentina/Buenos_Aires"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total": 195,
    "totalPages": 10
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.ceibo.me/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key minted at developer.ceibo.me. Send on every request.

Query Parameters

countryId
integer

Free-text match against the city name.

page
integer
default:1
Required range: x >= 1
limit
integer
default:20
Required range: 1 <= x <= 100

Response

Paginated list of cities.

data
object[]
required
meta
object
required