Skip to main content

Overview

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.

Machine-Readable Documentation

We provide documentation in formats optimized for AI coding tools:

Documentation Index

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.txt Size: ~500 tokens

Complete Documentation

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.txt Size: ~2.5k tokens

OpenAPI Specification

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.json Size: ~22k tokens

MCP Server

For AI tools that support the Model Context Protocol, our MCP server provides direct API access. See setup instructions below.

Quick Start: Copy-Paste Context

Copy this context block and paste it into your AI tool for instant API knowledge:

Setup by Tool

Claude (chat.anthropic.com)

  1. Start a new conversation
  2. Paste the context block above, or
  3. Ask Claude to fetch the full documentation:

MCP Server

The Model Context Protocol (MCP) server provides direct API integration for AI tools, allowing them to fetch live data from your Odds-API.io account.

Features

  • 12 API tools - Get sports, bookmakers, events, odds, value bets, and arbitrage opportunities
  • Documentation resources - Access full docs and OpenAPI spec directly
  • Real-time data - Fetch live odds and events

Setup

Available Tools

Example Prompts

Here are some example prompts to get you started:

Building an Odds Comparison App

Creating a Value Bet Finder

Real-Time Odds Tracker

Resources

API Reference

Complete API documentation with all endpoints and parameters.

Quickstart Guide

Get up and running with your first API call.

Best Practices

Optimize your API usage for performance and cost.

Code Examples

Ready-to-use code examples for common use cases.