Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs
API referenceReferrers

What a referrer earned

Shares paid and missed, and the cleanups and wallets its link brought in, this month (UTC) or all time, from the payout ledger (AERO-1170).

GET/v1/referrers/{codeOrAddress}/earnings

Shares paid and missed, and the cleanups and wallets its link brought in, this month (UTC) or all time, from the payout ledger (AERO-1170).

Path Parameters

codeOrAddress*string

The referrer's ?ref= code, or its wallet's address

Length1 <= length <= 64

Query Parameters

timeframe?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/referrers/string/earnings"
{  "code": "string",  "address": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV",  "timeframe": "month",  "paidLamports": "2039280",  "missedLamports": "2039280",  "referredBurns": 0,  "referredWallets": 0}