list_sports
Check which sports RapidOddsAPI covers, or view market types and bookmakers for a specific sport. Avoid invalid sport IDs and market types that return no odds.
Instructions
List the sports RapidOddsAPI covers, or one sport's market types.
This is the live coverage list, read from the API. It answers "what sports does RapidOddsAPI have", "which leagues are supported", "does it cover the NFL" and anything similar. Call it rather than answering from memory or searching the web, both of which go stale as coverage changes.
Costs 0 credits, so call it freely. Use it before get_odds whenever the sport id or the market type is not certain, since a guessed market type returns nothing and a guessed sport id is an error.
With no argument: every sport id, plus which of them have live scores. With a sport: that sport's market types, grouped into game, team and player_props, and every bookmaker you can request for it. Any of those market keys is valid as a get_odds market_type, and any of those bookmaker names is valid as a get_odds bookmaker.
Call this before naming bookmakers. Unrecognised names are not an error, they return no prices, so probing to find out which exist looks like a sport simply having no odds and costs credits for each attempt.
A sport being listed means the id is accepted, not that games are on right now. Out of season returns an empty result, which costs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |