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.
Fortnite
Base URL: https://drain.lat/api/v1/fortnite
All endpoints require the x-api-key header.
GET /stats/:username
Get a player’s Fortnite Battle Royale stats.
Endpoint
GET /api/v1/fortnite/stats/:username
Query Parameters
| Parameter | Type | Default | Description |
|---|
accountType | string | epic | Account platform: epic, psn, or xbl |
timeWindow | string | lifetime | lifetime or season |
curl "https://drain.lat/api/v1/fortnite/stats/Ninja?accountType=epic&timeWindow=lifetime" \
-H "x-api-key: YOUR_API_KEY"
Response
{
"name": "Ninja",
"accountId": "4735ce9132924caf8a5b17789b40f79c",
"accountType": "epic",
"timeWindow": "lifetime",
"level": 1240,
"stats": {
"wins": 16421,
"kills": 312400,
"deaths": 48200,
"kd": 6.48,
"winRate": 22.4,
"matches": 73200,
"top3": 18200,
"top5": 21400,
"top10": 28900,
"top25": 38100,
"minutesPlayed": 184320,
"playersOutlived": 2840000,
"score": 98400000
},
"byInput": {
"keyboardMouse": {
"wins": 15800,
"kills": 298000,
"kd": 6.61,
"matches": 70400
},
"gamepad": {
"wins": 621,
"kills": 14400,
"kd": 5.12,
"matches": 2800
}
},
"scrapedAt": "2026-05-05T12:00:00.000Z"
}
GET /shop
Get the current Fortnite item shop.
Endpoint
GET /api/v1/fortnite/shop
curl "https://drain.lat/api/v1/fortnite/shop" \
-H "x-api-key: YOUR_API_KEY"
Response
{
"items": [
{
"name": "Renegade Raider",
"description": "Season Shop exclusive.",
"price": 1200,
"regularPrice": 1200,
"category": "Outfit",
"rarity": "Rare",
"imageUrl": "https://fortnite-api.com/images/cosmetics/br/..."
},
{
"name": "Reaper Pickaxe",
"description": "A scythe for the ages.",
"price": 800,
"regularPrice": 800,
"category": "Harvesting Tool",
"rarity": "Uncommon",
"imageUrl": "https://fortnite-api.com/images/cosmetics/br/..."
}
],
"scrapedAt": "2026-05-05T12:00:00.000Z"
}
The shop updates daily at 00:00 UTC. Results are cached for 10 minutes.