This endpoint retrieves a combined list of events from your local database along with external events fetched from Ticketmaster. The results include both local events (with external: false
) and external events (with external: true
).
The API returns a JSON object with the following structure. Each event conforms to the IEvent
type:
{ "status": "success", "message": "Events fetched successfully", "data": { "docs": [ { "_id": "64ffa5...", "title": "Local Event Title", "location": { "city": "Toronto", "state": "ON", "country": "Canada" }, "date": "2025-06-10T00:00:00.000Z", "category": "Music", "external": false }, { "_id": "G5vzZ9...", "title": "External Concert", "location": { "city": "New York", "state": "NY", "country": "US" }, "date": "2025-06-12", "category": "Other", "external": true, "url": "https://www.ticketmaster.com/event/..." } ] } }
To fetch events with the keyword concert
in Toronto
from 2025-06-01
onward, send a request to:
GET https://geoevent.ca/api/events?search=concert&city=Toronto&dateFrom=2025-06-01&page=1&limit=30
This public API route is accessible without authentication.