Event API
List events
Retrieve a list of events filtered by country, category, and paginated options.
Query Parameters
country?string
ISO2 country code (e.g., US, CA, UK). Defaults to US.
Default
"US"category?string
Filter by event category (e.g., concert, sports, tech).
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/events"{
"page": 0,
"size": 0,
"total": 0,
"items": [
{
"id": "string",
"title": "string",
"description": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"location": {
"city": "string",
"country": "string",
"venue": "string",
"coordinates": {
"lat": 0,
"lng": 0
}
},
"categories": [
"string"
],
"raw_payload": {}
}
]
}