Data API
GET /v1/trending
Top tokens by trading volume in a time window.
Endpoint
GET https://solindex.infinityblocks.io/v1/trending
Authentication
Send your key in the x-api-key header (or ?api-key=). See Authentication.
Query parameters
| Param | Type | Default | Allowed / range |
|---|---|---|---|
window | enum | 1h | 5m · 1h · 6h · 24h · 7d |
limit | int | 20 | 1–100 |
prefix | string | — | Only mints starting with this (base58, 1–16) |
suffix | string | — | Only mints ending with this (base58, 1–16) |
Request
curl -s "https://solindex.infinityblocks.io/v1/trending?window=1h&limit=20" \
-H "x-api-key: <API_KEY>"
const r = await fetch("https://solindex.infinityblocks.io/v1/trending?window=1h&limit=20", {
headers: { "x-api-key": "<API_KEY>" },
});
const { data } = await r.json();
Response
{ "data": [
{ "mint": "CwGo…bonk", "volumeUsd": 669.43, "trades": 11, "traders": 5, "priceUsd": 0.000003457 },
… ] }
Optional
prefix / suffix scope the ranking to tokens whose mint starts / ends with that base58 string (e.g. ?suffix=bonk). Omit both for all Raydium LaunchLab tokens.Try it
Run GET /v1/trendinglive · GET
Your key is stored only in this browser (localStorage).
—