Skip to content

List of cities in Colombia

GET
/api/v1/City

This endpoint returns the cities in colombia including general info like description, department, Surface city, etc...

Parameters

Query Parameters

sortBy

It can be sorted by any of the fields that have numerical, string, or date values (for example: Id, name, description, etc.).

Typestring
sortDirection

Possible values: 'asc' or 'desc'.

Typestring

Responses

Success

application/json
JSON
[
{
"id": 0,
"name": "string",
"description": "string",
"surface": 0,
"population": 0,
"postalCode": "string",
"departmentId": 0,
"department": "[Circular Reference]",
"touristAttractions": [
{
"id": 0,
"name": "string",
"description": "string",
"images": [
"string"
],
"latitude": "string",
"longitude": "string",
"cityId": 0,
"city": "[Circular Reference]"
}
],
"presidents": [
{
"id": 0,
"image": "string",
"name": "string",
"lastName": "string",
"startPeriodDate": "string",
"endPeriodDate": "string",
"politicalParty": "string",
"description": "string",
"cityId": 0,
"city": "[Circular Reference]"
}
],
"indigenousReservations": [
{
"id": 0,
"name": "string",
"code": "string",
"procedureType": "string",
"administrativeActType": "string",
"administrativeActNumber": 0,
"administrativeActDate": "string",
"nativeCommunityId": 0,
"nativeCommunity": {
"id": 0,
"name": "string",
"description": "string",
"languages": "string",
"images": [
"string"
],
"indigenousReservations": [
{
}
]
},
"deparmentId": 0,
"department": "[Circular Reference]",
"cityId": 0,
"city": "[Circular Reference]"
}
],
"airports": [
{
"id": 0,
"name": "string",
"iataCode": "string",
"oaciCode": "string",
"type": "string",
"deparmentId": 0,
"department": "[Circular Reference]",
"cityId": 0,
"city": "[Circular Reference]",
"latitude": 0,
"longitude": 0
}
],
"radios": [
{
"id": 0,
"name": "string",
"frequency": 0,
"band": "string",
"cityId": 0,
"city": "[Circular Reference]",
"url": "string",
"streamers": [
"string"
]
}
]
}
]

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

MIT License