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.

Authentication

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_KEY

Missing or invalid key → 401 {"error":"Unauthorized."}

Rate limits
EndpointLimitScope
POST /api/evm/scan (web UI)20/hourper IP
POST /api/solana/portfolio120/minper IP
POST /api/solana/transactions120/minper IP
POST /api/v1/scan100/dayper 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."
}
Endpoints

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"}'
FieldTypeRequiredDescription
addressstringyesEVM address (0x + 40 hex)
allbooleannotrue → 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 / change24hPct may be null when no 24h data exists (never fabricated).
  • Tokens with unknown price are still listed with usdValue: 0.
  • Responses carry X-Cache: HIT|MISS — identical address+all within 5 minutes is served from cache.
  • Only chains with detected activity are returned; the rest appear in skipped with a reason.

GET/api/health

Unauthenticated liveness probe.

200 body

{ "live": { "solana": true, "ethereum": true } }
Security
  • API keys are compared in constant time; only key hashes should ever appear in logs.
  • Never expose SKYDROP_API_KEYS (or ALCHEMY_API_KEY / HELIUS_API_KEY / ETHERSCAN_API_KEY) client-side — all third-party calls go through same-origin /api routes.
  • Security headers enforced globally: nosniff, DENY framing, strict CSP, Permissions-Policy: camera=(), microphone=(), geolocation=().