Location API
List locations
Retrieve a list of locations filtered by type (e.g., Country, City).
Query Parameters
type?string
Filter by location type (e.g., Country, City, AdministrativeArea).
page?integer
Page number for pagination.
Default
1Range
1 <= valuesize?integer
Number of items per page. Max 100.
Default
20Range
1 <= value <= 100Response Body
application/json
curl -X GET "https://globaleventbase.com/api/locations"{
"page": 0,
"size": 0,
"total": 0,
"items": [
{
"id": "string",
"type": "string",
"identifier": "string",
"iso2": "string",
"raw_payload": {}
}
]
}