How each team fares on one map
How each team fares on one map over the trailing window: maps played and won, the team's own picks and bans of the map, veto_matches (its matches with a recorded veto — the denominator for picks and…
How each team fares on one map over the trailing window: maps played and won, the team's own picks and bans of the map, veto_matches (its matches with a recorded veto — the denominator for picks and bans) and permaban (the rule /teams/{id}/vetoes uses).
A team is listed when it has at least 10 maps played on the map or at least 10 picks plus bans of it in the window, so a map a team never plays because it always bans it still lists that team. Most played first, then most chosen. The result is computed once per ten minutes per parameter set and shared across callers. limit default 100, maximum 200. Enveloped {"data": [MapTeamStat, ...], "meta": {...}}.
window=pool is the span the map was last in the Active Duty pool, the same one /maps?window=pool prints on its row. It is valid only for a map that has left the pool; for one still in it the span has no end, and the answer is a 400 naming window.
The primary way to authenticate: Authorization: Bearer <api-key>. When a request also carries ?apiKey=, the header wins. We store only a SHA-256 hash of a key, never the key itself. To try the API with no account, use the public sample key eo_sample_public: one published key, shared by everyone, that reads a fixed sample of past matches within daily limits. For evaluation; our Terms apply.
In: header
Path Parameters
Game slug. cs2 is the only populated title today; an un-onboarded game 404s cleanly.
The map's name, with or without the de_ prefix and in any case: dust2 and de_dust2 are the same map. A name that is not a competitive map is a 404 not_found.
Query Parameters
The span of matches the figures cover: a whole number of months with an m suffix, such as 6m, up to 60m, trailing from now; all for the whole history; or pool, the stretch a retired map was last in the Active Duty pool (a 400 for a map still in it). Default 6m. Anything else is a 400 naming the parameter.
"6m"Which Counter-Strike era the matches come from. cs2 keeps only Counter-Strike 2 matches (a match with no recorded version counts as Counter-Strike 2 when it was played on or after 2023-10-16); all (the default) keeps every match.
"all"Value in
- "cs2"
- "all"
How many teams to return. Default 100, maximum 200. Not paginated.
1 <= value <= 200100Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/cs2/maps/dust2/teams"{ "data": [ { "team": { "id": "019f23d1-fb5c-7605-9cec-10e99a87253d", "name": "GenOne", "slug": "genone" }, "played": 76, "wins": 50, "picks": 70, "bans": 0, "veto_matches": 96, "permaban": false }, { "team": { "id": "019f23d1-fb5c-7b79-8e3c-7483ce9bb9b4", "name": "SPARTA", "slug": "sparta" }, "played": 62, "wins": 42, "picks": 51, "bans": 0, "veto_matches": 77, "permaban": false }, { "team": { "id": "019f8941-5a46-76f8-86f3-f84b7c3d940f", "name": "Black Phoenix", "slug": "black-phoenix" }, "played": 49, "wins": 34, "picks": 41, "bans": 0, "veto_matches": 53, "permaban": false } ], "meta": { "count": 3, "next_cursor": null }}{ "error": { "code": "not_found", "message": "not found", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}{ "error": { "code": "not_found", "message": "not found", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}{ "error": { "code": "not_found", "message": "not found", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}{ "error": { "code": "rate_limited", "message": "rate limit exceeded", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}Mint a short-lived WebSocket ticket POST
Exchanges the caller's API key for a short-lived (60s) signed ticket used to open the WebSocket at wss://api.esportsodds.gg/v1/ws?token=....
League-wide figures for each competitive map GET
Each competitive map's league-wide figures over the trailing window: maps played (a map played out — technical results and walkovers are not counted), the average number of rounds, the rounds played…