Documentation
Sign up — 3 days of Pro free (up to 60 requests a minute and 1 stream; we lift that for a load test on request) — and create a key in your account. Every request carries the X-API-Key header. Answers are JSON, times are UTC (ISO 8601), odds are strings with two decimals.
BASE=https://gradedodds.com/api/data/v1 curl -H "X-API-Key: dk_…" $BASE/me
401bad key
402no paid plan, or the trial ended
403not in your plan
404not found
429over the requests-a-minute limit
Tip: the match list and pre-match markets change every few minutes at most — poll them every 1–5 minutes and take live over the stream.
/api/data/mcp
all plansConnect the API to an AI agent (Claude, Cursor and others with MCP): the agent finds matches, gets odds and results and settles a slip by itself. Tools: list_events, get_event, get_result, settle_slip, list_sports, account. The key goes in the Authorization header. For generating client code there is an OpenAPI specification, for AI assistants an llms.txt summary.
claude mcp add --transport http sports-odds \ https://gradedodds.com/api/data/mcp \ --header "Authorization: Bearer dk_…"
OpenAPI 3.1 — every method, parameter and answer schema
A short description of the service for AI assistants
{ "mcpServers": {
"sports-odds": {
"type": "http",
"url": "https://gradedodds.com/api/data/mcp",
"headers": { "Authorization": "Bearer dk_…" }
} } }/me
allYour plan, limits and today's requests.
/sports
StartSports: football, basketball, ice_hockey, tennis.
/events
StartMatches. Without status — everything on sale: pre-match and live.
sportfootballsport id
statusprematch | live | finished | cancelledleagueEngland - Premier Leagueexact league name
from, to2027-01-20T00:00:00Zkick-off range (ISO)
limit, offset200, 0page (limit ≤ 500)
curl -H "X-API-Key: $KEY" "https://gradedodds.com/api/data/v1/events?sport=football&status=live"
{ "total": 41, "limit": 200, "offset": 0, "events": [
{ "id": "6f1c…", "sport": "football", "league": "Spain - LaLiga", "home": "Barcelona", "away": "Atletico Madrid",
"startTime": "2027-01-20T20:00:00.000Z", "status": "live", "score": { "home": 1, "away": 0 },
"minute": 34, "clock": { "p": 0, "s": 2041, "run": true, "at": 1768939441000, "age": 1200 } } ] }/events/{id}
StartA match with every market. status "open" — on sale, "locked" — the source suspended the line for now. open on the match = bets can be taken right now (fresh prices, no dangerous moment).
margin5your margin in %, 0–30 (default 0 = source prices)
curl -H "X-API-Key: $KEY" "https://gradedodds.com/api/data/v1/events/6f1c…?margin=5"
{ "id": "6f1c…", "status": "live", "score": { "home": 1, "away": 0 }, "minute": 34, "open": true,
"live": { "corners": { "home": 5, "away": 2 }, "yellow": { "home": 1, "away": 0 }, "red": { "home": 0, "away": 0 } },
"margin": 5,
"markets": [
{ "key": "1x2", "name": "Fulltime Result", "selections": [
{ "id": "a81…", "name": "1", "odds": "1.52", "status": "open" },
{ "id": "a82…", "name": "X", "odds": "4.10", "status": "open" },
{ "id": "a83…", "name": "2", "odds": "6.20", "status": "open" } ] },
{ "key": "ou_2.5", "name": "Goals Over/Under 2.5", "selections": [ … ] } ] }/events/{id}/result
StartThe result: score, half time, corners, cards, extra time, penalties, goals with minute and scorer — and the result of every line (WON / LOST / VOID / HALF_WIN / HALF_LOSS / PENDING when data is missing).
{ "status": "finished", "settled": true, "score": { "home": 2, "away": 1 },
"stats": { "halfTime": { "home": 1, "away": 0 }, "corners": { "home": 7, "away": 3 }, "cards": { "home": 2, "away": 3 },
"goals": [ { "minute": 23, "added": null, "team": 1, "player": "Lewandowski", "method": "Header" } ] },
"markets": [ { "key": "1x2", "name": "Fulltime Result", "selections": [ { "name": "1", "result": "WON" }, … ] } ] }/settle
StartA slip calculator with the rules of our own settlement: single (each line a separate bet of the full stake), multiple, system (k of n, the stake split over the combinations). PENDING while the result is not known.
curl -X POST -H "X-API-Key: $KEY" -H "Content-Type: application/json" https://gradedodds.com/api/data/v1/settle -d '{
"type": "multiple", "stake": 100,
"legs": [ { "eventId": "6f1c…", "market": "1x2", "selection": "1", "odds": 1.52 },
{ "eventId": "9b0e…", "market": "ou_2.5", "selection": "Over 2.5", "odds": 1.90 } ] }'{ "status": "WON", "payout": "288.80",
"legs": [ { "eventId": "6f1c…", "market": "1x2", "selection": "1", "odds": 1.52, "result": "WON" }, … ] }/stream
ProAn event stream (Server-Sent Events) of live matches: odds — new prices (line ids from /events/{id}), score — score, minute, corners, cards, suspend — lines closed / reopened, resync — re-read your data, ping — every 25 s. The key may come as ?key= (EventSource cannot send headers).
eventsid,idonly these matches (≤ 100); none = all live
margin5your margin in %
curl -N -H "X-API-Key: $KEY" "https://gradedodds.com/api/data/v1/stream?events=6f1c…"
data: {"type":"odds","eventId":"6f1c…","selections":[{"id":"a81…","market":"1x2","name":"1","odds":"1.48"}]}
data: {"type":"score","eventId":"6f1c…","home":2,"away":0,"minute":51,"cornersHome":6,"cornersAway":2}
data: {"type":"suspend","eventId":"6f1c…","selectionIds":["a81…","a82…","a83…"],"suspended":true}/events/{id}/tracker
MaxA football match's live tracker: ball position, attacks, events, stats, line-ups. { "live": false } — not in play or no tracker.
/events/{id}/var
MaxVAR: a check in progress, the check log, decisions (goal_cancelled, goal_confirmed, pen_confirmed, pen_cancelled, card_upgrade) and dangerHold — a dangerous moment during which betting should be closed.
{ "checkActive": "goal", "checks": [ { "min": 67, "kind": "goal" } ],
"decisions": [ { "min": 67, "kind": "goal_cancelled", "team": 2, "detail": "Goal cancelled" } ], "dangerHold": true }Market keys
A market key is stable and the same for every match. The main ones:
1x21 / X / 2
dc1X / X2 / 12
dnbdraw no bet: 1 / 2
bttsYes / No
ou_<line>total goals: Over 2.5 / Under 2.5
eh_<line>European handicap: 1 (-1) / X (-1) / 2 (+1)
cscorrect score: 2-1
htfthalf time / full time: 1/X
ht_<key>, h2_<key>the same markets on the 1st / 2nd half
tg1_ou_<line>, tg2_ou_<line>home / away team goals
cor_ou_<line>, cor3_<n>corners: Over/Under, Over/Exactly/Under
card_ou_<line>cards (yellow + red)
ng_<n>who scores the n-th goal: 1 / No Goal / 2
gs_any, gs_first, gs_lastgoalscorers
lgl_<score>_<line>in-play Asian goal lines quoted at a score
The full list of a match's markets is in /events/{id}; name is human-readable, in English.