Better-CS-API Docs
Player

Stats Players Opponents Lineup ID

GET
/hltv/stats/players/opponents/lineup/{id}

Get HLTV player opponent lineup stats by ID.

hltv.org/stats/players/opponents/lineup/{id}

Credits

  • 1 credit ($0.0012)

In case of errors, your credits are refunded automatically. Credits are not refunded for invalid IDs (404).

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

id*Id

The player ID. You can find this ID in the response of other endpoints like /match/{id}, /results, /team/{id}, or /stats/matches/mapstatsid/{id} (inside player objects).

Example7020

Query Parameters

offset?|

Pagination offset. Defines the starting point for returning results. Use it together with the pagination metadata in the response. Offset goes up in steps of 100 (0, 100, 200, ...).

teamId?array<integer>|

Filter by specific team ID(s).

event?array<integer>|

Filter by specific event IDs.

playoffMatchType?|

Filter by playoff match type.

valveRanked?|

Filter by Valve ranked status.

bestOfX?array<>|

Filter by best of X.

rankingFilter?|

Filter by ranking (e.g. Top5, Top10).

csVersion?|

Filter by game version (CS2, CS:GO).

startDate?|

Start date for filtering results (Format: YYYY-MM-DD).

endDate?|

End date for filtering results (Format: YYYY-MM-DD).

maps?array<>|

Filter by specific map(s) played.

matchType?|

Filter by match type.

Response Body

application/json

application/json

curl -X GET "https://example.com/hltv/stats/players/opponents/lineup/7020"
{  "opponents": [    {      "lineup": [        {          "id": 0,          "name": "string"        }      ],      "maps": 0,      "kdDiff": 0,      "kd": 0,      "rating": 0    }  ],  "pagination": {    "offset": 0,    "limit": 0,    "total": 0,    "hasNext": true  }}
Empty
Empty
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}
Empty