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 POSTAuthorization, Content-Type: application/json
sport is required.
availableEventsis 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 emptyavailableEventsarray; events are not surfaced for that sport.
