get_market_vs_model
10 creditsTime-seriesPOST /v1/get_market_vs_model
In-play prices beside our win probability, lined up to the exact ball
Use it when you want to see where the in-play market and our model disagreed during a match, tied to the exact ball before each price.
Parameters
match_idstringrequired- Match id from get_matches.
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_market_vs_modelitself. Point any MCP client athttps://mcp.yorkerapi.com/mcp?key=YOUR_API_KEY. - Each call costs 10 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_market_vs_model \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"match_id": "1473511"
}'Response
json
{
"match_id": "1473511",
"team1_id": "royal-challengers-bengaluru",
"team2_id": "punjab-kings",
"winner_id": "royal-challengers-bengaluru",
"snapshots": [],
"widest_gap": null,
"count": 0,
"note": "We hold in-play prices for this match but no ball times to line them up with.",
"method": "market_team1 is the median margin-free in-play price on team 1 across books. model_team1 is our win probability after the last ball bowled before that snapshot, from team 1's side. gap is model minus market."
}Response fields
match_idstringteam1_idstringteam2_idstringwinner_idstringsnapshots[]array- List
widest_gapnullcountnumbernotestringmethodstring
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 league.
Team ids for international sides and franchises, men's and women's
get_match5 cr
Filters by the same match_id and league.
One match in full: batting and bowling cards, ratings and every book's opening and closing price
get_odds5 cr
Filters by the same match_id and league.
Match-winner prices by sportsbook, opening and closing, from mid-2020
Try it
500 free credits every month: 50 calls to get_market_vs_model, and no card.