Skip to main content
Returns the distinct eventName values for a sport’s upcoming games, so you can offer an event filter. This returns event name strings only — to get game id values for the orderbook, use Get active game IDs. Only games starting within the next 30 days (from now) are considered. The list is the deduplicated set of those games’ event names; when at least one is found, the sentinel "all" is prepended so you can offer an “all events” choice.

Request

POST https://api.4cx.io/exchange/getEvents POST
Headers: Authorization, Content-Type: application/json sport is required.
Notes
  • availableEvents is empty ([]) when there are no upcoming games for the sport in the 30-day window — in that case "all" is not included.
  • sport: "fighting" always returns an empty availableEvents array; events are not surfaced for that sport.