Skip to Content
API ReferenceGET /stats

GET /stats

Returns stats for your project — total SOL reclaimed, transaction counts, unique wallets, and donation totals. Scoped automatically to the project linked to your API key.

Request

GET https://api.aerosol.com/api/v1/burner/stats

Headers

HeaderRequiredDescription
X-Api-Key or AuthorizationYesAPI key or session token

Example request

curl https://api.aerosol.com/api/v1/burner/stats \ -H "X-Api-Key: ak_live_..."

Response

200 OK

{ "totalGrossRebate": 89012345678, "totalNetRebate": 84561728394, "totalTransactionCount": 34567, "totalWallets": 8921, "totalDonations": 2345, "totalDonationAmount": 6789012345 }

Response fields

FieldTypeDescription
totalGrossRebatenumberTotal SOL reclaimed before fees, in lamports
totalNetRebatenumberTotal SOL users kept after fees, in lamports
totalTransactionCountnumberTotal transactions processed for your project
totalWalletsnumberUnique wallets that have used Burn & Claim through your integration
totalDonationsnumberTotal number of donations to your project
totalDonationAmountnumberTotal donation amount to your project, in lamports

Error responses

StatusCause
401Invalid or missing credentials
429Rate limit exceeded

SDK example

const stats = await client.getStats()
Last updated on