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.
drain.lat API
drain.lat is a multi-platform data API that lets you pull public profile data, stats, and content from dozens of sources with a single authenticated request. No scraping infrastructure needed - just send a request and get clean JSON back.Base URL
/api/v1/.
Authentication
Every request requires anx-api-key header. You can get a key by joining the Discord and asking in the #get-key channel.
demo-key-12345
The demo key is rate limited and intended for trying out endpoints only.
Error Format
All errors return a JSON object with a singleerror field.
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request - missing or invalid parameters |
401 | Unauthorized - missing or invalid API key |
404 | Not found - user or resource doesn’t exist |
429 | Rate limited - slow down your requests |
500 | Server error - something went wrong on our end |
Rate Limits
Rate limits vary by endpoint and key tier. If you hit a429, back off and retry after a few seconds. High-volume use cases should contact us on Discord for a higher-tier key.
Status Endpoint
Check the health of the API at any time - no auth required.Supported Platforms
Roblox
Profile, games, friends
GitHub
Profile, repos, followers, orgs
Twitter / X
Profile, stats, search, bulk
TikTok
Profile data
Profile, posts
Snapchat
Public profile
Twitch
Channel + live status
Steam
Profile, game library
YouTube
Channel, videos
Valorant
Account, MMR, matches
Crypto
Prices, markets, charts, trends
Screenshot
Webpage screenshots
