REST API
Six read-only JSON endpoints. No authentication on the free tier (rate-limited per IP). Whale tier subscribers get an API key with 10 RPS quota and webhook support.
https://degenzone.com/api/tokensTop 150 memecoin/altcoin tokens on the selected chain, enriched with narrative tag, smart-money score, and recent buyer wallets.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | enum | yes | solana | base | bsc | eth |
| timeframe | enum | no | m5 | h1 | h6 | h24 (default: h24). Determines which volume bucket is used for ranking. |
| minLiq | number | no | Min liquidity USD (default: 50000) |
| maxAge | number | no | Max pool age in hours. Setting this enables Fresh-mode (relaxed quality filters). |
curl 'https://degenzone.com/api/tokens?chain=solana&timeframe=h1&minLiq=100000'{
"tokens": [
{
"address": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"pairAddress": "EP2ib6dYdEeqD8MfE2ezHCxX3kP3K2eLKkirfPm5eyMx",
"symbol": "WIF",
"name": "dogwifhat",
"imageUrl": "https://dd.dexscreener.com/...",
"priceUsd": 2.341,
"liquidityUsd": 412183091.23,
"marketCapUsd": 2341000000,
"fdvUsd": 2341000000,
"volumeUsd": { "m5": 12450, "h1": 1245009, "h6": 12450091, "h24": 142183091 },
"priceChangePct": { "m5": 0.45, "h1": -1.21, "h6": 5.4, "h24": 18.43 },
"buys24h": 12340, "sells24h": 11201, "buys1h": 643, "sells1h": 502,
"poolCreatedAt": "2024-03-04T01:23:45Z",
"ageHours": 12480,
"chain": "solana",
"dexId": "raydium",
"narrativeId": "dog",
"smartScore": 0.78,
"smartBuyers": [{ "alias": "Cented7", "address": "5B52..." }]
}
],
"source": "geckoterminal",
"fetchedAt": 1742284800000,
"delayed": false
}/api/portfolioReal Solana wallet holdings via on-chain RPC, cross-referenced with the live token cache for prices and 24h P&L. Currently Solana-only.
| Name | Type | Required | Description |
|---|---|---|---|
| wallet | string (base58) | yes | Solana wallet address, 32–44 chars |
curl 'https://degenzone.com/api/portfolio?wallet=4hHQemDr8zKbVH7ZB7vXjCsAvBVtMNDqFvtRYM5UCnvw'{
"wallet": "4hHQemDr8zKbVH7ZB7vXjCsAvBVtMNDqFvtRYM5UCnvw",
"source": "solana-rpc",
"holdings": [
{
"address": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"symbol": "WIF",
"name": "dogwifhat",
"uiAmount": 1850.2,
"decimals": 6,
"priceUsd": 2.341,
"priceChange24h": 18.43,
"balanceUsd": 4332,
"unpriced": false
}
],
"totalUsd": 12450,
"pricedHoldings": 6,
"unpricedHoldings": 2,
"change24hPct": 8.4,
"change24hUsd": 968
}/api/snapshotTime-Machine snapshot of the chain N minutes ago, plus metadata about the snapshot store.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | enum | yes | solana | base | bsc | eth |
| ago | number | no | Minutes ago (default: 60). Common values: 15, 60, 240. |
curl 'https://degenzone.com/api/snapshot?chain=solana&ago=60'{
"chain": "solana",
"requestedAgoMinutes": 60,
"available": 240,
"range": {
"oldestTs": 1742270400000,
"newestTs": 1742284800000,
"oldestAgoMinutes": 240
},
"snapshot": {
"ts": 1742281200000,
"agoMinutes": 60,
"tokens": [/* Token[] same shape as /api/tokens */]
}
}/api/ohlcvOHLCV candles for a specific pool. Used internally by the side-panel sparkline.
| Name | Type | Required | Description |
|---|---|---|---|
| chain | enum | yes | solana | base | bsc | eth |
| pair | string | yes | Pool / pair address (base58 for Solana, 0x... for EVM) |
| timeframe | enum | no | minute | hour | day (default: hour) |
| aggregate | number | no | Aggregation per candle (default: 1) |
| limit | number | no | Max candles (default: 48, max: 200) |
| price | number | no | Fallback price used by the demo generator if upstream is unreachable |
curl 'https://degenzone.com/api/ohlcv?chain=solana&pair=EP2ib6dYdEeqD8MfE2ezHCxX3kP3K2eLKkirfPm5eyMx&limit=48'{
"candles": [
{ "t": 1742281200, "o": 2.31, "h": 2.36, "l": 2.30, "c": 2.34, "v": 1245000 }
],
"source": "geckoterminal"
}/api/pollerHeartbeat for the on-chain smart-money poller. Returns count of tracked wallets and last-cycle stats.
curl 'https://degenzone.com/api/poller'{
"walletsTracked": 10,
"stats": {
"last_run_at": "1742284800000",
"last_scanned": "47",
"last_new_buys": "3",
"last_errors": "0"
}
}/api/healthSystem health probe — upstream provider status, uptime, snapshot counts. Backs the /status page.
curl 'https://degenzone.com/api/health'{
"status": "operational",
"uptimeMs": 86400000,
"uptimeHuman": "1d 0h",
"providers": {
"geckoterminal": "up",
"dexscreener": "up"
},
"snapshots": {
"solana": { "count": 240, "oldestTs": 1742270400000, "newestTs": 1742284800000 }
},
"timestamp": 1742284800000
}