API Reference
CoinRewards exposes a REST API for integrating with external services.
Base URL
https://coinrewards.fun/apiEndpoints
GET
/api/tokensList all tokens with CoinRewards enabled
GET
/api/token/[mint]Get details for a specific token
GET
/api/leaderboardGet token rankings by reward pool size
GET
/api/statsGet overall platform statistics
GET
/api/events/streamServer-Sent Events stream for real-time updates
GET
/api/projectionGet reward projections for a wallet
Example
# Get all tokens
curl https://coinrewards.fun/api/tokens
# Response
{
"tokens": [
{
"mint": "...",
"symbol": "PUMP",
"name": "PumpToken",
"totalDeposited": 125.5,
"totalDistributed": 100.2,
"holders": 1234
}
]
}Rate Limits
- • Public endpoints: 100 requests/minute
- • Event stream: 1 connection per IP
- • Webhook callbacks: No rate limit