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
401

bad key

402

no paid plan, or the trial ended

403

not in your plan

404

not found

429

over 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.

MCP

/api/data/mcp

all plans

Connect 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 Code
claude mcp add --transport http sports-odds \
  https://gradedodds.com/api/data/mcp \
  --header "Authorization: Bearer dk_…"
openapi.json

OpenAPI 3.1 — every method, parameter and answer schema

llms.txt

A short description of the service for AI assistants

MCP client config
{ "mcpServers": {
    "sports-odds": {
      "type": "http",
      "url": "https://gradedodds.com/api/data/mcp",
      "headers": { "Authorization": "Bearer dk_…" }
    } } }
GET

/me

all

Your plan, limits and today's requests.

GET

/sports

Start

Sports: football, basketball, ice_hockey, tennis.

GET

/events

Start

Matches. Without status — everything on sale: pre-match and live.

sportfootball

sport id

statusprematch | live | finished | cancelled
leagueEngland - Premier League

exact league name

from, to2027-01-20T00:00:00Z

kick-off range (ISO)

limit, offset200, 0

page (limit ≤ 500)

Request
curl -H "X-API-Key: $KEY" "https://gradedodds.com/api/data/v1/events?sport=football&status=live"
Answer
{ "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 } } ] }
GET

/events/{id}

Start

A 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).

margin5

your margin in %, 0–30 (default 0 = source prices)

Request
curl -H "X-API-Key: $KEY" "https://gradedodds.com/api/data/v1/events/6f1c…?margin=5"
Answer
{ "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": [ … ] } ] }
GET

/events/{id}/result

Start

The 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).

Answer
{ "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" }, … ] } ] }
POST

/settle

Start

A 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.

Request
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 } ] }'
Answer
{ "status": "WON", "payout": "288.80",
  "legs": [ { "eventId": "6f1c…", "market": "1x2", "selection": "1", "odds": 1.52, "result": "WON" }, … ] }
GET

/stream

Pro

An 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,id

only these matches (≤ 100); none = all live

margin5

your margin in %

Request
curl -N -H "X-API-Key: $KEY" "https://gradedodds.com/api/data/v1/stream?events=6f1c…"
Answer
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}
GET

/events/{id}/tracker

Max

A football match's live tracker: ball position, attacks, events, stats, line-ups. { "live": false } — not in play or no tracker.

GET

/events/{id}/var

Max

VAR: 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.

Answer
{ "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:

1x2

1 / X / 2

dc

1X / X2 / 12

dnb

draw no bet: 1 / 2

btts

Yes / No

ou_<line>

total goals: Over 2.5 / Under 2.5

eh_<line>

European handicap: 1 (-1) / X (-1) / 2 (+1)

cs

correct score: 2-1

htft

half 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_last

goalscorers

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.