DotaScore
v0.1.0

API Reference

Every DotaScore endpoint, with parameters, response codes, and copy-pasteable examples. Base URL: https://api.dotascore.live

Authentication

Every request must include your API key as a bearer token. Generate one in your dashboard.

curl -H "Authorization: Bearer dks_your_key_here" \
  https://api.dotascore.live/dota2/matches/upcoming

Errors

All errors return a JSON body with a detail field.

CodeMeaning
200OK
401Missing or invalid API key
402Free trial used / monthly quota exceeded — upgrade your plan
429Rate limit exceeded (per-minute) — back off and retry after the Retry-After header
5xxServer error — please retry with exponential backoff

Matches

Live, upcoming, and past Dota 2 esports matches with PandaScore-style envelopes.

get/dota2/matches
List All
Parameters
NameInTypeRequired
pagequeryintegerno
per_pagequeryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/matches
get/dota2/matches/{match_id}
Detail
Parameters
NameInTypeRequired
match_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/matches/{match_id}
get/dota2/matches/feed
Matches Feed
Parameters
NameInTypeRequired
days_backqueryintegerno
days_forwardqueryintegerno
include_oddsquerybooleanno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/matches/feed
get/dota2/matches/past
Past
Parameters
NameInTypeRequired
pagequeryintegerno
per_pagequeryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/matches/past
get/dota2/matches/running
Running
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/matches/running
get/dota2/matches/upcoming
Upcoming
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/matches/upcoming

Bookmaker Odds

Pinnacle moneyline, spreads, totals, and per-map markets for upcoming matches.

get/dota2/odds
Dota Odds
Parameters
NameInTypeRequired
event_typequerystringno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/odds
get/dota2/odds/raw
Dota Odds Raw
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/odds/raw

Teams

Pro teams, their player rosters, and recent match results.

get/dota2/teams
List Teams
Parameters
NameInTypeRequired
pagequeryintegerno
per_pagequeryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/teams
get/dota2/teams/{team_id}
Team Detail
Parameters
NameInTypeRequired
team_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/teams/{team_id}
get/dota2/teams/{team_id}/matches
Team Matches
Parameters
NameInTypeRequired
team_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/teams/{team_id}/matches
get/dota2/teams/{team_id}/players
Team Players
Parameters
NameInTypeRequired
team_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/teams/{team_id}/players

Players

Individual player profiles, MMR, and rankings.

get/dota2/players
List Pros
Parameters
NameInTypeRequired
pagequeryintegerno
per_pagequeryintegerno
team_idquerystringno
countryquerystringno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/players
get/dota2/players/{account_id}
Player Detail
Parameters
NameInTypeRequired
account_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/players/{account_id}
get/dota2/players/{account_id}/heroes
Player Hero Pool
Parameters
NameInTypeRequired
account_idpathintegeryes
limitqueryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/players/{account_id}/heroes
get/dota2/players/{account_id}/matches
Player Recent Matches
Parameters
NameInTypeRequired
account_idpathintegeryes
limitqueryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/players/{account_id}/matches

Leagues & Tournaments

Browse all active Dota 2 leagues and premium tournaments.

get/dota2/leagues
Leagues
Parameters
NameInTypeRequired
pagequeryintegerno
per_pagequeryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/leagues
get/dota2/leagues/{league_id}/prize-pool
League Prize Pool
Parameters
NameInTypeRequired
league_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/leagues/{league_id}/prize-pool
get/dota2/tournaments
Tournaments
Parameters
NameInTypeRequired
pagequeryintegerno
per_pagequeryintegerno
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/tournaments

Heroes & Items

Reference data for all 127 heroes and the entire item catalog.

get/dota2/heroes
Heroes
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/heroes
get/dota2/heroes/{hero_id}
Hero
Parameters
NameInTypeRequired
hero_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/heroes/{hero_id}
get/dota2/heroes/icons
Heroes Icons
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/heroes/icons
get/dota2/heroes/meta
Heroes Meta
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/heroes/meta
get/dota2/items
Items
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/items
get/dota2/items/{item_id}
Item
Parameters
NameInTypeRequired
item_idpathintegeryes
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/items/{item_id}
get/dota2/patch
Current Patch
Parameters
NameInTypeRequired
authorizationheaderstringno
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/dota2/patch

Service

Health and discovery endpoints.

get/
Root
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/
get/health
Health
Show curl example
curl -H "Authorization: Bearer dks_your_key" \
  https://api.dotascore.live/health