Skip to main content
Endpoints for managing and claiming airdrops.

GET /api/airdrops

Returns airdrop claim amounts for a claimer on a given token. Authentication: Public Query Parameters Response: Array of claimable amounts in wei.

POST /api/airdrops

Saves an airdrop Merkle tree for a token. The tree must hash to merkleRoot, and merkleRoot must equal the token’s airdrop root. Authentication: Public Body Parameters Response: Success confirmation.
Rate limited to 30 saves an hour per IP. Over a limit: 429 with Retry-After (seconds) and { "error", "code": "rate_limited", "retryAfter" }.

GET /api/airdrops/allocations

Returns all allocations for an airdrop. Authentication: Public Query Parameters Response: List of account/amount pairs.
Found allocations are cached for 1 hour at the edge (stale for up to a day while it refreshes); an airdrop is saved once and never changes. A 404 (the airdrop is not saved yet, e.g. right after launch) is not cached.

GET /api/airdrops/claim

Returns Merkle proofs needed to claim airdrop allocations. Authentication: Public Query Parameters Response: Array of proofs with their allocation entries.