OpticOdds Reference API

Sports, leagues, sportsbooks, market types.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/opticodds-reference-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

opticodds-reference-api-openapi.yml Raw ↑
openapi: 3.1.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:
  parameters:
    SportParam:
      name: sport
      in: query
      required: false
      schema:
        type: string
      description: Sport slug (e.g. `basketball`).
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    Collection:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
  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