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
| Name | Type | Required | Description |
|---|---|---|---|
sport_key | string | yes | |
event_id | string | yes | |
regions | string | no | |
markets | string | no | Includes player_props_* markets for some leagues |
odds_format | string | no |
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
| Field | Type | Description |
|---|---|---|
id | string | Event ID |
sport_key | string | Sport key |
sport_title | string | Sport title |
commence_time | string | Event start time |
home_team | string | Home team name |
away_team | string | Away team name |
bookmakers | array |
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.