Skip to main content
Use our official SDKs to integrate Odds-API.io into your project in minutes. Each SDK wraps the full REST API with type safety, error handling, and built-in best practices.

Official SDKs

Python SDK

Full-featured Python client with sync and async support. Available on PyPI.

Node.js SDK

TypeScript-first SDK with full type definitions. Works with ESM and CommonJS.

MCP Server

Model Context Protocol server for AI tools like Claude, Cursor, and VS Code.

Python

Install the SDK:

Quick Start

Async Support

Find Value Bets

View on GitHub

Full documentation, examples, and API reference.

Node.js / TypeScript

Install the SDK:

Quick Start (TypeScript)

Quick Start (JavaScript)

Find Arbitrage Opportunities

View on GitHub

Full documentation, examples, and API reference.

MCP Server (AI Tools)

Use Odds-API.io directly from AI coding tools like Claude, Cursor, and VS Code. The MCP server page has setup for every client, example prompts and all 25 tools.

Claude Code CLI

Claude Desktop

Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):

Cursor

Add to your MCP settings:
Once configured, ask your AI assistant things like:
  • “Get me upcoming Premier League matches with odds”
  • “Find value bets from Bet365”
  • “Show arbitrage opportunities”

View on GitHub

Installation guide and available tools.

Error Handling

All SDKs include custom error classes for clean error handling:

WebSocket + SDK

Combine REST SDKs with WebSocket for a complete solution. Pre-fetch all odds via REST, then switch to WebSocket for real-time updates:
See the full WebSocket + prefetch examples in the Python SDK and Node.js SDK repos.

All Repositories

Need an SDK in another language? Let us know at hello@odds-api.io