Get Events
Changed onFetches events (groups of related markets) with optional filtering by event_slug, tags/categories and status. Events aggregate multiple markets under a single topic (e.g., 'Presidential Election 2024' contains multiple candidate markets). Returns events ordered by total volume (most popular first).
Example Request (single event by slug):
curl 'https://api.domeapi.io/v1/polymarket/events?event_slug=presidential-election-winner-2024&include_markets=true'
Example Request (filter by tags):
curl 'https://api.domeapi.io/v1/polymarket/events?tags=sports&status=open&limit=10'
Example Request (with markets included):
curl 'https://api.domeapi.io/v1/polymarket/events?include_markets=true&limit=5'
Request
- Base URLhttps://api.domeapi.io/v1
- Authnone declared
Query parameters
Filter by specific event slug. When provided, returns a single hydrated event matching that slug (e.g., 'presidential-election-winner-2024'). Use with include_markets=true to get the full event with all its markets.
Filter events by tag(s)/category. Can provide multiple values (e.g., sports, crypto, politics).
[ "sports", "football" ]
Filter events by status. An event is 'open' if any of its markets are still open, 'closed' if all markets are closed.
Set to 'true' to include the list of markets for each event in the response.
Filter events starting after this Unix timestamp (seconds)
Filter events starting before this Unix timestamp (seconds)
Filter events by game start time (Unix timestamp in seconds). Useful for filtering sports events by when the game starts.
Number of events to return (1-100). Default: 10.
Pagination key for cursor-based pagination. Use the value from the previous response's pagination.pagination_key field to get the next page of results. Do not use the deprecated 'offset' parameter.
Response
Events response with pagination
Example response
{
"events": [
{
"event_slug": "presidential-election-winner-2024",
"title": "Presidential Election Winner 2024",
"subtitle": "Who will win the 2024 US Presidential Election?",
"status": "closed",
"start_time": 1704067200,
"end_time": 1730851200,
"volume_fiat_amount": 3686335059.29,
"settlement_sources": "Associated Press",
"image": "https://polymarket.com/images/election-2024.png",
"tags": [
"politics",
"elections"
],
"market_count": 17,
"markets": [
{
"market_slug": "will-trump-win-2024",
"title": "Will Trump win the 2024 election?",
"condition_id": "0x1234...",
"status": "closed",
"volume_total": 1500000000
}
]
}
],
"pagination": {
"limit": 10,
"has_more": true,
"pagination_key": "eyJsYXN0Vm9sdW1lIjoxNzEyMTMyNjYzLjk2MTYwNjMsImxhc3RFdmVudFNsdWciOiJuYmEtY2hhbXBpb24tMjAyNC0yMDI1In0="
}
}Changes
- info
api operation id
getEventswas added - info
added the new optional
queryrequest parameterend_time - info
added the new optional
queryrequest parameterevent_slug - info
added the new optional
queryrequest parametergame_start_time - info
added the new optional
queryrequest parameterinclude_markets - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameterpagination_key - info
added the new optional
queryrequest parameterstart_time - info
added the new optional
queryrequest parameterstatus - info
added the new optional
queryrequest parametertags - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- info