get_odds
5 creditsMulti-tablePOST /v1/get_odds
Data refreshed · changelog
Match-winner prices by sportsbook, opening and closing, from mid-2020
Use it when you want each sportsbook's opening and closing match-winner price for one match or a competition.
Parameters
match_idstringoptional- Match id from get_matches.
competitionstringoptional- Competition key from list_competitions (ipl, bbl, test, odi, t20i, ...).
seasonstringoptionaldatestringoptional- A day of the match (YYYY-MM-DD).
limitintegeroptional- Max matches (default 20).
leagueenum: cricket | test | odi | t20i | ipl | bbl | psl | cpl | blast | hundred | sa20 | ilt20 | county | wbbl | wpl | hundred_womenoptional- League. Defaults to cricket. One of: cricket, test, odi, t20i, ipl, bbl, psl, cpl, blast, hundred, sa20, ilt20, county, wbbl, wpl, hundred_women.
Notes
- Over MCP, ask for it in plain English and the client calls
get_oddsitself. Point any MCP client athttps://mcp.yorkerapi.com/mcp?key=YOUR_API_KEY. - Each call costs 5 credits, taken before it runs and refunded if the server errors.
- Not the call you need? Find the right call by what you are trying to answer.
Request
curl -X POST https://mcp.yorkerapi.com/v1/get_odds \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"match_id": "1473511"
}'Response
json
{
"matches": [
{
"match": {
"id": "1473511",
"start_date": "2025-06-03",
"team1_id": "royal-challengers-bengaluru",
"team1": "Royal Challengers Bengaluru",
"team2_id": "punjab-kings",
"team2": "Punjab Kings",
"winner_id": "royal-challengers-bengaluru",
"result": "win"
},
"books": 31,
"lines": [
{
"bookmaker": "betfair_ex_au",
"outcome": "Punjab Kings",
"open": 2.1,
"close": 1.99,
"close_american": -101,
"snapshots": 7,
"first_at": "2025-06-02 11:55:36+00",
"last_at": "2025-06-03 13:45:36+00"
},
{
"bookmaker": "betfair_ex_au",
"outcome": "Royal Challengers Bangalore",
"open": 1.9,
"close": 2,
"close_american": 100,
"snapshots": 7,
"first_at": "2025-06-02 11:55:36+00",
"last_at": "2025-06-03 13:45:36+00"
},
{
"bookmaker": "betfair_ex_eu",
"outcome": "Punjab Kings",
"open": 2.1,
"close": 1.99,
"close_american": -101,
"snapshots": 7,
"first_at": "2025-06-02 11:55:36+00",
"last_at": "2025-06-03 13:45:36+00"
}
]
}
],
"count": 1
}Response fields
matches[]array- List of objects
matches[].matchobjectmatches[].match.idstringmatches[].match.start_datestringmatches[].match.team1_idstringmatches[].match.team1stringmatches[].match.team2_idstringmatches[].match.team2stringmatches[].match.winner_idstringmatches[].match.resultstringmatches[].booksnumbermatches[].lines[]array- List of objects
matches[].lines[].bookmakerstringmatches[].lines[].outcomestringmatches[].lines[].opennumbermatches[].lines[].closenumbermatches[].lines[].close_americannumbermatches[].lines[].snapshotsnumbermatches[].lines[].first_atstringmatches[].lines[].last_atstringcountnumber
Related endpoints
list_competitions1 cr
Filters by the same league.
Every competition we hold with its key, format, match count and seasons
list_teams1 cr
Filters by the same competition and season.
Team ids for international sides and franchises, men's and women's
search_players1 cr
Filters by the same limit and league.
Find a player's id by name, or list a team's players
get_schedule2 cr
Filters by the same competition and league.
Upcoming and live matches in every competition, with both sides' ratings
Try it
500 free credits every month: 100 calls to get_odds, and no card.