OpticOdds Reference API
Sports, leagues, sportsbooks, market types.
Sports, leagues, sportsbooks, market types.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/opticodds-reference-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OpticOdds Sports Betting Fixtures Reference API
description: 'OpticOdds offers real-time and historical sports betting data including
main-line odds, player props, alternate markets, injury data, schedules,
rankings, and scores. The API is REST-based and authenticated with an
API key passed either as the `X-Api-Key` header or `key` query
parameter.
'
version: 3.0.0
contact:
name: OpticOdds Developer
url: https://developer.opticodds.com
servers:
- url: https://api.opticodds.com/api/v3
description: OpticOdds API v3 base
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Reference
description: Sports, leagues, sportsbooks, market types.
paths:
/sports:
get:
tags:
- Reference
summary: List sports
description: Returns the catalogue of supported sports.
operationId: listSports
responses:
'200':
description: Sports collection.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
'401':
$ref: '#/components/responses/Unauthorized'
/sports/active:
get:
tags:
- Reference
summary: List currently active sports
operationId: listActiveSports
responses:
'200':
description: Active sports collection.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
/leagues:
get:
tags:
- Reference
summary: List leagues
operationId: listLeagues
parameters:
- $ref: '#/components/parameters/SportParam'
responses:
'200':
description: Leagues collection.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
/leagues/active:
get:
tags:
- Reference
summary: List active leagues
operationId: listActiveLeagues
responses:
'200':
description: Active leagues.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
/sportsbooks:
get:
tags:
- Reference
summary: List sportsbooks
operationId: listSportsbooks
responses:
'200':
description: Sportsbooks collection.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
/market-types:
get:
tags:
- Reference
summary: List market types
operationId: listMarketTypes
parameters:
- $ref: '#/components/parameters/SportParam'
responses:
'200':
description: Market type catalogue.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
/markets:
get:
tags:
- Reference
summary: List markets
operationId: listMarkets
responses:
'200':
description: Markets collection.
content:
application/json:
schema:
$ref: '#/components/schemas/Collection'
components:
schemas:
Collection:
type: object
properties:
data:
type: array
items:
type: object
additionalProperties: true
ErrorResponse:
type: object
properties:
error:
type: string
message:
type: string
responses:
Unauthorized:
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
parameters:
SportParam:
name: sport
in: query
required: false
schema:
type: string
description: Sport slug (e.g. `basketball`).
securitySchemes:
apiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: OpticOdds API key supplied in the X-Api-Key header.
apiKeyQuery:
type: apiKey
in: query
name: key
description: OpticOdds API key supplied via the `key` query parameter.
externalDocs:
description: OpticOdds API Reference
url: https://developer.opticodds.com