Fixtures
Esports game lineups
GET/v2/fixtures/{id}/games/{gameId}/lineupsAll plans
Esports: both sides’ players in one game — role, champion / hero, kills, deaths, assists, then the title’s own figures: League of Legends gold, creep score, level; Dota 2 last hits, denies, net worth, gold and experience per minute; Counter-Strike ADR, headshot kills, KAST, K − D, first-kill difference, flash assists.
A field the source does not keep for that title is null. Empty lists until the source lists the game’s lineups — a map in play often has none yet; the figures appear some minutes after it ends.
Parameters
id
our numeric id (positive integer)
gameId
our game id: EsportsGame.id from /v2/fixtures/{id}/games
Response
- data
EsportsGameLineups- meta
- gameId
- errors
- 403 history_not_in_plan — the fixture is older than your plan’s history404 not_found — a game id that is not a game of this fixture, or an id we never issued
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/fixtures/{id}/games/{gameId}/lineups"
Example
{ "data": { "home": [ { "player": { "id": 902114, "name": "Caps", "slug": "caps", "shortName": "Caps", "image": "…" }, "role": "mid", "character": { "name": "Viktor", "slug": "viktor" }, "kills": 1, "deaths": 2, "assists": 4, "gold": 11177, "creepScore": 287, "level": 16, "denies": null, "netWorth": null, "goldPerMinute": null, "experiencePerMinute": null, "averageDamagePerRound": null, "headshotKills": null, "kastPercentage": null, "killDeathDifference": null, "firstKillDifference": null, "flashAssists": null }, … ], "away": [ … ] }, "meta": { "gameId": 9021440 } }