drain.lat
drain.lat is a data API built for developers who need public profile data fast. Point it at a username, get back structured JSON. Works across social platforms, games, crypto markets, and more.Base URL
/api/v1/.
Getting an API Key
Sign in at drain.lat/dashboard using Discord. A key is generated automatically on first login. You can view, copy, and regenerate it from the dashboard.Authorization header with Bearer token:
Errors
All errors come back as JSON with a singleerror field.
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request - missing or invalid parameters |
401 | Invalid or missing API key |
404 | User or resource not found |
429 | Rate limited - retry after 60 seconds |
500 | Server error |
Common Error Examples
Rate Limits
Global rate limit: 100 requests per 15 minutes per API key. Individual endpoints may have additional caching (10-30 minutes) to improve performance and reduce load. If you get a429, wait a few seconds and retry. Need higher limits? Join the Discord.
Status
No auth needed for this one.Platforms
Roblox
Profile, games, friends
GitHub
Profile, repos, followers, orgs
Twitter / X
Profile, stats, search, bulk
TikTok
Profile, videos
Profile, posts
Snapchat
Public profile
Twitch
Channel and live status
Steam
Profile, game library
YouTube
Channel, videos, search
Valorant
Account, MMR, matches
Crypto
Prices, markets, charts, trends
Screenshot
Webpage screenshots
Image Search
Google image search
Google Search
Web search results
Sparked.lol
Profile, links, badges
OnlyFans
Profile information
NPM
Node.js packages
PyPI
Python packages
Crates.io
Rust crates
Packagist
PHP packages
Genius
Song lyrics
Pornhub
Video information
