Better-CS-API Docs
Event

Events

GET
/hltv/events

Get the data from the HLTV events page.

hltv.org/events

Credits

  • 1 credit ($0.0012)

In case of errors, your credits are refunded automatically.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

valveRanked?|

Filter by Valve ranked status.

player?array<integer>|

Filter by attending player ID(s).

requireAllPlayers?|

If true, only returns events containing all specified attending player IDs.

team?array<integer>|

Filter by attending team ID(s).

requireAllTeams?|

If true, only returns events containing all specified attending team IDs.

prizeMin?|

Minimum prize pool filter.

prizeMax?|

Maximum prize pool filter.

eventType?|

Filter by event type.

Response Body

application/json

application/json

curl -X GET "https://example.com/hltv/events"
{  "events": [    {      "id": 0,      "name": "string",      "logo": {        "day": "string",        "night": "string"      },      "banner": "string",      "dateStart": 0,      "dateEnd": 0,      "numberOfTeams": 0,      "prizePool": "string",      "location": {        "name": "string",        "code": "string"      },      "eventType": "MAJOR",      "featured": true    }  ]}
Empty
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}
Empty