The odds api
Overview
SLUG: THE_ODDS_API
Description
The Odds API provides real-time sports betting odds data from various bookmakers worldwide, covering multiple sports and betting markets.
Authentication Details
API Key
Connecting to The odds api
Create an auth config
Use the dashboard to create an auth config for the The odds api toolkit. This allows you to connect multiple The odds api accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create The odds api Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [The odds api toolkit’s playground](https://app.composio.dev/app/The odds api)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
THE_ODDS_API_GET_EVENTS
Tool Name: Get Events
Description
Action Parameters
Action Response
THE_ODDS_API_GET_EVENT_ODDS
Tool Name: Get Event Odds
Description
Action Parameters
Action Response
THE_ODDS_API_GET_ODDS
Tool Name: Get Odds
Description
Action Parameters
Action Response
THE_ODDS_API_GET_PARTICIPANTS
Tool Name: Get Participants
Description
Action Parameters
Action Response
THE_ODDS_API_GET_SCORES
Tool Name: Get Scores
Description
Action Parameters
Action Response
THE_ODDS_API_GET_SPORTS
Tool Name: Get Sports
Description
Action Parameters
Action Response