Developers
API docs
Programmatic access to Sky Drop at https://skydrop.world. All third-party calls go through same-origin /api routes — keys never touch the browser.
Heads up: the /api/v1/* endpoints only become active once the SKYDROP_API_KEYS environment variable (comma-separated) is set server-side. Without it, requests to /api/v1/* return 401.
All /api/v1/* endpoints require an API key in the x-api-key header. Keys are issued by the Sky Drop team and configured server-side via SKYDROP_API_KEYS (comma-separated).
Header
x-api-key: YOUR_API_KEYMissing or invalid key → 401 {"error":"Unauthorized."}
| Endpoint | Limit | Scope |
|---|---|---|
| POST /api/evm/scan (web UI) | 20/hour | per IP |
| POST /api/solana/portfolio | 120/min | per IP |
| POST /api/solana/transactions | 120/min | per IP |
| POST /api/v1/scan | 100/day | per API key |
Exceeded → 429 with a Retry-After (seconds) header and JSON body:
429 body
{
"error": "Rate limit exceeded.",
"retryAfterSec": 3420,
"message": "Too many requests — retry in 3420s."
}POST/api/v1/scan
Multi-chain EVM portfolio scan — same payload as the web UI.
Request
curl -X POST https://skydrop.world/api/v1/scan \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'| Field | Type | Required | Description |
|---|---|---|---|
| address | string | yes | EVM address (0x + 40 hex) |
| all | boolean | no | true → scan ~28 chains instead of the default ~18 |
Response 200 (JSON):
200 body
{
"address": "0xd8da…",
"detected": "evm",
"chains": [
{
"chainId": 1,
"chainName": "Ethereum",
"nativeBalance": 5.7682,
"totalUsd": 15606.12,
"tokens": [
{ "symbol": "USDC", "name": "USD Coin", "amount": 1200.5,
"usdValue": 1200.1, "change24h": 0.03 }
],
"transactions": [ /* … */ ],
"counterparties": [ /* … */ ],
"partial": false,
"dataSource": "alchemy"
}
],
"totals": { "totalUsd": 33825.85, "change24hPct": -4.0 },
"scannedChains": 18,
"activeChains": 9,
"skipped": [],
"durationMs": 19700
}change24h/change24hPctmay benullwhen no 24h data exists (never fabricated).- Tokens with unknown price are still listed with
usdValue: 0. - Responses carry
X-Cache: HIT|MISS— identicaladdress+allwithin 5 minutes is served from cache. - Only chains with detected activity are returned; the rest appear in
skippedwith a reason.
GET/api/health
Unauthenticated liveness probe.
200 body
{ "live": { "solana": true, "ethereum": true } }- API keys are compared in constant time; only key hashes should ever appear in logs.
- Never expose
SKYDROP_API_KEYS(orALCHEMY_API_KEY/HELIUS_API_KEY/ETHERSCAN_API_KEY) client-side — all third-party calls go through same-origin/apiroutes. - Security headers enforced globally:
nosniff,DENYframing, strict CSP,Permissions-Policy: camera=(), microphone=(), geolocation=().