Media
One call for player faces and team logos. Same links shape as props — do not scrape other endpoints or invent image fields.
GET/v6/esports/{sport}/media
Prefer prop boards when you already have props — each row already carries links.player_image / team_logo / opponent_logo. Use this route when you only have a name or id. Also on players and GET /{sport}/teams.
| Param | Type | Required | Description |
|---|---|---|---|
| sport | path | Yes | cs2, valorant, lol, dota2, … |
| player | string | — | Nickname or slug |
| player_id | int | — | Numeric player id |
| team | string | — | Team name or slug |
| team_id | int | — | Numeric team id |
| opponent | string | — | Second team name/slug (same response.teams[]) |
| limit | int | — | Max hits per side (default 5, max 25) |
cURLGET
curl -H "X-API-Key: YOUR_API_KEY" \ "https://kashrock.up.railway.app/v6/esports/cs2/media?player=zywoo&team=vitality"
200 · resolve
{
"source": "kashrock",
"sport": "cs2",
"players": [
{
"player_id": 18452,
"nickname": "ZywOo",
"slug": "zywoo",
"team_id": 667,
"links": {
"player_image": "https://img.bo3.gg/uploads/player/18452/image/example.webp"
}
}
],
"teams": [
{
"team_id": 667,
"name": "Team Vitality",
"slug": "vitality",
"links": {
"team_logo": "https://img.bo3.gg/uploads/team/667/image/example.webp"
}
}
],
"total_players": 1,
"total_teams": 1
}