get_event_odds

Pack: odds-api · Endpoint: https://gateway.pipeworx.io/odds-api/mcp

Odds for a single event — allows richer markets (player props, alt lines). Higher quota cost per call.

Parameters

NameTypeRequiredDescription
sport_keystringyes
event_idstringyes
regionsstringno
marketsstringnoIncludes player_props_* markets for some leagues
odds_formatstringno

Example call

Arguments

{
  "sport_key": "americanfootball_nfl",
  "event_id": "3735601"
}

curl

curl -X POST https://gateway.pipeworx.io/odds-api/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_event_odds","arguments":{"sport_key":"americanfootball_nfl","event_id":"3735601"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_event_odds', {
  "sport_key": "americanfootball_nfl",
  "event_id": "3735601"
});

More examples

{
  "sport_key": "basketball_nba",
  "event_id": "3735602",
  "markets": "player_props_pts",
  "regions": "us"
}

Response shape

FieldTypeDescription
idstringEvent ID
sport_keystringSport key
sport_titlestringSport title
commence_timestringEvent start time
home_teamstringHome team name
away_teamstringAway team name
bookmakersarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Event ID"
    },
    "sport_key": {
      "type": "string",
      "description": "Sport key"
    },
    "sport_title": {
      "type": "string",
      "description": "Sport title"
    },
    "commence_time": {
      "type": "string",
      "description": "Event start time"
    },
    "home_team": {
      "type": "string",
      "description": "Home team name"
    },
    "away_team": {
      "type": "string",
      "description": "Away team name"
    },
    "bookmakers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Bookmaker key"
          },
          "title": {
            "type": "string",
            "description": "Bookmaker name"
          },
          "last_update": {
            "type": "string",
            "description": "Last odds update time"
          },
          "markets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "description": "Market type (h2h, spreads, player_props_*)"
                },
                "last_update": {
                  "type": "string",
                  "description": "Market last update time"
                },
                "outcomes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Outcome name"
                      },
                      "price": {
                        "type": "number",
                        "description": "Odds value"
                      },
                      "point": {
                        "type": "number",
                        "description": "Spread/total point (if applicable)"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "odds-api": {
      "url": "https://gateway.pipeworx.io/odds-api/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026