Documentation Index
Fetch the complete documentation index at: https://docs.drain.lat/llms.txt
Use this file to discover all available pages before exploring further.
Valorant
Base URL: https://drain.lat/api/v1/valorant
All endpoints require the x-api-key header.
GET /account/:name/:tag
Look up a Valorant account by name and tag.
Endpoint
GET /api/v1/valorant/account/:name/:tag
curl "https://drain.lat/api/v1/valorant/account/TenZ/SEN" \
-H "x-api-key: YOUR_API_KEY"
Response
{
"puuid": "54942ced-1967-5f66-8a16-1e0dae875641",
"name": "TenZ",
"tag": "SEN",
"region": "na",
"accountLevel": 412,
"cardId": "8edf22c5-4489-ab41-769a-07adb4c454d6",
"cardSmall": "https://media.valorant-api.com/playercards/.../smallart.png",
"cardLarge": "https://media.valorant-api.com/playercards/.../largeart.png",
"cardWide": "https://media.valorant-api.com/playercards/.../wideart.png",
"lastUpdate": "2026-05-05T12:00:00.000Z",
"scrapedAt": "2026-05-05T12:00:00.000Z"
}
GET /mmr/:region/:name/:tag
Get a player’s current rank and MMR data.
Endpoint
GET /api/v1/valorant/mmr/:region/:name/:tag
Valid regions: eu na ap kr br latam
curl "https://drain.lat/api/v1/valorant/mmr/na/TenZ/SEN" \
-H "x-api-key: YOUR_API_KEY"
Response
{
"name": "TenZ",
"tag": "SEN",
"currentRank": "Radiant",
"currentTier": 27,
"rankingInTier": 412,
"mmrChange": 22,
"elo": 2412,
"rankImages": {
"small": "https://media.valorant-api.com/...",
"large": "https://media.valorant-api.com/..."
},
"peakRank": "Radiant",
"peakSeason": "e8a3",
"scrapedAt": "2026-05-05T12:00:00.000Z"
}
GET /matches/:region/:name/:tag
Get recent match history for a player.
Endpoint
GET /api/v1/valorant/matches/:region/:name/:tag
Query Parameters
| Parameter | Type | Default | Description |
|---|
size | number | 5 | Number of matches to return (max 10) |
mode | string | - | Filter by game mode (e.g. competitive, unrated, deathmatch) |
curl "https://drain.lat/api/v1/valorant/matches/na/TenZ/SEN?size=5&mode=competitive" \
-H "x-api-key: YOUR_API_KEY"
Response
{
"name": "TenZ",
"tag": "SEN",
"region": "na",
"matches": [
{
"matchId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"map": "Ascent",
"mode": "Competitive",
"startedAt": "Tuesday, May 5, 2026 8:00 PM",
"roundsPlayed": 25,
"won": true,
"agent": "Jett",
"rank": "Radiant",
"kills": 28,
"deaths": 14,
"assists": 6,
"score": 6240,
"headshots": 18,
"bodyshots": 42,
"legshots": 2,
"damageDealt": 4812
}
],
"total": 5,
"scrapedAt": "2026-05-05T12:00:00.000Z"
}
Match data is cached for 2 minutes. Use ?size=10 for the maximum number of matches per request.