esportsodds.gg
v0.4.5CS2 match data for AI assistants: matches, maps, vetoes, rounds, player stats, teams, rankings.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
matches_list List matches
One page of matches, newest fixture first. That order starts a list of scheduled matches with the fixture furthest away. For the next matches to be played, pass `status="scheduled", sort="scheduled_at"`. Returns 20 rows unless you set `limit`; when `next_cursor` is not null, pass it as `cursor` for the next page.
| Parameter | Type | Description |
|---|---|---|
changed_since | string | Only matches whose `changed_at` is at or after this instant; the change feed (prefer `iter_changes`, which also handles the overlap). |
cursor | string | `next_cursor` from the previous page; omit for the first. |
date_from | string | Scheduled on or after this day (UTC, inclusive). |
date_to | string | Scheduled on or before this day (UTC, inclusive of the whole day). |
has | string | Only matches that carry all of these sub-resources, for example `["rounds", "depth"]`. Several values: comma-separated. |
limit | integer | Page size (default 100, maximum 500). |
sort | string | `-scheduled_at` (default, newest first), `scheduled_at` (oldest first, which for scheduled matches is soonest first), `changed_at` or `-changed_at`. A cursor is tied to the sort it came from. |
status | string | `scheduled`, `live`, `completed` or `cancelled`. With `scheduled`, also pass `sort="scheduled_at"` to get the next fixtures, not the furthest away. |
team | string | Only this team's matches (id). |
tournament | string | Only this tournament's matches (id). |
matches_get Get a match
One match. The `data_available` flags say which sub-resources exist for it. Pass `include` to get the ones you need back in this same request.
| Parameter | Type | Description |
|---|---|---|
match * | string | The match's id, which is always a UUID. |
include | string | Embed related resources: `teams` (adds `team_a`/`team_b`), `tournament` and `odds` (the latest line per outcome), or the match's own `maps`, `stats`, `vetoes`, `rounds`, `depth`, `lineups`, `streams`… |
matches_maps Match map scores
Per-map scores for one match. Also in the match itself: get the match with `include="maps"` to save this request.
| Parameter | Type | Description |
|---|---|---|
match * | string | The match id (a UUID). Matches have no slug: find one with `matches_list`. |
matches_stats Match player stats
Per-player performance stats for one match. Also in the match itself: get the match with `include="stats"` to save this request.
| Parameter | Type | Description |
|---|---|---|
match * | string | The match id (a UUID). Matches have no slug: find one with `matches_list`. |
matches_vetoes Match vetoes
The map veto (pick and ban) sequence for one match. Also in the match itself: get the match with `include="vetoes"` to save this request.
| Parameter | Type | Description |
|---|---|---|
match * | string | The match id (a UUID). Matches have no slug: find one with `matches_list`. |
matches_rounds Match rounds
Round-by-round team stats for one match. Also in the match itself: get the match with `include="rounds"` to save this request.
| Parameter | Type | Description |
|---|---|---|
match * | string | The match id (a UUID). Matches have no slug: find one with `matches_list`. |
matches_lineups Match lineups
Pre-match roster snapshots. A snapshot is a listed roster (substitutes included), not a confirmed starting five; the players who played are in `stats`. Also in the match itself: get the match with `include="lineups"` to save this request.
| Parameter | Type | Description |
|---|---|---|
match * | string | The match id (a UUID). Matches have no slug: find one with `matches_list`. |
odds_list Market line
Odds lines, newest first. With `match` this is that match's line history, paginated by `cursor`. Without it (or with `match` and `latest=True`) it is a snapshot: the latest line per market and outcome, in a single page capped at `limit`, whose `next_cursor` is always null. Returns 20 rows unless you set `limit`; when `next_cursor` is not null, pass it as `cursor` for the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | `next_cursor` from the previous page (match history only). |
latest | boolean | With `match`, return the current board instead of the tick history. |
limit | integer | Page size (default 200, maximum 1000). |
market | string | With `match`, only this market type (for example `match_winner`). |
match | string | One match's id. |
source | string | `eo_market` or `eo_model`. `eo_model` rows are absent until the model line is released. Omit for both. |
teams_list List teams
One page of teams, by name. Returns 20 rows unless you set `limit`; when `next_cursor` is not null, pass it as `cursor` for the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | `next_cursor` from the previous page. |
limit | integer | Page size (default 100, maximum 500). |
q | string | Search by name, 2 to 100 characters, case-insensitive: matches a team's name, short name, slug or alternate name. |
region | string | One circuit region, by full name: `Europe`, `North America`, `South America`, `Asia`, `CIS`, `Oceania` or `Africa`. |
slug | string | Exact slug match (returns the one team, or an empty page). |
sort | string | `name` (default) or `slug`; prefix `-` to reverse. |
teams_get Get a team
One team.
| Parameter | Type | Description |
|---|---|---|
team * | string | The team's id or slug. |
include | string | `rank` fills `own_rank`, the team's position on the 3-month leaderboard. Several values: comma-separated. |
rank | boolean | The same as `include="rank"`. Off by default because it costs the API an extra query. |
teams_h2h Head to head
The completed-match record between two teams.
| Parameter | Type | Description |
|---|---|---|
opponent * | string | The other team (id or slug). Required. |
team * | string | The first team (id or slug). |
teams_form Team form
A team's recent completed results, newest first (default 10, maximum 50).
| Parameter | Type | Description |
|---|---|---|
team * | string | The team's id (a UUID) or its slug. |
limit | integer | How many rows to return. |
teams_maps Team map record
A team's win and loss record per map, best win rate first. With no arguments this covers the team's whole history, including maps that have left the pool. The arguments narrow it to what is current.
| Parameter | Type | Description |
|---|---|---|
team * | string | The team's id or slug. |
active | boolean | Only the maps in today's Active Duty pool. |
era | string | `cs2` keeps Counter-Strike 2 matches only; `all` (the default) keeps every one. |
include | string | `detail` adds each map's last-played date, pool membership and the team's round record by side and in pistol rounds. Several values: comma-separated. |
window | string | A trailing span such as `"6m"` (whole months, up to `"60m"`) or `"all"` (the default). |
teams_results Team results
A team's completed, decided matches, newest first, with every played map's score and both teams' ratings going into the match (default 20, maximum 100).
| Parameter | Type | Description |
|---|---|---|
team * | string | The team's id or slug. |
limit | integer | How many results to return. |
opponent | string | Only the matches against this team (id or slug). |
teams_players Team players
The players in a team's newest completed match with stats, usually five. Each comes with their own figures over the last 12 months (the same as `players.performance`), whether they have a player page, and when their current run with the team began. `as_of` is that match's date; a team with no such match returns `as_of: null` and no players. A figure from fewer than 10 recorded maps is null. Players are identified by nickname, country and role only.
| Parameter | Type | Description |
|---|---|---|
team * | string | The team's id or slug. |
tournaments_list List tournaments
One page of tournaments. Returns 20 rows unless you set `limit`; when `next_cursor` is not null, pass it as `cursor` for the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | `next_cursor` from the previous page. |
event_type | string | `lan` or `online`. |
limit | integer | Page size (default 100, maximum 500). |
q | string | Search by name, 2 to 100 characters, case-insensitive: matches a tournament's name or slug. |
region | string | One circuit region, by full name (for example `Europe`). |
slug | string | Exact slug match. |
status | string | `upcoming`, `ongoing`, `finished` or `cancelled`. |
tier | string | One prestige tier, `S` (highest) down to `C`. |
year | integer | Tournaments starting in this calendar year (2000 to 2100). |
tournaments_get Get a tournament
One tournament (id or slug).
| Parameter | Type | Description |
|---|---|---|
tournament * | string | The tournament's id (a UUID) or its slug. |
tournaments_teams Tournament teams
The teams that took part in a tournament.
| Parameter | Type | Description |
|---|---|---|
tournament * | string | The tournament's id (a UUID) or its slug. |
players_list List players
One page of players, by nickname. Returns 20 rows unless you set `limit`; when `next_cursor` is not null, pass it as `cursor` for the next page.
| Parameter | Type | Description |
|---|---|---|
cursor | string | `next_cursor` from the previous page. |
ids | string | Look up specific players: up to 500 ids, as a list or comma-separated string. Several values: comma-separated. |
limit | integer | Page size (default 100, maximum 500). |
q | string | Search by nickname, 2 to 100 characters, case-insensitive: matches a player's nickname or slug. |
role | string | One in-game role: `AWP`, `IGL`, `Lurker`, `Rifler` or `Support` (exact, case-sensitive; only some players have one on file). |
slug | string | Exact slug match. |
sort | string | `nickname` (default) or `slug`; prefix `-` to reverse. |
team | string | Only this team's roster (id). |
players_get Get a player
One player.
| Parameter | Type | Description |
|---|---|---|
player * | string | The player's id or slug. |
include | string | `rank` fills `own_rank`, the player's position on the 3-month leaderboard. Several values: comma-separated. |
rank | boolean | The same as `include="rank"`. Off by default because it costs the API an extra query. |
players_career Player career stats
A player's all-time career totals and averages (averages are null with no rated maps).
| Parameter | Type | Description |
|---|---|---|
player * | string | The player's id (a UUID) or its slug. |
players_matches Player matches
A player's recent completed matches, newest first, with the team they played for, the opponent, the series score from their side, the tournament and their own kills, deaths and ADR. Walkovers and matches before Counter-Strike 2 are left out. Not paginated.
| Parameter | Type | Description |
|---|---|---|
player * | string | The player's id or slug. |
limit | integer | How many matches to return (default 10, maximum 25). |
rankings_list Rankings
A leaderboard. Not paginated: `limit` truncates the board and `next_cursor` is always null.
| Parameter | Type | Description |
|---|---|---|
delta_days | integer | Days back that a team's `rank_delta` is measured against, 1 to 90 (default 7). |
include | string | `trend` adds, to each team row, the board value at each of the last twelve weekly marks, oldest first. Several values: comma-separated. |
limit | integer | Rows to return (default 100, maximum 500). |
region | string | One circuit region, by full name. |
role | string | One player role (with `type="player"`). |
sort | string | `rank` (default), `value` or `name`; prefix `-` to reverse. Re-sorting reorders the rows but never changes their `rank`. |
type | string | `team` (default) or `player`. They rank on different metrics, named in each row's `metric`. |
maps_list Map figures
Each competitive map's league-wide figures: maps played, average rounds, rounds played and won on each side, and the bans and picks recorded in vetoes. Most played first. Read a map's bans and picks against its own `veto_matches`.
| Parameter | Type | Description |
|---|---|---|
era | string | `cs2` or `all` (the default). |
window | string | A trailing span of whole months from `"1m"` to `"12m"` (default `"6m"`); there is no `"all"`. |