DIAMOND
Launch

API reference

API overview

Public JSON over HTTPS. No key, no sign-up; every number on the site comes from these endpoints.

Base URL and format#

All endpoints live under https://diamond.church/api. Responses are JSON. SOL amounts are numbers in SOL, token amounts are whole tokens, times are ISO 8601 strings in UTC, and addresses are base58.

bash
curl https://diamond.church/api/stats

Endpoints#

Method and pathReturns
GET /api/configPublicConfig: name, cluster, CA, live parameters, platform wallets
GET /api/statsGlobalStats: site-wide totals
GET /api/rewardsRewardToken[]: the reward catalog with prices
GET /api/coinsCoinSummary[]
GET /api/coins/:mintCoinDetail
GET /api/payoutsPayoutRow[], newest first
GET /api/roundsRoundRow[], newest first
GET /api/wallet/:addressWalletRewards
GET /api/airdropsAirdropState
GET /api/burnsBurnRow[]
GET /api/launch/quoteLaunchQuote
POST /api/launch/metadata{ uri, image }
POST /api/launch/build{ txs: string[] }
POST /api/launch/confirmCoinDetail
GET /api/streamServer-sent events (LiveEvent)

Limits#

Requests are rate limited per IP; a limited request returns HTTP 429 with code: "rate_limited". Launch endpoints have tighter limits than reads. See Errors.

Docs