Use AI tools like ChatGPT, Claude, Cursor, and VS Code Copilot to build with the Odds-API.io. Access AI-ready documentation, OpenAPI specs, and MCP server integration.
We provide AI-ready resources to help you build faster with AI coding assistants. Whether you’re using ChatGPT, Claude, Cursor, VS Code Copilot, or other AI tools, we have resources that give these tools the context they need to generate accurate, production-ready code.
A lightweight file listing all documentation pages with URLs and descriptions. AI tools can scan this to find relevant pages to fetch.URL:https://docs.odds-api.io/llms.txtSize: ~500 tokens
The entire API documentation compiled into a single text file. Best for AI tools with large context windows that can ingest everything at once.URL:https://docs.odds-api.io/llms-full.txtSize: ~2.5k tokens
Machine-readable API definition following the OpenAPI 3.0 standard. Contains all endpoints, parameters, request/response schemas, and examples.URL:https://docs.odds-api.io/api-reference/openapi.jsonSize: ~22k tokens
Copy this context block and paste it into your AI tool for instant API knowledge:
You are helping me build with the Odds-API.io sports betting odds API.API Base URL: https://api.odds-api.io/v3Authentication: API key as query parameter (?apiKey=YOUR_KEY)Key endpoints:- GET /sports - List sports (no auth)- GET /bookmakers - List bookmakers (no auth)- GET /events?sport={slug}&apiKey={key} - Get events- GET /odds?eventId={id}&bookmakers={list}&apiKey={key} - Get odds- GET /odds/multi?eventIds={ids}&bookmakers={list}&apiKey={key} - Batch odds (up to 10 events)- GET /value-bets?bookmaker={name}&apiKey={key} - Value betting opportunities- GET /arbitrage-bets?bookmakers={list}&apiKey={key} - Arbitrage opportunities- GET /dropping-odds?sport={slug}&apiKey={key} - Dropping odds from sharp bookmakers (paid plans only)For complete documentation, fetch: https://docs.odds-api.io/llms-full.txtFor OpenAPI spec: https://docs.odds-api.io/api-reference/openapi.json
Option 1: Project RulesCreate .cursor/rules.md in your project:
# Odds-API.io IntegrationThis project uses the Odds-API.io sports betting odds API.API Base URL: https://api.odds-api.io/v3Auth: API key as query parameter (?apiKey=YOUR_KEY)Documentation: https://docs.odds-api.io/llms-full.txtOpenAPI Spec: https://docs.odds-api.io/api-reference/openapi.jsonKey endpoints:- GET /sports - List sports (no auth)- GET /bookmakers - List bookmakers (no auth)- GET /events?sport={slug}&apiKey={key} - Get events- GET /odds?eventId={id}&bookmakers={list}&apiKey={key} - Get odds- GET /value-bets?bookmaker={name}&apiKey={key} - Value bets- GET /dropping-odds?sport={slug}&apiKey={key} - Dropping odds (paid plans only)
Option 2: MCP ServerSee the MCP Server section below for direct API integration.
Add context to your workspace by creating a .github/copilot-instructions.md file:
# Odds-API.io ContextThis project integrates with Odds-API.io for sports betting odds data.Base URL: https://api.odds-api.io/v3Authentication: API key as query parameterKey endpoints:- GET /sports - List available sports- GET /events?sport={slug}&apiKey={key} - Get events- GET /odds?eventId={id}&bookmakers={list}&apiKey={key} - Get odds- GET /dropping-odds?sport={slug}&apiKey={key} - Dropping odds (paid plans only)Full docs: https://docs.odds-api.io/llms-full.txt
# Odds-API.io ProjectThis project uses the Odds-API.io sports betting odds API.## API ReferenceBase URL: https://api.odds-api.io/v3Auth: API key as query parameter (?apiKey=YOUR_KEY)Full documentation: https://docs.odds-api.io/llms-full.txtOpenAPI spec: https://docs.odds-api.io/api-reference/openapi.json## Key Endpoints- GET /sports - List sports (no auth required)- GET /bookmakers - List bookmakers (no auth required)- GET /events?sport={slug}&apiKey={key} - Get events for a sport- GET /odds?eventId={id}&bookmakers={list}&apiKey={key} - Get odds- GET /value-bets?bookmaker={name}&apiKey={key} - Get value bets- GET /arbitrage-bets?bookmakers={list}&apiKey={key} - Get arbitrage opportunities- GET /dropping-odds?sport={slug}&apiKey={key} - Get dropping odds (paid plans only)## Environment VariablesODDS_API_KEY - Your API key from odds-api.io
Using the Odds-API.io API, help me build a React component that:1. Fetches upcoming Premier League matches2. Gets odds from Bet365, SingBet, and Unibet3. Displays a comparison table showing the best odds for each outcome
Help me build a Python script that:1. Fetches value bets from the Odds-API.io /value-bets endpoint2. Filters for bets with > 5% expected value3. Sends alerts to a Discord webhook when new value bets are found
Create a Node.js service that:1. Connects to the Odds-API.io WebSocket2. Tracks odds movements for specific events3. Stores historical data in a database4. Exposes an API endpoint for querying odds history