RBB Gateway API Documentation
Read-only REST API for holders, liquidity, staking, trades and live market data on the Supra ecosystem.
The RBB Gateway API is a read-only HTTPS API. Authenticate with an API key on every route except the public holder-token catalog, /health, and the Help form. Each endpoint has a lowest plan — Free Plus Premium Premium+ — shown next to its path and listed in All endpoints; every higher plan includes it. Premium+ adds the live streams (SSE and WebSocket) and the wallet archive.
https://rbbgateway.com
The same endpoints remain available at https://api.robbiesuprameme.xyz.
Quick start
- Create a free account on rbbgateway.com and create an API key in the dashboard.
- Send the key in the
x-api-keyheader of every request. - Call an endpoint. This one is on the Free plan: the volume of every Supra DEX over the last 24 hours.
curl -H "x-api-key: YOUR_KEY" "https://rbbgateway.com/api/v1/volume/chain?period=24h"
{
"ok": true,
"data": {
"chain": "supra",
"period": "24h",
"supraUsd": 0.0001149,
"volumeUsd": 5925.28,
"arbitrageUsd": 2346.39,
"txCount": 1771,
"swapCount": 6321,
"tokenCount": 72,
"byDex": [
{ "dex": "ATMOS", "volumeUsd": 5279.97, "arbitrageUsd": 1867.86, "swapCount": 4627, "txCount": 1669, "sharePct": 89.11, "tokenCount": 56 },
{ "dex": "WARS DEX", "volumeUsd": 251.57, "arbitrageUsd": 142.43, "swapCount": 460, "txCount": 351, "sharePct": 4.25, "tokenCount": 29 },
{ "dex": "LEOEX", "volumeUsd": 196.54, "arbitrageUsd": 196.54, "swapCount": 200, "txCount": 200, "sharePct": 3.32, "tokenCount": 23 },
…
],
"computedAt": "2026-11-23T23:13:38.151Z"
}
}
Every endpoint is a GET that answers JSON; a successful answer carries "ok": true. The fields of this one are described in Chain Volume by DEX, error codes in Error Responses. To find an endpoint, type in the search box of the menu (key /) or open All endpoints.
What is in this documentation
Verified complete holder lists, coin and FA merged, and one wallet's breakdown: wallet, staked, LP, locks.
NFT (Supra)Collections, holders and tokens with image, rarity and traits, a wallet's NFTs, every mint and transfer.
Liquidity PoolsPool reserves by DEX and by token, and the LP each wallet holds converted back to tokens.
DistributionWhere a token's whole supply sits, its locks and burns, the unlock calendar, lending, loans and gas burners.
StakingSpikey, Pecky and SupraVault ledgers, per pool and per wallet.
Farms (Atmos)The farm ledger and the farms of a token.
Wallet PositionsA wallet's balances and positions protocol by protocol, its history, swaps, cost and P&L, gas and SupraNS names.
Prediction MarketsMarkets, their trades and a wallet's positions.
Trades & VolumeTrades and volume of a token, and DEX volume per day with all-time totals, per DEX and per pool.
Market & TokensToken summary, activity, ATH and ATL, age, all-time holders, trending tokens and graduations.
Contracts (Supra)Every contract of the chain: who controls it, its upgrades and events, and a live stream.
Premium+ APILive streams over SSE and WebSocket, events and arbitrage history, every price in one call, candles.
Before you build: Authentication, Rate Limits, all endpoints with their plan, key types and security, Terms of Use, Error Responses and the Changelog.
Authentication
All endpoints except /health, /api/v1/holders/tokens, /api/v1/stats, and the Help form submission require an API key. Pass it via one of:
X-Api-Key: <your-api-key>
# or
Authorization: Bearer <your-api-key>
Keys are SHA-256 hashed server-side and compared using constant-time equality. Your raw key is never stored.
Rate Limits
Dashboard keys share one account quota across all authenticated routes. Creating or rotating a key does not increase the allowance. An existing key imported into the dashboard joins the same quota.
| Plan | Requests/second | Requests/minute | Requests/month (UTC) |
|---|---|---|---|
| Free | 5 (burst) | 20 | 50,000 |
| Plus | 3 | Unlimited | 1,000,000 |
| Premium | 15 | Unlimited | 10,000,000 |
| Premium+ | 25 | Unlimited | Unlimited |
Configured keys that have not been imported keep their existing 100 requests per rolling minute limit. The internal static Premium key keeps its existing access. Requests admitted by the application count toward the monthly allowance, including API errors such as 404. Rejected rate-limit requests do not count.
Separately, nginx applies these limits per client IP across the API routes combined:
| Route | Per-IP limit |
|---|---|
| Authenticated API requests (except streams) | 20 requests/second, with burst=20 nodelay, and 20 concurrent connections |
Public /api/v1/holders/tokens, /api/v1/stats and /api/v1/wishlist | 5 requests/second, with burst=5 nodelay |
/api/v1/stream/ | 5 concurrent connections per IP; streams require Premium+ (WebSocket: see its limits) |
Exceeding a limit returns 429. Per-second and per-minute account limits include retryAfterSec and a retry-after header; the monthly limit returns monthly_quota_exceeded. Public routes have no account quota. The static /api/docs pages are outside these API limits. The legacy rateLimitMs response field describes the old 100/minute key limit and does not describe an account plan.
Alerts & notifications
The dashboard watches your account and your keys and tells you when something needs attention, in two places:
- Notification bell — in the dashboard header. A red dot means unread alerts; opening the panel shows the latest 30 and marks them read. Nothing to set up: no email address is needed. Choose what appears there under Show in this dashboard at the bottom of the panel. Alerts are kept 90 days.
- Email — on the dashboard's Notifications page. Emails start once you have confirmed your address with the link we send you.
Both channels carry the same alerts and are checked every 5 minutes. Each alert is sent once per channel.
| Alert | When | Bell by default | Email by default |
|---|---|---|---|
| Endpoint changed or deprecated | An endpoint your keys called in the last 30 days changes or is deprecated, with the date it takes effect | On | On |
| Plan expiry reminder | 72 hours and 24 hours before your plan ends | On | On |
| Monthly quota at 80% and 95% | Your account (all keys together, extra requests included) reaches 80% then 95% of the month's allowance | On | On |
| New endpoint available | A new endpoint is listed in the dashboard | On | On |
| New browser sign-in | Your account signs in from a browser we have not seen before | On | On |
| API key used from a new IP | One of your keys is used from a network it never used (addresses of the cloud providers you declare count as one network) | On | On |
| Queried token unavailable | The holder index of a token your keys queried in the last 7 days stays paused or delayed for 5 minutes | Off | On |
| Rate limit reached | At least 3 requests answered 429 in 10 minutes (at most one alert per hour) | Off | On |
| Repeated errors | The same error on the same endpoint at least 5 times in 15 minutes | Off | On |
| Unusual API key activity | A key runs at 3× its average of the previous 24 hours for 3 minutes, with at least 30 requests (at most one alert per key per day) | Off | On |
| Every error log | One email every 5 minutes listing each failed request of your keys. Email only: the dashboard's Error logs page shows them | — | Off |
All endpoints
Every endpoint of the API, grouped by the lowest plan that can call it: every higher plan includes it. Each endpoint of this documentation carries the same tag next to its path. Click a path for its parameters, a request and a response example.
| Endpoint | Returns | Section |
|---|
No endpoint matches.
A key whose plan is too low receives 403 with the plan it needs in requiredPlan: plan_upgrade_required for a Plus or Premium endpoint, premium_key_required for a Premium+ one. The dashboard's Endpoints page lists the same endpoints. Keys configured for a partner outside the dashboard reach every endpoint except the Premium+ ones.
Which plan for which use
| Plan | Made for |
|---|---|
| Free | Looking up one thing at a time: a token's summary, age or ATH, one wallet's balance, one pool, one name, the contract list (2 hours behind the live stream). |
| Plus | Following wallets and tokens: complete holder lists, a wallet's positions protocol by protocol, staking and farm pools, 7-day trades and volume, token activity, up to 100 SupraNS names per call, lending and P2P loans. |
| Premium | Bulk data and analytics: every pool of a DEX at once, LP holder lists, supply distribution with locks and burns, the full staking and farm ledgers, all of a wallet's positions in one call, cost basis and P&L. |
| Premium+ | Real time and archive: live streams over SSE and WebSocket, event and arbitrage history, every price in one call, candles, and the wallet archive (balance history, gas, liquidity net worth, history by token). |
API Key Types
| Type | Access | Rate Limit | Use Case |
|---|---|---|---|
| Dashboard key | The endpoints of your account's plan (Free, Plus, Premium or Premium+) | Your plan's allowance, shared by all keys of the account | Every integration: apps, scripts, bots, dashboards |
| Configured key | Every endpoint except the Premium+ ones | 100 requests per rolling minute per key | Keys issued to a partner outside the dashboard |
Security Best Practices
- Store API keys in environment variables or a secrets manager — never in source code
- Use HTTPS exclusively; all HTTP requests are redirected
- Rotate keys periodically and after any suspected compromise
- Give each integration its own key, so one can be rolled without touching the others
- Keep
.envout of version control (.gitignore)
- Never embed API keys in client-side JavaScript, mobile apps, or public repos
- Never share your Premium API Key or paste it in Discord/Slack/chat
- Never commit
.envfiles or API keys to Git — even in private repos - Never use API keys to perform write operations (this API is read-only)
- Never proxy API keys through untrusted servers or CORS proxies
- Never reuse the same key across multiple unrelated projects
Prohibited Usage
The following will result in immediate key revocation without notice:
- Scraping / bulk extraction — Automated mass downloading beyond legitimate integration needs
- Resale / redistribution — Selling, sublicensing, or redistributing API data without written permission
- Circumventing rate limits — Using multiple keys, rotating keys, or any bypass technique
- Key sharing — Sharing your API key with unauthorized parties or embedding in public code
- Abuse / harassment — Using the API to facilitate spam or harassment
- Reverse engineering — Attempting to decompile or extract proprietary logic
- Competitive intelligence — Using the API to build a competing product
Terms of Use
By accessing or using the RBB Gateway API, you agree to the following terms.
1. Access & Authorization
- API access is a revocable privilege, not a right. We may revoke any key at any time, with or without cause, without prior notice.
- Your API key is personal and non-transferable. You may not share, sell, or lease your key to any third party.
- You are responsible for all activity under your API key.
- If you believe your key is compromised, notify us immediately.
2. Data Usage
- Data is provided "as is" for informational purposes only.
- You may not use API data for any unlawful purpose.
- We do not guarantee data accuracy, completeness, or timeliness.
- Data may be cached, delayed, or incomplete during maintenance.
3. Availability
- The API is provided on a best-effort basis. No guarantee of uptime, latency, or availability.
- We may suspend or modify the API at any time.
- We are not liable for damages arising from unavailability or data inaccuracies.
Key Revocation Policy
We may revoke your API key without prior notice if:
- You violate any term of this agreement
- Suspicious or abusive usage patterns are detected (abnormal volume, scraping, etc.)
- Your key is found in a public repository, paste, or leak
- You share your key with unauthorized third parties
- We receive a legal request or court order requiring revocation
- We discontinue the API or a specific endpoint
After revocation
- All requests with the revoked key return
401 Unauthorized - Cached data may be purged
- You must contact the API team for a new key (revocation is final)
Premium API Key
Premium API Keys are subject to stricter monitoring. Any abuse results in immediate revocation and potential permanent ban.
Limitation of Liability
- Provided "as is" and "as available" without warranties.
- No liability for indirect, incidental, special, consequential, or punitive damages.
- Total liability shall not exceed $0.
- You are solely responsible for decisions made based on API data.
- No responsibility for financial losses, trading decisions, or investment outcomes.
Holders (Supra)
Current holder balances of Supra tokens, served from our own on-chain holder index. It follows every block in real time (a few seconds behind the chain tip) and every account is verified against on-chain balances.
listing: "auto"). A small launch is usually served within the hour; a large one once every holder has been probed. See New Tokens.
- Every account, like SupraScan: by default the list includes burn addresses and contract-held balances (DEX pool reserves, Spikey staking, vaults, resource accounts). Each row carries a
classification; useinclude=holderto keep real wallets only.holderCountcounts every account holding the token, contracts included (the figure explorers show);walletHolderCountcounts regular wallets only. - What a contract row is:
custodyandcontractrows carry alabel{ type, platform, pair, tokens, name }:typeispool,staking,lock,vesting,vault,lending,bridge,feesormultisig;platformis the protocol (Atmos, Hoglet, Dexlyn, LeoEx, EvoSwap, WARs DEX, Supralend, Solido…); for a DEX pool,pairgives the symbols with the requested token first ("RAGE/SUPRA",nullwhen a symbol is unknown) andtokensthe asset ids in the same order;namesays what the account is within the protocol ("CLMM pool","Token Studio locker"…). Identified from the contract’s on-chain resources (read once per account) and our pool indexes; an account we cannot identify getslabel: null, never a guess. Wallet and burn rows always havelabel: null. - Exact amounts:
balanceRawis an integer string in base units;balanceis the same value as an exact decimal string. - Addresses are returned as full 64-hex strings.
Coin & FA aliases (automatic)
On Supra, most coins also exist as a paired fungible asset (FA): the same token, held either as a legacy Coin<T> or in FA stores after conversion. Explorers list the two sides on separate pages. The holder API merges them for you, automatically:
- The coin ↔ FA pairing is resolved on-chain and applied to every coin; you never have to query both sides or pass the FA address.
- Each wallet appears once, with its total balance and the split:
coinRaw(theCoin<T>part) +faRaw(its paired FA stores) =balanceRaw. - Wallets that converted everything to FA are included, even though they are absent from the coin’s holder page on an explorer.
- You can use either the coin type or the FA metadata address as
:tokenId: both return the same merged list.
Token identifier (:tokenId)
Any of: the coin type (0x…::ROBBIE::ROBBIE, any case, padded or not), the FA metadata address, or the paired FA metadata address of a coin. A token that is not in the available list returns 404 token_not_available.
Available Tokens
Tokens whose holder list is available. Public, not rate limited. ready: false means the token is temporarily paused (see blockers) and its holder routes answer 503 holders_not_ready. A new wallet is included as soon as its first transfer is indexed; reconciling: true only means its on-chain cross-check is still running.
{
"ok": true,
"tipBlockHeight": 54787872,
"count": 83,
"data": [
{
"tokenId": "0x635f…a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"name": "RobbieTheRobot",
"kind": "coin", // "coin" or "fa"
"coinType": "0x635f…a9007::ROBBIE::ROBBIE", // null for a pure FA
"faMetadata": "0xf4fc…6b61d", // FA metadata (paired FA for a coin)
"decimals": 6,
"holderCount": 785, // every account, contracts included (like explorers)
"walletHolderCount": 760, // regular wallets only
"blockHeight": 54787842, // last block applied to this token
"listing": "verified", // "verified" (curated) or "auto" (exact supply, every holder audited)
"ready": true,
"reconciling": false, // true for ~1 min after a new wallet appears (still served)
"blockers": []
}
]
}
Holder List
All holders of a token, largest balance first. The whole list is returned in one call (up to 20,000 rows); pagination is also available if you need smaller responses. Each row carries name, the address's primary SupraNS name (null when it has none), from our names index; the field is left out when that index cannot be read, so a missing name never means "no name". LP holder lists carry it too.
| Param | Description | |
|---|---|---|
:tokenId | required | Coin type or FA metadata address |
include | optional | all (default), or a comma list of holder (regular wallets), custody (DEX pools, staking, vaults), contract, burn |
limit | optional | Max rows (default and max 20000) |
offset | optional | Rows to skip (default 0) |
{
"ok": true,
"data": {
"tokenId": "0x635f…a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"kind": "coin",
"coinType": "0x635f…a9007::ROBBIE::ROBBIE",
"faMetadata": "0xf4fc…6b61d",
"decimals": 6,
"blockHeight": 54787842,
"holderCount": 785,
"walletHolderCount": 760,
"supplyRaw": "990024620933260",
"include": ["holder", "custody", "contract", "burn"],
"total": 785, // rows matching include (before limit/offset)
"limit": 20000,
"offset": 0,
"count": 785,
"holders": [
{
"rank": 1,
"address": "0x844a46eb…6efcdad",
"balance": "89900941.146184",
"balanceRaw": "89900941146184",
"coinRaw": "89900941146184", // Coin<T> part
"faRaw": "0", // fungible-asset stores part
"percentOfSupply": 9.080677,
"classification": "holder", // holder | custody | contract | burn
"label": null, // set on custody / contract rows, see above
"name": "robbiegame.supra" // primary SupraNS name, null when none (see below)
},
{
"rank": 2,
"address": "0x96e95e86…f4432d5",
"balance": "44749977.624076",
"balanceRaw": "44749977624076",
"coinRaw": "44749977624076",
"faRaw": "0",
"percentOfSupply": 4.520093,
"classification": "custody",
"name": null,
"label": {
"type": "pool", // pool | staking | lock | vesting | vault | lending | bridge | fees | multisig
"platform": "Dexlyn",
"pair": "ROBBIE/SUPRA", // requested token first; null when a symbol is unknown
"tokens": ["0x635f…a9007::ROBBIE::ROBBIE", "0x1::supra_coin::SupraCoin"],
"name": null // e.g. "CLMM pool", "Token Studio locker"
}
}
]
}
}
Wallet Balance
Balance of one wallet for a token, plus a breakdown of everything it holds elsewhere: staking, farms, liquidity, token locks and DAO NFT locks. A wallet that never held the token returns a zero balance (not an error).
The breakdown is computed from our indexes only (no live chain scan), so it answers in milliseconds:
staked: the token staked directly (Spikey, Atmos farms, Pecky nodes).liquidity: LP positions converted to the token amount they represent (LP amount × token reserve ÷ LP supply, from the latest indexed pool reserves): LP held in the wallet, staked in Spikey, farmed in Atmos, staked in a Dexlyn gauge or LP staking slot (dexlynStaked), or locked, plus Dexlyn concentrated-liquidity positions held in the wallet (dexlynClmm) or staked in a Dexlyn gauge (dexlynClmmGauge), and EvoSwap concentrated-liquidity positions held in the wallet (evoswapClmm).positionslists each pool.locked: the token itself in active token locks, including Atmos Token Studio locks (read on-chain every 30 minutes, and right after a lock or unlock) and WARs DEX Burn & Lock locks (read every 10 minutes).lent: the token supplied to Supralend (supralend), valued at the pool’s current exchange rate (interest included). Borrowed amounts are not subtracted: borrowed tokens are already in the wallet.perps: the token in the wallet’s Dexlyn perps one-click trading vault (dexlyn1ct). The margin of open perps positions is not counted.daoLocks: active DAO NFT lock positions, when indexed for this token. Includestotal,totalRawandpositionswith the NFT, DAO, owner and end epoch.total= wallet + staked + liquidity + locked + lent + perps + DAO locks (when present).burnedis informational and not included.- LP held in the wallet comes from our holder index of the LP tokens (Atmos, Spikey, Dexlyn and LeoEx LPs, see DEX coverage).
inWalletCoveragetells how many of the token’s LP tokens are indexed and how many are still being cross-checked on-chain; an LP token not indexed yet counts as 0 (never too high).
| Param | Description | |
|---|---|---|
:tokenId | required | Coin type or FA metadata address |
:wallet | required | Supra address (short or full 64-hex) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"tokenId": "0x635f…a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"decimals": 6,
"blockHeight": 54787842,
"address": "0xfdf7e354…3c32ab6f40",
"balance": "52515050.829721",
"balanceRaw": "52515050829721",
"coinRaw": "52515050829721",
"faRaw": "0",
"percentOfSupply": 5.304418,
"classification": "holder", // holder | custody | contract | burn | null
"label": null, // what a custody / contract account is (see Token Holders)
"isHolder": true,
"breakdown": {
"wallet": "52515050.829721",
"staked": { "spikey": "0", "atmosFarm": "0", "pecky": "0", "total": "0" },
"liquidity": {
"inWallet": "0",
"inWalletCoverage": { "lpTokens": 11, "indexed": 5, "reconciling": 0 },
"spikeyStaked": "0",
"atmosFarm": "2161139.546531",
"dexlynStaked": "0",
"locked": "0",
"dexlynClmm": "0",
"dexlynClmmGauge": "0",
"evoswapClmm": "0",
"total": "2161139.546531",
"positions": [
{ "dex": "ATMOS", "pool": "0x1641…54da", "name": "JOSHKU/ROBBIE LP",
"lpRaw": "1574011050772", "tokenRaw": "2161139546531", "token": "2161139.546531",
"reservesAt": "2026-09-29T20:29:24.179Z" }
]
},
"locked": "0",
"lent": { "supralend": "0", "total": "0" },
"perps": { "dexlyn1ct": "0", "total": "0" },
"total": "54676190.376252",
"totalRaw": "54676190376252",
"burned": "0"
}
}
}
How a token reaches the holder API
Indexing balances and publishing a holder list are separate steps. A token can have activity in the other API endpoints before it is available through the holder endpoints.
Automatic indexing at launch
New Atmos Token Studio and Hoglet launchpad fungible assets are detected through their on-chain launch events. The holder index starts from the block before creation, records the creator and bonding curve as initial account candidates, replays indexed balance events, and checks balances on-chain. New Atmos, Dexlyn and LeoEx pool LP tokens are indexed too (from their creation), but are excluded from the public holder-token list.
Hoglet launch indexing applies to launches captured since the Hoglet update on 30 Sep 2026; earlier launches are not backfilled automatically. The index runs behind the chain tip by a safety margin, so a launch is not visible instantly.
Manual reconstruction for older or missed tokens
An operator can import an existing holder snapshot or a set of candidate addresses, including a SupraScan export. Candidate addresses are starting points, not trusted balances: the materializer reads their actual balances on-chain, replays indexed events, and reconciles the result. For an already indexed asset, adding candidates preserves existing accounts. A fungible asset still needs an exact supply match; an older coin needs a holder-by-holder check and verification of its paired FA side.
This is an operator workflow, not a public API request. A missing token does not become available merely by querying /api/v1/holders/:tokenId.
Publication and availability
| Path | When it appears | Listing value |
|---|---|---|
| Automatic FA listing | Once the supply matches exactly, every account holding a balance has been probed on-chain by the index's audit, and no re-check found a drift in the last 24 hours (minimum one hour in the index); LP tokens are excluded. | auto |
| Manual verification | After an operator verifies completeness and adds the token to the curated holder API list. | verified |
Check /api/v1/holders/tokens for ready, reconciling, blockers, and blockHeight. An unlisted token returns 404 token_not_available. A listed token with a blocking index problem returns 503 holders_not_ready until the check passes again. A pending on-chain check for a newly seen account may set reconciling: true without pausing an otherwise verified token.
NFT (Supra)
Holders and tokens of the NFT collections of both Supra token standards — v1 (0x3::token) and v2 (0x4::token, object tokens) — rebuilt from the chain itself. Nothing comes from a marketplace API. Every answer says which standard it is about.
- Checked against the chain. A collection is
status: "ready"when the index agrees with the chain, otherwisereconciling; the data is still returned, with the status. v1: every deposit and withdrawal since the first one is replayed, then the supply the chain counts for each token, each wallet balance and each wallet’s event numbering are read back. v2: each token’s owner is read on chain, and the collection’s own counters (supply, minted) must equal the index’s. - Staked, boosted or listed NFTs stay with their owner. An NFT put in a contract (a Spikey or Atmos boost pool, a marketplace listing, a staking contract) is reported for the wallet that put it there, with
place: "custody"and the contract (custody.protocolwhen known).place: "wallet"is an NFT in the wallet itself. v2 only: an NFT in a contract that no wallet sent there is the contract’s,place: "contract"(the holder row carriescontract: true). - A collection is a creator and a name. Two creators can use the same collection name: paths take both,
/nft/collections/:creator/:collection, the name URL-encoded (The%20Dawn%20Of%20Robbie). Find them with Collections. If the same creator and name exist in both standards, v1 answers unless you add?standard=v2(thelinksof a v2 collection already carry it). - Editions (v1). A token name can exist in several copies (
amountabove 1) and in several property versions (propertyVersions: version → amount). Tokens created with no maximum have no supply counter on chain: theirsupplyis what the index holds (supplyTracked: false). - Image, name and traits. Each token carries its
uri(the address of its metadata file) andmetadata: what that file says, already read for you —{ "name": "Robbie #292", "image": "https://…/robbie292/image.png", "rarity": "Mythic", "traits": { "Rarity": "Mythic" } }.nameis the display name (the token’s ownnameis the on-chain one,TOKEN_292),imageanhttps://oripfs://address,raritythe file’s “Rarity” trait,traitsevery trait as name → value.metadataisnullwhen the file has not been read yet or cannot be read (no file, not JSON, larger than 512 KB); a field the file does not give isnull. Served by a wallet in a collection, Tokens & Owners and NFTs of a Wallet. - v2 tokens are objects. Each has its own address:
tokenidentifies it, with itsindexin the collection and itsname;amountis always 1. A v2 collection also has an address (collectionAddress) and counts itsburnedtokens. - Burn address. NFTs sent to the burn address (
0x79052fe75cd54417d9f2c18be845342b9a49516e9b598fac730910c995e59f67) are nobody’s: they are in no holder list and count inburned. They still exist on chain, so they stay insupply. v1:burnedis the NFTs at that address. v2:burnedis the tokens burned on chain plus those at that address, andsentToBurnAddressgives the latter apart (a token there hassentToBurnAddress: trueand no owner in Tokens & Owners). - For sale. An NFT listed on a marketplace (Crystara v1 and v2, Dream Protocol) carries
listing:{ "marketplace": "Crystara", "contract": "0xfd56…1b85", "price": 171428.57, "priceRaw": "17142857000000", "coinType": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "seller": "0x7085…e64c", "listedBlock": 57567777, "listedAt": "2026-10-31T09:47:19.428Z", "tx": "0x7022…" }(a Dawn Of Robbie,TOKEN_149) (Dream Protocol addslisting, the address of its listing object). Prices come from the marketplaces’ own events on chain, not from their sites. A listing is given only while the index has the NFT in that marketplace’s custody for that seller (place: "custody"), so an NFT sold or withdrawn loses it within seconds. A collection carrieslisted(NFTs for sale) andfloor(the lowest price in SUPRA,nullwhen nothing is for sale).priceis in whole coins when the coin is known (nullotherwise;priceRawis always the on-chain amount). - Positions. Some v2 collections are financial positions rather than collectibles — Dexlyn liquidity positions and vote escrow, lending pToken / lToken: they have
kind: "position", the otherskind: "collection". Filter withkind=. - Freshness. The index follows the chain block by block: an NFT that moves is in these answers a few seconds after its block (answers are cached for 10 seconds).
index.blockis the chain height the index has read up to; the catalog and a wallet’s NFTs give it per standard (index.v1,index.v2). The moves themselves are served as they happen: NFT Events and the NFT Stream.
Not served here: the SupraNS name tokens (see SupraNS Names; NFTs of a Wallet lists a wallet’s names apart, in names), and the v1 Growfitter Squid Game NFT Card Collection (a fitness app’s cards distributed by the million, 93 % of the chain’s v1 NFT events).
Collections
Every collection of both standards, most holders first. A v2 line has collectionAddress, burned and supplyTracked (the collection has a supply counter on chain) in place of untrackedSupplyTokens.
NFT collections with their supply, holders and status.
| Param | Description | |
|---|---|---|
search | optional | Part of the collection name, any case |
creator | optional | Collections of one creator address |
status | optional | ready or reconciling |
standard | optional | v1 or v2 |
kind | optional | collection or position |
limit / offset | optional | Page size (default 100, max 500) and rows to skip |
GET /api/v1/nft/collections?search=dawn
{
"ok": true,
"data": {
"index": { "v1": { "standard": "0x3::token", "block": 59517816, "updatedAt": "2026-11-19T23:23:02.879Z" },
"v2": { "standard": "0x4::token", "block": 59524840, "updatedAt": "2026-11-19T23:23:03.412Z" } },
"total": 1, "offset": 0, "limit": 100,
"collections": [
{ "standard": "0x3::token", "creator": "0x9ac60c8d4cf3dc46f742cd4d140c16dce52993df4072af1e50755dd5897c3ec0", "collection": "The Dawn Of Robbie", "kind": "collection", "status": "ready",
"tokens": 296, "supply": 296, "holders": 95, "inWallets": 269, "inCustody": 27, "untrackedSupplyTokens": 0, "burned": 0,
"listed": 8, "floor": { "price": 44900, "priceRaw": "4490000000000", "coinType": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA" },
"firstBlock": 27350185, "lastBlock": 58945968, "uri": "https://…/metadata.json" }
]
}
}
One Collection
The collection’s totals, the contracts that hold some of its NFTs for their owners (custody, with the entry functions that put them there) and the result of each control (checks). chainTokens is the chain’s own count of token names created in the collection.
One collection: supply, holders, custody, controls.
GET /api/v1/nft/collections/0x9ac60c8d4cf3dc46f742cd4d140c16dce52993df4072af1e50755dd5897c3ec0/The%20Dawn%20Of%20Robbie
{
"ok": true,
"data": {
"index": { … },
"standard": "0x3::token", "creator": "0x9ac6…3ec0", "collection": "The Dawn Of Robbie", "kind": "collection", "status": "ready",
"tokens": 296, "supply": 296, "holders": 95, "inWallets": 269, "inCustody": 27, "untrackedSupplyTokens": 0, "burned": 0,
"listed": 8, "floor": { "price": 44900, "priceRaw": "4490000000000", "coinType": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA" },
"description": "Embark on a new journey with the Dawn of Robbie. …", "chainTokens": 296, "chainMaximum": 296, "events": 2435,
"custody": [
{ "contract": "0x3045…3083", "protocol": "Spikey", "kind": "boost", "wallets": 14, "amount": 16,
"functions": [ "0x3045…3083::router_stake::boost", "0x3045…3083::router_stake::stake_and_boost_from_coins", "…" ] },
{ "contract": "0x707d…c18f", "protocol": "Atmos", "kind": "boost", "wallets": 10, "amount": 11, "functions": [ "0x707d…c18f::scripts::boost_v1" ] }
],
"checks": { "unexplained": 0, "balanceMismatches": 0, "unverifiedBalances": 0, "incompleteWallets": 0, "checkedAt": "…", "note": "…" },
"links": { "holders": "/api/v1/nft/collections/…/holders", "tokens": "/api/v1/nft/collections/…/tokens" }
}
}
A v2 collection: minted, burned and maximum (null = none), the holding contracts by address (kind: "object" groups the NFTs sitting in objects their wallets own), and its own controls.
GET /api/v1/nft/collections/0xdc285a0584945aff6316d281e03770f18596de377fa336613e097ea3bfae9184/Tiny%20Legends%20Collection
{
"ok": true,
"data": {
"index": { "standard": "0x4::token", "block": 59524840, "updatedAt": "…" },
"standard": "0x4::token", "creator": "0xdc28…9184", "collection": "Tiny Legends Collection",
"collectionAddress": "0x16d80d6a0d9cc9db246ad5909f7eae7bc3341893340fb0a82f73967433b08075", "kind": "collection", "status": "ready",
"tokens": 974, "supply": 974, "holders": 167, "inWallets": 934, "inCustody": 40, "burned": 275, "supplyTracked": true,
"minted": 1249, "maximum": 3000,
"custody": [
{ "contract": null, "protocol": null, "kind": "object", "wallets": 17, "amount": 23 },
{ "contract": "0xc13e…05de", "protocol": "Tiny Legends", "kind": null, "wallets": 4, "amount": 17 }
],
"checks": { "supplyOnChain": 974, "mintedOnChain": 1249, "unreadTokens": 0, "missingTokens": 0, "ownerlessTokens": 0, "checkedAt": "…", "note": "…" },
"links": { "holders": "/api/v1/nft/collections/…/holders?standard=v2", "tokens": "/api/v1/nft/collections/…/tokens?standard=v2" }
}
}
Holders
The wallets of a collection, biggest first: NFTs in the wallet, NFTs it has in contracts, the number of distinct tokens and its share of the supply. In a v2 collection, a row with contract: true is a contract holding NFTs that no wallet sent there.
Holders of a collection, ranked.
| Param | Description | |
|---|---|---|
limit / offset | optional | Page size (default 100, max 1000) and rows to skip; holders gives the total |
{
"ok": true,
"data": {
"index": { … }, "standard": "0x3::token", "collection": "The Dawn Of Robbie", "status": "ready", "supply": 296, "holders": 95, "offset": 0, "limit": 100,
"wallets": [
{ "rank": 1, "wallet": "0x844a…cdad", "amount": 54, "inWallet": 54, "inCustody": 0, "tokens": 54, "sharePct": 18.2432 },
{ "rank": 2, "wallet": "0xb1ad…2de9", "amount": 28, "inWallet": 28, "inCustody": 0, "tokens": 28, "sharePct": 9.4595 },
{ "rank": 3, "wallet": "0xb90a…7d45", "amount": 24, "inWallet": 23, "inCustody": 1, "tokens": 24, "sharePct": 8.1081 }
]
}
}
Wallet in a Collection
What one wallet holds in a collection, token by token. The wallet can be a SupraNS name. A wallet with nothing answers 200 with an empty tokens. In a v2 collection a token is { "token": "0x9e26…45bd", "name": "Tiny Legends Collection #60", "index": 60, "amount": 1, "place": "wallet", "sinceBlock": 40572178, "uri": "ipfs://…" }, with custody: { contract, protocol, kind } when it is not in the wallet.
One wallet’s NFTs in one collection, each with its image, display name, rarity and traits (metadata).
{
"ok": true,
"data": {
"index": { … }, "standard": "0x3::token", "creator": "0x9ac6…3ec0", "collection": "The Dawn Of Robbie", "status": "ready",
"wallet": "0xb90a…7d45", "amount": 24, "inWallet": 23, "inCustody": 1,
"tokens": [
{ "name": "TOKEN_105", "amount": 1, "place": "wallet", "propertyVersions": { "1": 1 }, "sinceBlock": 27672095, "uri": "https://…/robbie105/metadata.json",
"metadata": { "name": "Robbie #105", "image": "https://…/robbie105/image.png", "rarity": "Common", "traits": { "Rarity": "Common" } } },
{ "name": "TOKEN_146", "amount": 1, "place": "custody", "propertyVersions": { "1": 1 }, "sinceBlock": 47532220,
"custody": { "contract": "0x3045…3083", "protocol": "Spikey", "kind": "boost", "function": "0x3045…3083::router_stake::boost" }, "uri": "…", "metadata": { … } },
…
]
}
}
Tokens & Owners
Every token of a collection with its owners, in name order (v1) or index order (v2). Read the next page with after= the next value, until next is null. A v2 item is { token, name, index, uri, metadata, owners }, burned tokens left out, and its next looks like 2_0x2956…4dbf.
Every NFT of a collection with its owners, each with its image, display name, rarity and traits (metadata).
| Param | Description | |
|---|---|---|
limit | optional | Tokens per page, default 200, max 1000 |
after | optional | The next of the previous page |
{
"ok": true,
"data": {
"index": { … }, "collection": "The Dawn Of Robbie", "status": "ready", "limit": 200, "next": "TOKEN_279",
"items": [
{ "name": "TOKEN_1", "supply": 1, "maximum": 1, "supplyTracked": true, "largestPropertyVersion": 1, "uri": "https://…/robbie1/metadata.json",
"metadata": { "name": "Robbie #1", "image": "https://…/robbie1/image.png", "rarity": "Common", "traits": { "Rarity": "Common" } },
"owners": [ { "wallet": "0x5674…1283", "amount": 1, "place": "wallet", "propertyVersions": { "1": 1 }, "sinceBlock": 27679551 } ] },
…
]
}
}
NFTs of a Wallet
Every NFT of a wallet in both standards, grouped by collection (each with its standard and kind), the ones it has in contracts included, with their listing when for sale. The wallet can be a SupraNS name. truncated is true past 5,000 tokens of a standard.
Its SupraNS names come apart, in names (the name tokens are not in collections): the names the wallet holds (place: "wallet") and those it has for sale (place: "custody", with their listing), each with its target address, expiry and whether it is the wallet’s primary name. A name counts as for sale only while it is still in the seller’s marketplace escrow. names is null when the names index cannot be read; complete is false while some names have not been read on chain yet. Same names as SupraNS Names, plus the ones for sale.
A wallet’s NFTs, by collection, each with its image, display name, rarity and traits (metadata).
{
"ok": true,
"data": {
"index": { "v1": { … }, "v2": { … } }, "wallet": "0xb90a…7d45", "amount": 20171, "inWallet": 20157, "inCustody": 14, "truncated": false,
"collections": [
{ "standard": "0x3::token", "creator": "0xbf91…62ef", "collection": "Mintfinity Misfits", "kind": "collection", "status": "ready", "amount": 3227, "inWallet": 3227, "inCustody": 0, "tokens": [ … ] },
{ "standard": "0x4::token", "creator": "0xdc28…9184", "collection": "Tiny Legends Collection", "collectionAddress": "0x16d8…8075", "kind": "collection", "status": "ready", "amount": 89, "inWallet": 89, "inCustody": 0,
"tokens": [ { "token": "0x9e26…45bd", "name": "Tiny Legends Collection #60", "index": 60, "amount": 1, "place": "wallet", "sinceBlock": 40572178, "uri": "ipfs://…" }, … ] },
{ "standard": "0x3::token", "creator": "0x9ac6…3ec0", "collection": "The Dawn Of Robbie", "kind": "collection", "status": "ready", "amount": 24, "inWallet": 23, "inCustody": 1,
"tokens": [ { "name": "TOKEN_105", "amount": 1, "place": "wallet", "propertyVersions": { "1": 1 }, "sinceBlock": 27672095, "uri": "…", "metadata": { "name": "Robbie #105", "image": "https://…/robbie105/image.png", "rarity": "Common", "traits": { … } } }, … ] }
],
"names": { … }
}
}
names of another wallet, one held name and one for sale shown out of 124:
"names": {
"primaryName": "sunrakutrader.supra", "count": 124, "forSale": 15, "complete": true, "truncated": false,
"items": [
{ "name": "sunrakutrader.supra", "target": "0x077e…6a07", "expiresAt": "2029-10-28T10:10:50.000Z", "expired": false, "primary": true, "place": "wallet" },
{ "name": "91days.supra", "target": "0x077e…6a07", "expiresAt": "2028-02-09T07:25:14.000Z", "expired": false, "primary": false, "place": "custody",
"listing": { "marketplace": "Crystara", "contract": "0xfd56…1b85", "price": 15384.62, "priceRaw": "1538462000000", "coinType": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA",
"seller": "0x077e…6a07", "listedBlock": 11583070, "listedAt": "2025-05-04T10:46:24.085Z", "tx": "0x906c…9b" } },
…
]
}
NFT Events
Every move of an NFT of the collections above, both standards: mints, transfers, burns, and passages through a contract. One event per token and transaction (a token minted and handed to its buyer in the same transaction is one mint to the buyer). An event is published once the holder index has taken it in: the holders routes already answer with it. The history starts on November 20, 2026.
The NFT events already published, newest first; or oldest first after a cursor, to catch up.
| Param | Description | |
|---|---|---|
type | optional | Comma-separated: mint, transfer, burn (v2), custody_in (a wallet sends the NFT to a contract or an object: stake, boost, listing), custody_out (it comes out of one: unstake, cancelled listing, sale from a listing) |
standard | optional | v1 or v2 |
creator, collection | optional | One collection, as in /nft/collections/:creator/:collection (the name URL-encoded). creator alone: every collection of that creator |
collectionAddress | optional | One v2 collection by its address |
wallet | optional | Up to 100 comma-separated addresses: events where one of them is from, to or custodyOf |
fromBlock | optional | Only events of this block height or later |
limit | optional | 1 to 500, default 100 |
before | optional | Newest first, the events before this id: pass the nextCursor of the previous page |
after | optional | Oldest first, the events after this id (the last one you have): pass nextCursor again until hasMore is false |
GET /api/v1/nft/events?limit=2
{
"ok": true,
"data": {
"order": "newest_first",
"events": [
{ "id": "2", "type": "transfer", "standard": "0x3::token", "kind": "collection", "creator": "0x7f16…73f8", "collection": "Golden NANA Army",
"token": {"name": "TOKEN_1225", "propertyVersion": "1"}, "amount": 1,
"from": "0x0487…8ded", "to": "0x7905…9f67",
"function": "0x3::token::transfer_with_opt_in",
"blockHeight": 59640320, "txHash": "0x7875…6fba", "timestamp": "2026-11-20T21:42:02.609Z" },
{ "id": "1", "type": "mint", "standard": "0x4::token", "kind": "collection", "creator": "0x06a7…6345", "collection": "Spikey Heist Pass", "collectionAddress": "0x2ffd…3d5c",
"token": {"token": "0x2c3c…68a4", "name": "Spikey Heist Pass", "index": 2}, "amount": 1,
"from": null, "to": "0x6e3e…76b0", "fromKind": null, "toKind": "wallet",
"function": "0x891f31ecadc2873164394745b83f46839dbdb905596f2640e06e99e4c8ae9959::heist_pass::admin_mint",
"blockHeight": 59594761, "txHash": "0x2742…e2b8", "timestamp": "2026-11-20T12:22:08.140Z" }
],
"nextCursor": "1", "hasMore": false
}
}
id: the event’s place in the feed, the cursor ofbefore/afterand of the stream. Events come in the order they were published, which follows the blocks; an event recovered late (a block the live reading missed) comes with its own, older,blockHeight.from/to: the addresses the chain names. A v1 event does not name the contract: on acustody_intois null, on acustody_outfromis null andcustodyOfis the wallet the contract held the NFT for (the same wallet on an unstake or a cancelled listing, the seller on a sale). v2 events name both sides, withfromKind/toKind(wallet,object,contract, or null when the index does not hold that address).token: v1{ name, propertyVersion }, v2{ token, name, index }(the token’s own address);amountis above 1 only for v1 editions.function: the entry function of the transaction (script_payload,multisig_payload… when it is not one).kind:collectionorposition, as in the catalog.
NFT Stream (live)
The same events live, a few seconds after their block (Server-Sent Events): event: nft, id: the event id, data: the event of NFT Events. Same filters (type, standard, creator + collection, collectionAddress, wallet, fromBlock). Also the nft channel of the WebSocket.
- No gaps after a reconnection: send the last id you received as
Last-Event-ID(EventSource does it by itself) or?lastEventId=; the events after it are replayed first, then the stream goes on live. The replay window is 7 days: for an older id you getevent: replay_gapwithreplayFromId, and the events before it come from NFT Events (after=). - Heartbeat:
event: heartbeatevery 15 seconds withlastId. - Up to 100 concurrent connections.
curl -N -H "x-api-key: YOUR_KEY" -H "Last-Event-ID: 2" \
"https://rbbgateway.com/api/v1/stream/nft?type=transfer"
id: 3
event: nft
data: {"id":"3","type":"transfer","standard":"0x3::token","kind":"collection","creator":"0x7f16…73f8","collection":"Golden NANA Army","token":{"name":"TOKEN_18","propertyVersion":"1"},"amount":1,"from":"0x0487…8ded","to":"0x7905…9f67","function":"0x3::token::transfer_with_opt_in","blockHeight":59640341,"txHash":"0xbc28…381e","timestamp":"2026-11-20T21:42:18.283Z"}
event: heartbeat
data: {"ts":1795210953,"lastId":"3"}
Liquidity Pools
List LP pools by DEX, for one token or all of them, with locked, burned, and staked data per pool.
All LP pools on a given DEX that contain the specified token.
| Param | Description | |
|---|---|---|
:dex | required | DEX name: ATMOS, SPIKEY, DEXLYN, LEOEX, EVOSWAP, WARs DEX (URL-encoded WARs%20DEX, any case; wars, warsdex and supwars are accepted too, and hoglet for SPIKEY). An unknown name is a 404 dex_not_found listing the valid names |
:tokenId | required | Token address, coin type, or LP token address |
{
"ok": true,
"dex": "ATMOS",
"token": "0xfec11647...",
"count": 1,
"data": [
{
"lpToken": "0x...",
"pool": "0x...",
"dex": "ATMOS",
"tokenA": "0x...",
"tokenB": "0x...",
"tokens": ["0x...", "0x..."],
"reserves": [
{ "index": 0, "token": "0x...", "raw": "500000", "weight": "50" },
{ "index": 1, "token": "0x...", "raw": "1200000", "weight": "50" }
],
"totalLpSupply": "1000000000",
"lastReservesRaw": { "x": "500000", "y": "1200000", "values": ["500000", "1200000"] },
"locked": {
"totalRaw": "250000000",
"rows": [
{ "wallet": "0xabc...", "amountRaw": "150000000", "unlockTimeSec": 1790618913 },
{ "wallet": "0xdef...", "amountRaw": "100000000", "unlockTimeSec": 1815475716 }
]
},
"burned": {
"totalRaw": "100000000",
"wallets": [
{ "wallet": "0xabc...", "amountRaw": "100000000" }
]
},
"staked": {
"spikey": [
{ "wallet": "0xdef...", "amountRaw": "50000000", "source": "spikey" }
],
"atmos": [
{ "wallet": "0x123...", "amountRaw": "75000000", "source": "atmos_farm" }
]
}
}
]
}
tokens— Every asset of the pool, in pool order (Atmos: the order of the pool'sassets_metadata). Atmos pools can hold more than 2 assets;tokenA/tokenBaretokens[0]/tokens[1]reserves— One row per asset:reserves[i]is the raw reserve (base units) oftokens[i], with its weight when the pool has weights.rawisnullwhen the reserve is unknownlastReservesRaw— Legacy form of the same reserves:values[i]matchestokens[i],x/yarevalues[0]/values[1]. PreferreserveslastReservesAt— Time of the reserves (ms since epoch). Atmos: block time of the pool's last swap or liquidity event, a few seconds behind the chain; a pool without events since is re-read every one to two hours, and that read sets the time — so the field is an upper bound on the age of the reserveslastEventBlock/lastEventAt— Atmos: block and block time of the pool's last swap or liquidity event seen by the indexer (nullfor a pool without any event since 2026-10-26). WhenlastReservesAtis later thanlastEventAt, the reserves come from the timed re-readpoolType,poolKind,feeBps,ampFactor— Atmos:pool_typeas emitted on-chain (100=stable,101=weighted), swap fee in basis points and the amplification factor of a stable pool, from the pool's last snapshot event; weights are on eachreserves[i].nullwhen the pool has not emitted an event since 2026-10-26 or on other DEXeslocked.totalRaw— Total LP tokens locked in the locker contractlocked.rows— Per-wallet lock positions with amounts and unlock timesburned.totalRaw— Total LP tokens permanently burnedburned.wallets— Per-wallet burn amountsstaked.spikey— Wallets with LP tokens staked in Spikeystaked.atmos— Wallets with LP tokens staked in Atmos farmsEVOSWAPpools (concentrated liquidity) have no LP token:lpTokenisnull,locked/burned/stakedare empty, and the pool carriesname,feeRateand its livepositions(position NFT, owner, liquidity, ticks and the amount of each token)
Every indexed LP pool on a given DEX, without a token filter. Each pool has the same fields as /api/v1/lp/:dex/:tokenId. Results are paged.
| Param | Description | |
|---|---|---|
:dex | required | DEX name, same values as above |
limit | optional | Pools per page, default 100, max 500 |
offset | optional | Number of pools to skip, default 0 |
page | optional | 1-based page, the same as offset=(page-1)*limit; offset wins when both are given. The response tells page and pages |
{
"ok": true,
"dex": "ATMOS",
"total": 878,
"offset": 0,
"limit": 100,
"page": 1,
"pages": 9,
"count": 100,
"data": [ { "lpToken": "0x...", "pool": "0x...", "tokens": ["0x...", "0x..."], "reserves": [ ... ], "locked": { ... }, "burned": { ... }, "staked": { ... } } ]
}
Read the next page with offset=offset+count until offset + count ≥ total.
One pool of /api/v1/lp/:dex, by its pool address or LP token, with the same fields. Returns 404 pool_not_found when the pool is not indexed on that DEX.
| Param | Description | |
|---|---|---|
:dex | required | DEX name, same values as above |
:pool | required | Pool address or LP token address (0x..., with or without leading zeros) |
{
"ok": true,
"dex": "ATMOS",
"pool": "0x8eae6fc4...",
"data": { "lpToken": "0x...", "pool": "0x...", "tokens": ["0x...", "0x..."], "reserves": [ ... ], "lastReservesAt": 1792971096839,
"lastEventBlock": 57161124, "lastEventAt": 1793030738355, "poolType": 101, "poolKind": "weighted", "feeBps": 30, "ampFactor": 0,
"locked": { ... }, "burned": { ... }, "staked": { ... } }
}
LP Held in Wallets
Wallets holding LP tokens of the pools that contain a given token (Atmos, Spikey, Dexlyn and LeoEx pools), for a coin or an FA. Each LP amount is converted to the amount of the token it represents (LP amount × token reserve ÷ LP supply, from the latest indexed pool reserves), so wallets can be ranked by the token they hold through liquidity. Pass the same :tokenId as the other holder routes (coin type or FA metadata address).
By default only wallets are returned. LP staked in a farm or locked is held by the farm or locker contract, so it is not counted for the wallet that staked it: use include=custody,contract to see those contract accounts, or the breakdown of Wallet Balance for a wallet’s full liquidity position.
DEX coverage
| DEX | LP token | Pool reserves |
|---|---|---|
ATMOS | Pool FA | Live pool reserves (every swap and liquidity event) |
SPIKEY | Pool FA | Latest indexed reserves |
DEXLYN | Coin lp_coin::LP<X, Y, Curve> | Live pool reserves |
LEOEX | Pool FA | Live pool reserves |
DEXLYN (poolKind: "clmm") | Position NFT (no LP token) | Live pool price and position range |
EVOSWAP | Position NFT (no LP token) | Position amounts read on-chain |
WARs DEX | Pool FA (8 decimals) | Live pool reserves and LP supply |
- Wrapped tokens: some DEXes pair an FA wrapper instead of the token itself (Hoglet and LeoEx). Wrappers are discovered automatically from those DEXes’ on-chain registries and checked on-chain (same decimals, backing balance compared with the wrapper supply); a wrapper counts as its origin token, so its pools and stakes appear under the origin token. The LeoEx SUPRA wrapper is only partly backed: it counts as SUPRA, and every position whose leg is that wrapper carries
wrappedBacking(backingPct,supplyRaw,backingRaw,at), the share of its supply actually held in SUPRA by the wrapper, read on-chain every 15 minutes. - Dexlyn concentrated liquidity: each position is an NFT holding liquidity in a price range. Its token amount is computed from the position liquidity, its range and the current pool price (uncollected fees and rewards excluded). These entries have
dex: "DEXLYN_CLMM",lpToken: nulland the position NFTs innfts. A position staked in a Dexlyn gauge is held by the gauge: here it is listed under the gauge (custody) with the wallets that staked it instakedBy, and in the Wallet Balance breakdown it counts for the staking wallet (dexlynClmmGauge). Positions and owners are refreshed every 15 minutes (coverage.dexlynClmm.refreshedAt). - EvoSwap concentrated liquidity: same model (
dex: "EVOSWAP",lpToken: null, position NFTs innfts), all three EvoSwap deployments; the token amount of each position is read from EvoSwap’s own view (uncollected fees excluded). Counted in the wallet breakdown asevoswapClmm. Refreshed every 15 minutes (coverage.evoswapClmm.refreshedAt). - WARs DEX (the supWARs / Floor DEX, where Floor tokens graduate): an LP lock is an object of the DEX holding the LP until its unlock date. Here it is listed as
custodywith the wallet that locked it inlockedBy(lockId,unlockAt), and the Wallet Balance breakdown counts it for that wallet (locked). The LP a pool holds of itself (minimum liquidity, LP burned by the Floor launchpad at graduation) can never leave it:burn. Pools, LP supply and locks are read on-chain every 10 minutes. - Not covered: DEXes other than the ones above.
- Staked Dexlyn LP: classic Dexlyn LP staked in a DXLYN gauge or a Dexlyn LP staking slot is held by that contract (
custody); its position lists the wallets that staked it instakedBy, and the Wallet Balance breakdown counts it for them (dexlynStaked). - LP tokens of new Dexlyn and LeoEx pools are indexed automatically from their creation.
An LP token is counted only once its holder index is verified complete. The others are listed in coverage.details with their blockers (not_materialized means the LP token is not indexed yet), never silently dropped: when coverage.ready is lower than coverage.lpTokens, the ranking is incomplete.
Wallets holding LP of this token’s pools, largest token equivalent first.
| Param | Description | |
|---|---|---|
:tokenId | required | Coin type or FA metadata address (see Available Tokens) |
include | optional | holder (default), custody, contract, burn, comma-separated, or all |
limit | optional | Page size (default and max 20 000) |
offset | optional | Rows to skip |
{
"ok": true,
"data": {
"tokenId": "0x635f…a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"decimals": 6,
"include": ["holder"],
"total": 41,
"limit": 20000, "offset": 0, "count": 41,
"coverage": {
"lpTokens": 11, // LP tokens of this token's pools
"indexed": 6, // of which tracked by the holder index
"ready": 5, // of which counted (holder index verified complete)
"dexlynClmm": { "pools": 0, "positions": 0, "refreshedAt": "2026-10-04T12:00:00.000Z" }, // Dexlyn CLMM position NFTs
"evoswapClmm": { "pools": 0, "positions": 0, "refreshedAt": "2026-10-14T09:00:00.000Z" }, // EvoSwap CLMM position NFTs
"details": [
{ "lpToken": "0x1641…54da", "dex": "ATMOS", "pool": "0x1641…54da", "name": "JOSHKU/ROBBIE LP",
"indexed": true, "ready": true, "blockers": [], "reservesAt": "2026-09-29T20:29:24.179Z" }
]
},
"holders": [
{
"rank": 1,
"address": "0xfdf7e354…3c32ab6f40",
"classification": "holder",
"tokenRaw": "2161139546531", // token amount represented by all its LP
"token": "2161139.546531",
"lpPositions": [
{ "lpToken": "0x1641…54da", "dex": "ATMOS", "pool": "0x1641…54da", "name": "JOSHKU/ROBBIE LP",
"lpRaw": "1574011050772", "tokenRaw": "2161139546531", "token": "2161139.546531" }
]
}
]
}
}
LP of this token’s pools held by one wallet, same fields as one row above plus coverage. A wallet that holds none returns tokenRaw: "0" and an empty lpPositions (not an error).
GET /api/v1/holders/lp/0x635f53147391781c93bf3e1c68dcea5e2f7234ec371b0f241d150465606a9007::ROBBIE::ROBBIE/0x9509ac3627b418930460f89188e4c9dd2a718b540b82bf605ace3c7204b0fb8e
{
"ok": true,
"data": {
"tokenId": "0x635f53147391781c93bf3e1c68dcea5e2f7234ec371b0f241d150465606a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"kind": "coin",
"coinType": "0x635f53147391781c93bf3e1c68dcea5e2f7234ec371b0f241d150465606a9007::ROBBIE::ROBBIE",
"faMetadata": "0xf4fc8a0ffac72c0d1df07d192fb5806bbccd799c879781404b55e7688eb6b61d",
"decimals": 6,
"address": "0x9509ac3627b418930460f89188e4c9dd2a718b540b82bf605ace3c7204b0fb8e",
"tokenRaw": "10846974260198",
"token": "10846974.260198",
"classification": "holder",
"lpPositions": [
{ "lpToken": "0x029665defe82fe7a4cc645304de192fb4e0aa40f721820315fad2d97d657880d", "dex": "ATMOS",
"pool": "0x029665defe82fe7a4cc645304de192fb4e0aa40f721820315fad2d97d657880d", "name": null,
"lpRaw": "2891566184505", "tokenRaw": "10846974260198", "token": "10846974.260198" }
],
"coverage": {
"lpTokens": 33, "indexed": 33, "ready": 33,
"details": [
{ "lpToken": "0xecd0eeda58e234e1d924d91106585eab16cec07fbcfec3a1843f41ac8b697cf0", "dex": "ATMOS",
"pool": "0xecd0eeda58e234e1d924d91106585eab16cec07fbcfec3a1843f41ac8b697cf0", "name": null,
"indexed": true, "ready": true, "blockers": [], "reservesAt": "2026-11-23T22:32:51.288Z" }
]
}
}
}
coverage.details has one row per LP token of the token's pools (one shown here).
Supply Distribution
Where the whole supply of a token sits, for the tokens of the holder list. Every figure comes from our own indexes, refreshed in the background and checked against the chain; no external call is made when you query it.
- The categories add up to the on-chain supply.
pctis the share of the supply. For a coin whose supply is not tracked on-chain (e.g. PECKY),supplyisnull,pctBaseis"observed"(shares of the observed total) andotherContractsisnull. wallets: regular wallets (from the holder index).burnAddresses: tokens sent to burn addresses (still counted in the supply).liquidity: the token in DEX pools (Atmos, Spikey, Dexlyn classic and concentrated liquidity, LeoEx, EvoSwap, WARs DEX),byDex.ownershipsplits the same amount by who owns the LP:inWallets,stakedInFarms(farms, gauges, LP staking slots: exactly theviaLpblock of Staking),locked(LP lockers: Atmos LP locker, WARs DEX locks),lockedAtGraduation(LP minted when an Atmos Token Studio token graduates, kept by the Atmos contract: no function withdraws it, only an upgrade of the Atmos package could),otherContracts(LP held by any other contract),burned(burned LP: liquidity nobody can remove),unattributed(LP not indexed, uncollected concentrated-liquidity fees). LP amounts are converted at the current pool reserves (reservesAt: the oldest pool read).staked: the token staked directly (Spikey, Atmos farms, Pecky, other staking contracts),byProtocol. Staked LP is inliquidity.ownership.stakedInFarms, never counted twice.rewards: rewards not paid out yet, held by the farms and staking pools that pay in the token (Atmos farms, Spikey staking pools),byProtocol. They are out of circulation until they are claimed.locked: Atmos Token Studio locks and WARs DEX Burn & Lock locks (byProtocol:atmosTokenStudio,warsDexwhen the token has some),activeandexpiredNotWithdrawn.lent: the token held by Supralend (supplied and not borrowed out; borrowed tokens are in the borrowers’ wallets).perps: Dexlyn perps one-click trading vaults and perps vaults.fees: DEX DAO fees and the Atmos fee collector.otherContracts: every other contract account (vesting, treasuries, wrappers, bots).checks.consistentisfalsewhen the sources add up to more than the supply (e.g. reserves read at different times);overCountRawtells by how much.
Supply distribution of one token.
| Param | Description | |
|---|---|---|
:tokenId | required | Coin type or FA metadata address (see Available Tokens) |
{
"ok": true,
"data": {
"tokenId": "0x635f…a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"decimals": 6,
"supply": "990024620.93326",
"distribution": {
"wallets": { "amount": "464853…", "raw": "…", "pct": 46.9543 },
"liquidity": { "amount": "184858…", "raw": "…", "pct": 18.672,
"byDex": { "ATMOS": "146495418.99", "DEXLYN": "30739931.99", "LEOEX": "7622808.31" },
"ownership": { "inWallets": "46918865.55", "stakedInFarms": "79647269.17", "locked": "30550954.47",
"lockedAtGraduation": "0", "otherContracts": "0",
"burned": "27741070.10", "unattributed": "0.000041" },
"reservesAt": "2026-10-05T09:40:00.000Z" },
"staked": { "amount": "105691672.99", "pct": 10.6756, "byProtocol": { "spikey": "105691672.99", "atmosFarm": "0", "pecky": "0" } },
"rewards": { "amount": "25271888.94", "pct": 2.5527, "byProtocol": { "atmosFarm": "2899989.09", "spikey": "22374688.94" } },
"locked": { "amount": "0", "pct": 0, "active": "0", "expiredNotWithdrawn": "0", "byProtocol": { "atmosTokenStudio": "0" } },
"lent": { "amount": "0", "pct": 0, "byProtocol": { "supralend": "0" } },
"perps": { "amount": "0", "pct": 0, "dexlyn1ct": "0", "dexlynVaults": "0" },
"fees": { "amount": "3772…", "pct": 0.381, "dexDaoFees": "…", "atmosFeeCollector": "…" },
"burnAddresses": { "amount": "187448…", "pct": 18.9338 },
"otherContracts":{ "amount": "43393…", "pct": 4.383 }
},
"checks": { "consistent": true, "overCountRaw": "0", "lpAttributedPct": 99.99 }
}
}
Locks by Token
Every current lock of a token: Atmos Token Studio and WARs DEX Burn & Lock locks of the token (protocol wars_burnlock, with its lockId; a lock in monthly parts gives one row per part still locked), and the LP locks of the pools it is in (Atmos LP locker, WARs DEX, Burn & Lock; converted to the token at the current reserves, lpRaw keeps the LP amount). status is active, or expired when the unlock date passed but the owner has not withdrawn yet.
Locks of one token, soonest unlock first.
{
"ok": true,
"data": {
"tokenId": "0xe8e4…7148", "symbol": "BEYOND8", "decimals": 6,
"active": { "raw": "…", "amount": "25000000" },
"expiredNotWithdrawn": { "raw": "0", "amount": "0" },
"count": 1,
"locks": [
{ "kind": "token", "protocol": "atmos_token_studio", "wallet": "0x915f…", "unlockTimeSec": 1812604555,
"status": "active", "unlockAt": "2027-06-10T…", "raw": "25000000000000", "amount": "25000000" }
]
}
}
Burns by Token
Everything burned of a token, in two kinds: destroyed (Atmos Token Studio burns: the tokens no longer exist and are out of the supply; per burner, verified against the on-chain total) and sentToBurnAddresses (tokens sent to burn addresses: still counted in the supply, shown as burnAddresses in the distribution; per address, read on-chain, and per sender from the burn events history). sentToBurnAddresses.history tells how much of the burn address balances that history explains: complete when it explains all of it (coins: history since February 2025; fungible assets: since August 2026, so an older FA burn shows a coveredPct below 100). burnedPctOfOriginal = total ÷ (current supply + destroyed). Supply Distribution also returns destroyed. For native SUPRA (0x1::supra_coin::SupraCoin or 0xa) the response adds gasFees: the SUPRA destroyed as transaction fees, out of the supply (SupraScan’s all-time gross total up to anchor.height, then counted block by block; storage refunds minted back are known from the anchor on). gasFees.attributed is the part paid by known wallets since 2026-10-09 (the first fee data), net of storage refunds: the total of Gas Burners, which tells who burns it. It is lower than grossBurned for two reasons: a shorter period (not the history before 2026-10-09) and refunds deducted. On the same period and basis, the two agree within about 0.5 %.
Burns of one token.
{
"ok": true,
"data": {
"tokenId": "0x…", "symbol": "…", "decimals": 6,
"total": { "raw": "…", "amount": "…" },
"burnedPctOfOriginal": 4.21,
"destroyed": { "raw": "…", "amount": "…", "protocol": "atmos_token_studio", "verified": true, "at": "…",
"burners": [ { "wallet": "0x…", "raw": "…", "amount": "…" } ] },
"sentToBurnAddresses": { "raw": "…", "amount": "…",
"addresses": [ { "wallet": "0x…dead", "raw": "…", "amount": "…" } ],
"senders": [ { "wallet": "0x…", "raw": "…", "amount": "…" } ],
"history": { "raw": "…", "amount": "…", "coveredPct": 100, "complete": true } },
"gasFees": { "grossBurned": 53671043.2, "countedTo": 59012345, // native SUPRA only
"anchor": { "height": 56823835, "gross": 45693869.69, "at": "2026-10-22T21:04:28.000Z" },
"sinceAnchor": { "gross": 7977173.5, "refunds": 575120.1, "net": 7402053.4, "tx": 14500000, "blocks": 2084735 },
"attributed": { "from": "2026-10-09", "to": "2026-11-16", "net": 11389798.6, "payers": 39752 }, // = /gas/burners total
"byWallet": "/api/v1/gas/burners", "daily": "/api/v1/gas/daily" }
}
}
Gas Burners
Who burns the SUPRA gas: every wallet that paid fees since 2026-10-09 (the first fee data), grouped by family — the Supra oracle relayers, each arbitrage bot family (the same family ids as Arbitrage Events, plus arbitrage-other for bots with no known operator), and other. Amounts are SUPRA net of storage refunds; per wallet, fees paid from the fungible-asset store are included (the arbitrage bots pay from it). Without family, wallets lists the top payers overall; with it, that family’s wallets. Rebuilt every 5 minutes.
SUPRA gas burned by family and by wallet.
| Param | Description | |
|---|---|---|
family | optional | One family’s wallets: oracle, rbb_gateway, arbvault, arbitrage-other, other… (an unknown id returns the list) |
limit | optional | Wallets returned, default 100, max 500 (other keeps its top 100) |
GET /api/v1/gas/burners?family=rbb_gateway
{
"ok": true,
"data": {
"from": "2026-10-09", "to": "2026-11-16", "updatedAt": "2026-11-16T00:05:00.000Z",
"total": 11121162.4, "payers": 35393, "family": "rbb_gateway",
"families": [
{ "key": "oracle", "kind": "oracle", "label": "Supra oracle relayers", "note": "…", "wallets": 50, "transactions": 17802848, "amount": 9382007.1, "sharePct": 84.35 },
{ "key": "arbvault", "kind": "arbitrage", "label": "ArbVault flash-loan fleet", "note": "…", "wallets": 37, "transactions": 29781, "amount": 1040515.2, "sharePct": 9.36 }
],
"wallets": [ { "wallet": "0xffff…0330", "amount": 162383.1, "transactions": 1210, "family": "rbb_gateway", "label": "RBB Gateway", "sharePct": 1.46 } ],
"coverage": { "basis": "…", "since": "…", "wallet": "…", "labels": "…" }
}
}
Gas by Day
The SUPRA gas burned per UTC day since 2026-10-09: total, transactions, paying wallets, each family’s amount, and the biggest burners of the day (topBurner is the first of topBurners, top 5). Same basis as Gas Burners; the current day is partial.
SUPRA gas burned per day, with the day’s biggest burner.
| Param | Description | |
|---|---|---|
from, to | optional | UTC days, YYYY-MM-DD, both included |
GET /api/v1/gas/daily?from=2026-11-14
{
"ok": true,
"data": {
"from": "2026-10-09", "to": "2026-11-16", "updatedAt": "…",
"days": [
{ "day": "2026-11-14", "partial": false, "gas": 301234.5, "transactions": 575104, "payers": 2649,
"families": [ { "key": "oracle", "label": "Supra oracle relayers", "amount": 248000.1 },
{ "key": "rbb_gateway", "label": "RBB Gateway", "amount": 31000.4 } ],
"topBurner": { "wallet": "0xffff…0330", "label": "RBB Gateway", "kind": "arbitrage", "family": "rbb_gateway", "amount": 23544.8, "transactions": 61 },
"topBurners": [ … ] }
],
"coverage": { … }
}
}
Unlock Calendar
Every lock that ends within a time window, for all tokens: Atmos Token Studio and WARs DEX Burn & Lock token locks (wars_burnlock, one row per monthly part, with lockId), and LP locks (Atmos LP locker, WARs DEX, Burn & Lock). An LP unlock also gives the amounts of the pool’s tokens it represents at the current reserves (legs). totals adds up, per token, what unlocks in the window, LP legs included.
Upcoming unlocks, soonest first.
| Param | Description | |
|---|---|---|
within | optional | Window from now: 30d (default), 12h, up to 365d |
token | optional | Coin type or FA address: its own locks and the LP locks of pools it is in |
kind | optional | token or lp |
limit / offset | optional | Page size (default 500, max 5000) and rows to skip |
{
"ok": true,
"data": {
"from": "2026-10-05T10:30:00.000Z", "to": "2026-11-04T10:30:00.000Z",
"total": 45, "limit": 500, "offset": 0, "count": 45,
"totals": [
{ "token": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "395253896401168", "amount": "3952538.96401168" }
],
"unlocks": [
{ "unlockAt": "2026-10-07T13:51:00.000Z", "unlockTimeSec": 1791380000, "kind": "token", "protocol": "atmos_token_studio",
"wallet": "0x…", "token": "0x…", "symbol": "ROACH", "raw": "314085924233348", "amount": "314085924.233348" },
{ "unlockAt": "2026-10-09T00:16:00.000Z", "unlockTimeSec": 1791504960, "kind": "lp", "protocol": "atmos_lp_locker",
"wallet": "0x…", "lpToken": "0x33db…", "dex": "ATMOS", "pool": null, "lpRaw": "…",
"legs": [ { "token": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "…", "amount": "105298.15" },
{ "token": "0x927e…", "symbol": "SUPD", "raw": "…", "amount": "55856234.33" } ] }
]
}
}
Staking by Token
Every place a token is staked, pool by pool, in two blocks that never overlap: direct (the token itself: Spikey meme pools, Atmos single-token farms, Pecky nodes, staking contracts such as the SUPD global staking) and viaLp (LP of the token’s pools: Spikey LP pools, Atmos LP farms, Dexlyn gauges and LP staking slots, Dexlyn concentrated-liquidity gauges), converted to the token at the current reserves. For the tokens of the holder list.
Staking of one token.
| Param | Description | |
|---|---|---|
:tokenId | required | Coin type or FA metadata address |
include | optional | stakers: add each pool’s stakers with their token amount |
{
"ok": true,
"data": {
"tokenId": "0x635f…a9007::ROBBIE::ROBBIE", "symbol": "ROBBIE", "decimals": 6,
"direct": { "raw": "…", "amount": "105691672.99", "pools": [
{ "protocol": "spikey", "pool": "0x…|0x…|0x…", "label": "ROBBIE", "raw": "…", "amount": "66884915.72", "stakerCount": 32 } ] },
"viaLp": { "raw": "…", "amount": "91647348.18", "pools": [
{ "protocol": "atmos_farm", "pool": "0x…", "label": "JOSHKU/ROBBIE LP", "lpToken": "0x1641…", "raw": "…", "amount": "60551429.17", "stakerCount": 10 } ] }
}
}
protocol: spikey, atmos_farm, pecky, contract (a staking contract without per-wallet data, stakerCount: null), dexlyn_gauge, dexlyn_lp_staking, dexlyn_clmm_gauge.
Lending
Lending markets, one row per protocol and token (Supralend today). supplied is the value of all lend shares (interest included), borrowed the borrowed amount with interest, available the cash left in the pool, reserve the protocol reserve. borrowed can exceed supplied while interest and reserve accrue. verified: the lenders’ shares add up to the pool’s total shares. Refreshed every 30 minutes.
Lending markets.
| Param | Description | |
|---|---|---|
token | optional | Coin type or FA address |
protocol | optional | supralend |
include | optional | lenders: add every lender with its supplied amount, largest first |
{
"ok": true,
"data": {
"updatedAt": "2026-10-05T11:00:00.000Z",
"count": 7,
"markets": [
{ "protocol": "supralend", "token": "0x80f0…3a3d", "symbol": "iSUPRA", "decimals": 8,
"supplied": "49039570.93", "borrowed": "51588003.00", "available": "4118.84", "reserve": "2845690.70",
"utilizationPct": 105.2, "lenderCount": 41, "verified": true, "paused": false }
]
}
}
WARs DEX Loans
Peer-to-peer loans of the WARs DEX (supWARs): a lender posts an offer (token, amount, flat rate, duration, the collateral it accepts) or a borrower posts a request (its collateral goes into escrow at once). Once taken, the loan runs until its deadline: the borrower repays the amount plus the flat interest and gets the collateral back, or after the deadline the lender claims the collateral. There is no price-based liquidation: price moves never change a loan. Collateral is a token, a WARs DEX LP token or an NFT; each deal has its own escrow account (escrow). Read on-chain every 10 minutes.
The loans desk: settings, tokens that can be lent, counts, and the deals, newest first.
| Param | Description | |
|---|---|---|
status | optional | open (offer or request waiting to be taken), active (running), overdue (running, deadline passed: claimable by the lender), ended (all ended deals), or one ending: repaid, claimed, closed (cancelled or expired before being taken) |
kind | optional | offer (posted by a lender) or request (posted by a borrower) |
token | optional | Coin type or FA address: deals lending it or taking it as collateral (also through an LP of a pool that holds it) |
wallet | optional | Deals where this address is the lender or the borrower |
limit | optional | 1 to 200, default 50 |
offset | optional | Default 0 |
{
"ok": true,
"data": {
"updatedAt": "2026-10-27T16:00:00.000Z",
"settings": { "feeBps": 50, "maxDays": 90, "nftCollateral": true, "paused": false, "nextId": 2, "liveCount": 1, "treasury": "0x19529e79...", "operator": "0x817356da...", "pendingOperator": null },
"lendable": [ { "tokenId": "0xb50c0769...", "symbol": "SWARS", "decimals": 6 } ],
"counts": { "open": 0, "active": 1, "overdue": 0, "ended": 0 },
"total": 1, "limit": 50, "offset": 0,
"deals": [ {
"id": 1, "kind": "offer", "status": "active", "phase": "active", "statusCode": 1,
"lender": "0x...", "borrower": "0x...", "escrow": "0x...",
"loan": { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "1000000000", "amount": "1000", "usd": 10 },
"interest": { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "30000000", "amount": "30", "usd": 0.3 },
"repay": { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "1030000000", "amount": "1030", "usd": 10.3 },
"rateBps": 300, "days": 14, "platformFeeBps": 50, "platformFee": { "symbol": "SWARS", "amount": "5", ... },
"collateral": { "kind": "lp", "dex": "WARs DEX", "lpToken": "0x8a4bf0b2...", "name": "SUPRA/SWARS", "lpRaw": "10589519922", "poolSharePct": 0.0498,
"tokens": [ { "symbol": "SUPRA", "amount": "492.15922262", ... }, { "symbol": "SWARS", "amount": "2280.110668", ... } ], "usd": 14.2 },
"accepts": [ { "kind": "lp", "name": "SUPRA/SWARS", "lpRaw": "10000000000", ... }, { "kind": "nft", "nft": "0x..." } ],
"createdAt": "2026-10-27T15:30:00.000Z", "openUntil": null, "startedAt": "2026-10-27T15:40:00.000Z",
"dueAt": "2026-11-10T15:40:00.000Z", "endedAt": null, "heldFor": null, "paymentHeld": null
} ]
}
}
rateBps is a flat rate for the whole duration (300 = 3%), not a yearly rate; repay = loan + interest, repaying early still pays the whole interest. collateral is the collateral locked in the escrow (an offer only has one once taken; kind: token, lp converted to the pool's tokens at the live reserves, or nft); accepts lists what an offer accepts (any one of them, raw = minimum) or what a request escrowed. kind or the ending word can be null / ended for a deal posted before we followed the desk; statusCode is the contract's own code. heldFor / paymentHeld: what a closed deal could not hand over (its issuer froze the token, or the NFT is locked), kept in the escrow for that wallet. Amounts are decimal strings with raw integers; usd: null when the price is unknown.
One deal, same fields as a row of deals above. 404 loan_not_found for an unknown id.
| Param | Description | |
|---|---|---|
:id | required | Deal number (starts at 1) |
GET /api/v1/warsdex/loans/1
{
"ok": true,
"data": {
"id": 1, "kind": "offer", "status": "active", "phase": "active", "statusCode": 1,
"lender": "0x...", "borrower": "0x...", "escrow": "0x...",
"loan": { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "1000000000", "amount": "1000", "usd": 10 },
"interest": { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "30000000", "amount": "30", "usd": 0.3 },
"repay": { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "1030000000", "amount": "1030", "usd": 10.3 },
"rateBps": 300, "days": 14, "platformFeeBps": 50, "platformFee": { "symbol": "SWARS", "amount": "5", ... },
"collateral": { "kind": "lp", "dex": "WARs DEX", "lpToken": "0x8a4bf0b2...", "name": "SUPRA/SWARS", "lpRaw": "10589519922", "poolSharePct": 0.0498, ... },
"createdAt": "2026-10-27T15:30:00.000Z", "openUntil": null, "startedAt": "2026-10-27T15:40:00.000Z",
"dueAt": "2026-11-10T15:40:00.000Z", "endedAt": null, "heldFor": null, "paymentHeld": null
}
}
Spikey Staking
Spikey staking ledger and pool lookups (meme & LP).
Ledger
Full staking ledger snapshot with all pools, staker details, and totals.
{
"ok": true,
"rateLimitMs": 600,
"data": {
"version": 1,
"generatedAt": "2026-09-02T20:45:04.587Z",
"poolCount": 49,
"stakerCount": 212,
"pools": {
"0x...": {
"creatorAddress": "0x...",
"stakeTokenAddress": "0x...",
"rewardTokenAddress": "0x...",
"poolType": "MEME",
"tokenLabel": "SPIKE",
"rows": [
{ "wallet": "0x...", "amountRaw": "...", "lastTxHash": "0x..." }
],
"rowCount": 11,
"indexedTotalRaw": "325203911955000",
"poolTotalRaw": "325203911955000"
}
}
}
}
Meme Pools
Staking pools for a specific meme token (filtered by coin type, display ID, or label).
| Param | Description | |
|---|---|---|
:tokenId | required | Token address, coin type, or label (e.g. SPIKE) |
{
"ok": true,
"token": "0xfec11647...",
"poolType": "MEME",
"count": 1,
"data": [ { ... } ]
}
LP Pools
LP staking pools for a specific token.
| Param | Description | |
|---|---|---|
:tokenId | required | LP token address or identifier |
{
"ok": true,
"token": "0x...",
"poolType": "LP",
"count": 2,
"data": [ { ... } ]
}
Pecky Staking
Pecky node staking and Meridian SUPRA staking data.
Ledger
Full Pecky staking snapshot with all node pools, Meridian pool, and staker details.
{
"ok": true,
"rateLimitMs": 600,
"data": {
"version": 1,
"generatedAt": "2026-09-02T...",
"poolCount": 19,
"stakerCount": 106,
"pools": {
"pecky_node:TOKEN_3": {
"poolType": "NODE",
"nodeId": "TOKEN_3",
"rows": [
{ "wallet": "0x...", "amountRaw": "...", "lastTxHash": "0x..." }
],
"rowCount": 6,
"indexedTotalRaw": "..."
},
"pecky_meridian:supra": {
"poolType": "MERIDIAN",
"tokenLabel": "SUPRA",
"rows": [ ... ],
"rowCount": 19
}
}
}
}
Pools by Token
Pecky staking pools for a specific token or node.
| Param | Description | |
|---|---|---|
:tokenId | required | Token address, node ID, or label (e.g. TOKEN_3, SUPRA) |
{
"ok": true,
"token": "TOKEN_3",
"count": 1,
"data": [ { ... } ]
}
SVLT (SupraVault) Staking
SupraVault token holder data from on-chain snapshots.
Ledger
SupraVault protocol info and contract addresses.
{
"ok": true,
"rateLimitMs": 600,
"data": {
"version": 1,
"protocol": "SupraVault",
"svltMeta": "0x2a0f3e6fb5d0f25c0d75cc4ffb93ace26757939fd4aa497c7f1dbaff7e3c6358",
"v1Package": "0x81ca29bb...",
"v2Module": "0xd1c64ad5...::staking_v24"
}
}
Staking by Wallet
SupraVault staking breakdown for a specific wallet (V1 + V2). Queries the chain live.
| Param | Description | |
|---|---|---|
:wallet | required | Wallet address (0x...) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x5bf50161...",
"svltMeta": "0x2a0f3e6f...",
"totalStakedRaw": "261695499296216",
"v1": {
"stakedRaw": "100000000",
"pendingWithdrawRaw": "0",
"claimableWithdrawRaw": "50000000"
},
"v2": {
"stakedRaw": "261695399296216",
"pendingWithdrawRaw": "0",
"pendingClaimRaw": "0",
"earnedRaw": "1234567890"
}
}
}
totalStakedRaw— Total staked across V1 + V2v1.stakedRaw— V1 staked amount (stSvlt)v1.pendingWithdrawRaw— V1 pending withdrawal requestsv1.claimableWithdrawRaw— V1 claimable withdrawn tokensv2.stakedRaw— V2 staked amountv2.pendingWithdrawRaw— V2 pending withdrawalv2.pendingClaimRaw— V2 pending claimv2.earnedRaw— V2 earned rewards preview
Atmos Farms
Atmos liquidity farm staking data — pool totals, user stakes, and reward info.
Ledger
Full Atmos farm staking snapshot with all pools, staker details, and totals.
{
"ok": true,
"rateLimitMs": 600,
"data": {
"version": 1,
"generatedAt": "2026-09-02T...",
"poolCount": 12,
"stakerCount": 85,
"refs": {
"atfs_xxx": {
"poolAddress": "0x...",
"stakeMetadataAddress": "0x...",
"rewardMetadataAddress": "0x..."
}
},
"pools": {
"0x...": {
"poolAddress": "0x...",
"tokenLabel": "ROBBIE",
"poolType": "LP",
"tokenA": "0x...",
"tokenB": "0x...",
"rewardTokenLabel": "SUPRA",
"decimals": 8,
"rewardDecimals": 8,
"rows": [
{ "wallet": "0x...", "amountRaw": "...", "lastTxHash": "0x..." }
],
"rowCount": 11,
"indexedTotalRaw": "50000000000",
"poolTotalRaw": "50000000000"
}
}
}
}
Farms by Token
Atmos farm pools for a specific token (filtered by coin type, label, or address).
| Param | Description | |
|---|---|---|
:tokenId | required | Token address, coin type, or label (e.g. ROBBIE) |
{
"ok": true,
"token": "0xfec11647...",
"count": 1,
"data": [ { ... } ]
}
Wallet Positions
Everything one wallet holds in a protocol: tokens in the wallet, liquidity, stakes, locks and protocol positions, with their value in USD.
raw (base units, digit string) and amount (decimal string). usd is null when the token price or decimals are unknown; such positions are left out of totals and counted in totals.unpricedPositions. LP tokens are converted to the pool's tokens with the latest indexed reserves (reservesAt). Rewards not claimed yet are not included: they are not held by the wallet yet.
errors with partial: true; it is never reported as zero.
:wallet also takes a SupraNS name (robbie.supra, pay.robbie.supra): the request is answered for the address the name points to, and the response adds "resolvedName": { "name": "robbie.supra", "address": "0x02d3be36..." }. A name can change owner or expire: keep the address, not the name, in your records. See SupraNS Names.
Token Balances
Every token of Available Tokens the wallet holds, with its USD price and value, in one call (one index read, no chain call). For a net worth chart, call it on a schedule and keep the points on your side, together with All Positions or Liquidity Net Worth. A coin and its paired fungible asset are one token. coverage lists the tokens counted; a token still being verified is in coverage.notReady and not counted. SUPRA and tokens outside the holder list are not counted yet.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x23366eb2...",
"tokens": [
{ "tokenId": "0x90a8e901...", "symbol": "iUSDC", "decimals": 6, "balance": "57.715117", "balanceRaw": "57715117", "priceUsd": 1, "usd": 57.71, "priceAt": "2026-10-15T..." },
{ "tokenId": "0x...", "symbol": "HODL", "decimals": 6, "balance": "22396327.74668", "balanceRaw": "22396327746680", "priceUsd": 0.000000107, "usd": 2.41, "priceAt": "2026-10-15T..." }
],
"totals": { "usd": 70.69, "unpricedTokens": 1 },
"coverage": { "tokens": 147, "ready": 147, "notReady": [], "note": "..." }
}
}
All Positions
Everything our indexes know the wallet owns, in one call, with a total per category: tokens (as Token Balances), the five DEX endpoints (Hoglet, Atmos, Dexlyn, EvoSwap, WARs DEX: liquidity, farms, stakes, locks), Solido (troves net of their debt, pending withdrawals, veSOLID, vesting; its plain token balances are already in tokens), Supralend deposits (lending), Dexlyn perps one-click trading vaults (perps), SUPRA delegated to validator pools (staking.pboDelegation), PECKY staked on Pecky nodes (staking.pecky) and prediction market positions (open markets valued at the current outcome prices). Nothing is counted twice. Debts are only subtracted for Solido; Supralend borrows are not.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x23366eb2...",
"totals": {
"usd": 7238.49,
"byCategory": { "tokens": 70.69, "hoglet": 0.19, "atmos": 131.63, "dexlyn": 24.55, "evoswap": 1.49, "warsdex": 0, "solido": 0, "lending": 7009.05, "perps": 0.67, "pboDelegation": 0, "pecky": 0, "predictionMarkets": 0.22 },
"unpricedPositions": 1
},
"tokens": [ ... ],
"protocols": { "hoglet": { ... }, "atmos": { ... }, "dexlyn": { ... }, "evoswap": { ... }, "warsdex": { ... } },
"solido": { ... },
"lending": [ { "protocol": "supralend", "tokenId": "0x90a8e901...", "symbol": "iUSDC", "raw": "...", "amount": "7009.05", "usd": 7009.05 } ],
"perps": [ { "protocol": "dexlyn1ct", "symbol": "CASH", "amount": "0.83", "usd": 0.67 } ],
"staking": { "pboDelegation": null, "pecky": [] },
"predictionMarkets": [ ... ],
"coverage": { "tokens": { ... }, "note": "..." },
"partial": false,
"errors": []
}
}
Token Balance History
The wallet's balance of every token of Available Tokens, day by day (end of day, UTC), valued at that day's closing price. Walked backwards from today's exact balances: moves since August 12, 2026 come from our index (exact); older moves were rebuilt from the chain archive and checked against the index, a token whose rebuilt history does not add up is listed in coverage.mismatchedTokens and its days before August 12 are flagged estimated (on the point, and on the token with detail=tokens). coverage.estimatedTokens gives the size of each mismatch: gap = rebuilt balance minus our index balance on August 12, in tokens, and gapUsd its value at the latest close. A balance walked below zero is counted in clampedPositions and shown as zero. SUPRA gas fees (paid without a transfer event) are counted from October 9, 2026; older fees are unknown, so SUPRA is flagged estimated on the days before coverage.untrackedGas.before (reason: gas_not_recorded before October 9; fee_missing when a later transaction has no fee data, with their count in transactions; gas_index_unavailable when our gas index is briefly unavailable: every past day). untrackedGas is null when every returned day is exact. Together with Liquidity Net Worth it gives a wallet's net worth over time.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
days | optional | Days back from today, default 90, max 730 |
detail | optional | tokens: each point lists its tokens (tokenId, symbol, balance, usd, estimated when flagged) |
{
"ok": true,
"data": {
"wallet": "0x23366eb2...",
"interval": "1d",
"count": 90,
"points": [
{ "at": "2026-07-19T23:59:59.000Z", "usd": 95.55, "unpriced": 5 },
{ "at": "2026-10-16T23:59:59.000Z", "usd": 47.62, "unpriced": 1 }
],
"coverage": {
"tokens": 50, "mismatchedTokens": ["CASH"], "clampedPositions": 0,
"estimatedTokens": [{ "tokenId": "0x9176...::cdp_multi::CASH", "symbol": "CASH", "gap": "-0.0028", "gapUsd": 0 }],
"untrackedGas": { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "before": "2026-10-09", "reason": "gas_not_recorded", "transactions": null },
"note": "..."
}
}
}
unpriced counts the tokens held that day without a closing price (left out of usd).
Gas Spending
The SUPRA gas a wallet spent, from its first transaction, by category (what it was spent on), action inside the category (add or remove liquidity, stake, claim rewards, mint an NFT…), protocol and entry function, over any date range. Every transaction the wallet sent is counted with its net fee (gas used × gas price, minus the storage refund), failed ones included (failedTransactions, failedGas: fees paid for nothing). The category and the action come from the function called; a script transaction (no entry function) is classified from the events it emitted. A package we have not named is listed by its address in byProtocol.
Histories are built ahead of the requests for the wallets active on Supra and the token holders, and kept up to date within minutes. A wallet not built yet is read from the chain archive on its first request (100 transactions per read): a few thousand transactions are answered at once, a larger history (bots) is answered 202 with its progress (sync.percent, sync.etaSeconds) and a retry-after header until it is ready. Days are UTC.
Categories: swap, liquidity, staking (stakes, unstakes, reward claims, PBO delegation), governance (vote-escrow locks, votes, gauges), lending, perps, launchpad (bonding-curve trades and launches), arbitrage, vault, nft, game, prediction_market, transfer, bridge, names, multisig, account, contract_deploy, infrastructure (keepers, oracles, protocol upkeep), other.
Actions (byAction, one entry per category and action): swap, add_liquidity, remove_liquidity, collect_fees, create_pool, lock, unlock, stake, unstake, claim_rewards, fund_rewards, boost, supply, borrow, repay, withdraw, deposit, liquidate, trade, vote, propose, approve, execute, create_token, mint, burn, buy, sell, list, delist, bid, lootbox, bet, play, bridge_out, bridge_in, register, publish, transfer, wrap, vest, claim, create, update, arbitrage, other. Example: liquidity / add_liquidity, nft / mint, staking / claim_rewards.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
from, to | optional | UTC days YYYY-MM-DD, inclusive. Default: the whole history |
days | optional | The last N days (today included), 1–3650; instead of from/to |
detail | optional | days (gas per day, split by category) and/or functions (gas per entry function), comma-separated |
{
"ok": true,
"data": {
"wallet": "0x0a0571a9...",
"from": null,
"to": null,
"sync": { "status": "complete", "transactionsSent": 3589, "transactionsSynced": 3589, "firstTransactionAt": "2025-08-08T13:20:46.722Z", "lastTransactionAt": "2026-11-06T12:40:26.338Z", "syncedAt": "2026-11-07T..." },
"totals": { "gas": "260.7852596", "gasRaw": "26078525960", "sharePct": 100, "transactions": 3589, "failedTransactions": 48, "failedGas": "0.794401", "sponsoredTransactions": 415, "usd": "...", "unpricedGas": "..." },
"byCategory": [
{ "category": "swap", "gas": "114.8647328", "gasRaw": "11486473280", "sharePct": 44.04, "transactions": 650, "...": "..." },
{ "category": "staking", "gas": "75.19...", "sharePct": 28.83, "transactions": 1658, "...": "..." }
],
"byAction": [
{ "category": "swap", "action": "swap", "gas": "114.8647328", "sharePct": 44.04, "transactions": 650, "...": "..." },
{ "category": "staking", "action": "claim_rewards", "gas": "48.188918", "sharePct": 18.47, "transactions": 1126, "...": "..." },
{ "category": "staking", "action": "stake", "gas": "23.595174", "sharePct": 9.04, "transactions": 436, "...": "..." },
{ "category": "nft", "action": "lootbox", "gas": "19.311603", "sharePct": 7.4, "transactions": 192, "...": "..." },
{ "category": "liquidity", "action": "add_liquidity", "gas": "5.2526986", "sharePct": 2.01, "transactions": 29, "...": "..." }
],
"byProtocol": [
{ "protocol": "Atmos aggregator", "categories": ["swap"], "gas": "114.25...", "sharePct": 43.81, "transactions": 646, "...": "..." },
{ "protocol": null, "package": "0x6e826b29...", "categories": ["vault"], "gas": "8.751", "...": "..." }
],
"coverage": {
"source": "transactions_sent",
"sponsored": "transactions a fee payer paid for are counted in sponsoredTransactions with no gas",
"notIncluded": ["gas paid as fee payer of another wallet's transactions", "automation tasks"],
"usd": "SUPRA daily close of the day the gas was spent; gas of days without a price is in unpricedGas",
"undatedTransactions": 0
}
}
}
With detail=days: days (newest first) { "day", "gas", "gasRaw", "transactions", "failedTransactions", "usd", "usdPerSupra", "byCategory": { "swap": "1.2", ... } }. With detail=functions: functions { "function", "category", "action", "protocol", "gas", ... }. Amounts are in SUPRA (gasRaw: 10-8 SUPRA); a small negative value means storage refunds exceeded the fees. USD uses the SUPRA closing price of each day, available from September 24, 2026: older gas is in unpricedGas. Until the history is ready: 202 with { "wallet", "sync": { "status": "queued" | "syncing", "transactionsSent", "transactionsSynced", "percent", "etaSeconds" } }. A history being refreshed is served with sync.status refreshing (or stale if the refresh failed).
Solido Money
Wallet balances of CASH, bCASH, SOLID, stSOLID and stSUPRA (holder index; a token the index cannot serve yet is flagged available: false with its blockers), CDP troves (collateral and debt), pending withdrawals of the bCASH, stSUPRA and SOLID staking vaults, vote-escrow (veSOLID) locks, airdrop vesting and ecoSUPRA. Protocol positions come from our Solido index (source: "index"): a wallet is read on chain again a few seconds after each of its Solido transactions (redemptions of its trove included), and readAt gives that read; pendingRefresh: true means a newer transaction of the wallet is being read. Vault rates and USD prices (Solido Money) are refreshed every 5 minutes, and ecoSUPRA shares are valued at the current rate. Until the index is complete, or for a wallet it could not read, the positions are read on chain at request time (source: "live").
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x0e9d1f33...",
"walletBalances": [ { "symbol": "stSUPRA", "tokenId": "0x8184...::vault_core::VaultShare", "available": true, "amount": "220161.35323086", "raw": "22016135323086", "usd": 37.25 } ],
"cdp": {
"troves": [ { "collateral": "stSUPRA", "collateralMetadata": "0x98e4...", "collateralAmount": { "amount": "512331.83661349", "raw": "...", "usd": 86.69 }, "debt": { "amount": "24.83269563", "raw": "...", "usd": 24.83 }, "active": true } ],
"totalDebt": { "amount": "46.83270028", "raw": "4683270028", "usd": 46.83 }
},
"pendingWithdrawals": {
"bCash": { "asset": "CASH", "amount": "0", "raw": "0", "usd": 0, "requests": [] },
"stSupra": { "asset": "SUPRA", "amount": "81007.74385789", "raw": "...", "usd": 12.61, "requests": [ { "requestId": "214", "amount": "30041.6214441", "raw": "...", "usd": 4.68, "requestedAt": "2026-10-05T..." } ] },
"stSolid": { "asset": "SOLID", "amount": "0", "raw": "0", "usd": 0, "requests": [] }
},
"veSolid": {
"locked": { "amount": "6555.49274308", "raw": "...", "usd": 19.34 },
"expectedTotal": { "amount": "24095.47822924", "raw": "...", "usd": 71.07 },
"locks": [ { "lockId": "0x...", "locked": { ... }, "expectedTotal": { ... }, "unlockAt": "2027-11-15T...", "durationDays": 730, "aprPct": 400, "unlocked": false } ]
},
"airdropVesting": { "total": { ... }, "released": { ... }, "locked": { ... }, "releasable": { ... }, "startedAt": "2025-11-15T..." },
"ecoSupra": { "sharesRaw": "189203041089", "supra": { "amount": "574.07729265", "raw": "57407729265", "usd": 0.09 } },
"totals": { "assetsUsd": 204.11, "debtUsd": 46.83, "netUsd": 157.28, "pricesAvailable": true },
"rates": { "bCashToCash": "1.20011075", "stSupraToSupra": "1.08671457", "stSolidToSolid": "1.20123208" },
"prices": { "SUPRA": 0.00015569, "stSUPRA": 0.0001692, "CASH": 1, "bCASH": 1.20011, "SOLID": 0.00295, "stSOLID": 0.00354 },
"partial": false,
"errors": [],
"source": "index",
"readAt": "2026-11-06T08:12:40.000Z",
"pendingRefresh": false
}
}
veSolid.expectedTotal is the amount paid out at unlock (lock plus its rewards) and is not counted in totals; totals.assetsUsd counts the locked amount only.
Hoglet
Hoglet (Spikey) LP tokens in the wallet, staking pools (meme tokens and LP) and SPIKE DAO locks.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0xdf527ade...",
"protocol": "hoglet",
"liquidity": {
"usd": 0,
"positions": [ {
"dex": "SPIKEY", "lpToken": "0x7117...", "pool": "0x7117...", "name": "Spiker SUPRA-SPIKE LP",
"lpRaw": "1000000000000", "poolSharePct": 0.1478,
"tokens": [ { "tokenId": "0x...", "symbol": "SUPRA", "raw": "17655584019", "amount": "176.55584019", "usd": 0.03 }, { "tokenId": "0xbcfc...", "symbol": "SPIKE", "raw": "...", "amount": "...", "usd": 0.03, "wrappedOf": "0xfec1...::memecoins::SPIKE" } ],
"usd": 0.06, "reservesAt": "2026-10-06T..."
} ],
"coverage": { "lpTokens": 21, "ready": 20, "notReady": 1 }
},
"staking": [
{ "pool": "0x3045...|0xbcfc...|0xbcfc...", "type": "MEME", "label": "SPIKE", "rewardToken": "SPIKE", "token": { ... }, "usd": 49.57 },
{ "pool": "...", "type": "LP", "label": "Spiker SUPRA-SPIKE LP", "rewardToken": "SPIKE", "lp": { ... }, "usd": 0.06 }
],
"daoLocks": [ { "nft": "0x...", "dao": "0x4140...", "locked": { ... }, "endEpoch": 3167, "usd": 0.16 } ],
"totals": { "usd": 51, "unpricedPositions": 0 },
"partial": false,
"errors": []
}
}
Atmos
Atmos LP tokens in the wallet, farm stakes, LP locked in the Atmos LP locker and Token Studio token locks (with their unlock date).
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x1a423915...",
"protocol": "atmos",
"liquidity": { "usd": 1803.41, "positions": [ { "dex": "ATMOS", "name": "SAIYANS/BEYOND8", "lpRaw": "...", "poolSharePct": 2.1, "tokens": [ ... ], "usd": 253.92 } ], "coverage": { "lpTokens": 798, "ready": 798, "notReady": 0 } },
"farms": [ { "farm": "0x7a82...", "label": "SUPRA/BEYOND8 LP", "rewardToken": "BEYOND8", "lp": { ... }, "usd": 51.62 } ],
"lpLocks": [ { "lp": { ... }, "unlockAt": "2027-07-23T00:11:07.000Z", "unlocked": false, "usd": 56.53 } ],
"tokenStudioLocks": [ { "locked": { "symbol": "SAIYANS", "amount": "250000000", ... }, "unlockAt": "2026-10-20T10:38:37.000Z", "unlocked": false, "usd": 2109.21 } ],
"totals": { "usd": 5331.38, "unpricedPositions": 0 },
"partial": false,
"errors": []
}
}
Dexlyn
Dexlyn LP tokens in the wallet, LP staked in DXLYN gauges or LP staking slots, concentrated liquidity positions (NFTs, with inRange and gauge staking), perps one-click trading vaults and veDXLYN locks (NFTs owned or staked in the veDXLYN gauge; voting power as of readAt).
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x4443defc...",
"protocol": "dexlyn",
"liquidity": { "usd": null, "positions": [], "coverage": { "lpTokens": 52, "ready": 51, "notReady": 1 } },
"lpStaking": [ { "contract": "0x1a7e...", "kind": "gauge", "lp": { "dex": "DEXLYN", "lpToken": "0x22a2...::lp_coin::LP<...>", "tokens": [ ... ], "usd": 4.33 }, "usd": 4.33 } ],
"clmmPositions": [ { "nft": "0x...", "pool": "0x...", "name": "Dexlyn Position | SUPRA-CASH_tick(10)", "staked": false, "gauge": null, "liquidity": "...", "tickLower": -100, "tickUpper": 100, "inRange": true, "tokens": [ ... ], "usd": 3.19, "at": "2026-10-06T..." } ],
"perps1ctVaults": [ { "tokenId": "0x9176...::cdp_multi::cash", "symbol": "CASH", "raw": "1803147717", "amount": "18.03147717", "usd": 14.72 } ],
"veDxlyn": [ { "nft": "0x4329...", "name": "veDXLYN NFT position #408", "locked": { "symbol": "DXLYN", "amount": "50", ... }, "unlockAt": "2026-12-03T00:00:00.000Z", "perpetual": false, "unlocked": false, "votingPower": "1.970708866524", "staked": true, "gauge": "0x8428...", "readAt": "2026-10-06T...", "usd": 0.27 } ],
"totals": { "usd": 7.53, "unpricedPositions": 0 },
"partial": false,
"errors": []
}
}
EvoSwap
EvoSwap concentrated liquidity positions held by the wallet (position NFTs, all three EvoSwap deployments): the amount of each token the position holds (uncollected fees excluded, read from EvoSwap’s own view, refreshed every 15 minutes). EvoSwap has no LP token, so liquidity is always empty.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0x18bc49b3...",
"protocol": "evoswap",
"liquidity": { "usd": null, "positions": [], "coverage": { "lpTokens": 0, "ready": 0, "notReady": 0 } },
"clmmPositions": [ { "nft": "0x94d15639...", "pool": "0xcb0eac14...", "name": "EvoSwap CLMM 0.01%", "positionId": "2", "liquidity": "89693262", "tickLower": 0, "tickUpper": 887272,
"tokens": [ { "tokenId": "0xa", "symbol": "SUPRA", "raw": "94113998", "amount": "0.94113998", "usd": 0.002 }, { "tokenId": "0x80f0251b...", "symbol": "iSUPRA", "raw": "85480176", "amount": "0.85480176", "usd": 0.002 } ],
"usd": 0.004, "at": "2026-10-14T..." } ],
"totals": { "usd": 0.004, "unpricedPositions": 0 },
"partial": false,
"errors": []
}
}
WARs DEX
What the wallet has on the WARs DEX (the supWARs / Floor DEX, where Floor tokens graduate): LP tokens held in the wallet (liquidity), LP the wallet locked in the DEX’s own LP locks (lpLocks, with the lock id and unlock date) and LP it staked for a pool’s iAsset staking rewards (lpStaked, rewards: "iasset": pools with an iSUPRA, iETH, iUSDC, iUSDT or iWBTC side), each converted to the pool’s tokens at the live reserves, and its P2P loans: loans (open and running deals where it is the lender or the borrower, same fields as a deal plus role, owed = what the borrower repays, escrowedForYou = what the wallet owns inside the escrow: the collateral it locked, or the funds of its open offer) and loanHistory.deals (its last 20 ended deals). Only escrowedForYou counts in the totals: a loan receivable or a debt is shown, not added or subtracted. Pools, LP supply, locks and loans are read on-chain every 10 minutes.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
{
"ok": true,
"data": {
"wallet": "0xf5805150...",
"protocol": "warsdex",
"liquidity": { "usd": 0, "positions": [], "coverage": { "lpTokens": 1, "ready": 1, "notReady": 0 } },
"lpLocks": [ { "lockId": "1", "unlockAt": "2026-12-31T11:11:33.000Z", "unlocked": false,
"lp": { "dex": "WARs DEX", "lpToken": "0x8a4bf0b2...", "pool": "0x8a4bf0b2...", "name": "SUPRA/SWARS", "lpRaw": "10589519922", "poolSharePct": 0.0498,
"tokens": [ { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "49215922262", "amount": "492.15922262", "usd": 0.07 }, { "tokenId": "0xb50c0769...", "symbol": "SWARS", "raw": "2280110668", "amount": "2280.110668", "usd": 0.07 } ],
"usd": 0.14, "reservesAt": "2026-10-17T..." }, "usd": 0.14 } ],
"lpStaked": [],
"loans": [ { "id": 1, "role": "borrower", "kind": "offer", "status": "active", "dueAt": "2026-11-10T15:40:00.000Z",
"loan": { "symbol": "SWARS", "amount": "1000", ... }, "owed": { "symbol": "SWARS", "amount": "1030", ... }, "owedTo": "lender",
"escrowedForYou": { "kind": "token", "symbol": "SUPRA", "amount": "6000", "usd": 18, ... }, "usd": 18, ... } ],
"loanHistory": { "deals": [] },
"totals": { "usd": 18.14, "unpricedPositions": 0 },
"partial": false,
"errors": []
}
}
Token Cost & P&L
Average buy price, net investment, realized profit/loss and the weighted-average acquisition cost of the tokens still in the wallet, over the wallet's whole history since block 1. Same authentication and account limits as History by Token. Listed, ready Supra tokens only. Coin and paired FA holdings are merged. All amounts are decimal strings; null means unknown, never zero.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name |
:tokenId | required | Coin type or FA address of a listed, ready token |
{
"ok": true,
"data": {
"wallet": "0x...", "tokenId": "0x...", "method": "weighted_average", "currency": "SUPRA",
"purchases": {
"tokensBought": "100", "totalSpentSupra": "1000", "knownSpentSupra": "1000", "buyCount": 1, "unpricedBuyCount": 0,
"averageBuyPriceSupra": "10", "averageKnownBuyPriceSupra": "10"
},
"sales": {
"tokensSold": "50", "totalProceedsSupra": "750", "knownProceedsSupra": "750",
"knownCostBasisSoldSupra": "500", "costBasisSoldSupra": "500", "unknownCostTokensSold": "0",
"realizedPnlSupra": "250", "knownRealizedPnlSupra": "250", "sellCount": 1
},
"netInvestedSupra": "250",
"transfers": {
"tokensSent": "10", "costBasisSentSupra": "100", "knownCostBasisSentSupra": "100",
"tokensReceived": "20", "receivedWithTrackedCost": "10", "receivedWithUnknownCost": "10", "knownCostBasisReceivedSupra": "80"
},
"remainingPosition": {
"tokens": "60", "tokensInWallet": "60", "tokensStaked": "0", "tokensInLiquidity": "0",
"tokensWithKnownCost": "50", "tokensWithUnknownCost": "10",
"knownCostBasisSupra": "480", "totalCostBasisSupra": null,
"averageKnownCostPerTokenSupra": "9.6", "averageCostPerTokenSupra": null, "costCoveragePercent": "83.333333"
},
"staking": { "tokensDeposited": "0", "tokensWithdrawn": "0", "withdrawnWithUnknownCost": "0", "rewardsReceived": "0" },
"liquidity": {
"tokensDeposited": "0", "tokensWithdrawn": "0", "tokensGainedInPool": "0", "tokensLostInPool": "0",
"withdrawnWithUnknownCost": "0", "openPositions": 0
},
"otherMovements": { "tokensIn": "0", "tokensOut": "0" },
"valuation": {
"tokenToTokenPolicy": "historical_supra_rate", "historicalRateSource": "local_supra_price_history",
"historicalRateMaxAgeSeconds": 3600, "missingRatePolicy": "unknown", "stakingRewardsPolicy": "zero_cost",
"estimatedConversionsUsed": false, "rounding": "truncate_supra_and_averages_to_18_decimal_places"
},
"coverage": {
"scope": "indexed_history", "asOfBlock": "...", "activityFromBlock": 1, "balanceChangesFromBlock": 1,
"completeSinceTokenCreation": true, "archiveHistory": { "fromBlock": 1, "toBlock": 51459151 },
"crossWalletMaxHops": 4, "crossWalletsRead": 2, "unclassifiedTradeTransactions": 0,
"warnings": ["received_tokens_cost_unknown"]
},
"gasFeesIncluded": false
}
}
Average buy price: purchases.averageBuyPriceSupra is the SUPRA spent on every purchase divided by the tokens bought (swaps and the purchases a liquidity pool made for the wallet). Sales, transfers, staking and rewards do not move it. It is null when a purchase has no SUPRA value or a trade could not be classified; averageKnownBuyPriceSupra then averages the priced purchases only. It differs from remainingPosition.averageKnownCostPerTokenSupra, the cost of the tokens still held, which also includes tokens received with a known cost and staking rewards at zero cost.
Net investment is purchase spending minus sale proceeds in the indexed period; transfers do not change it. Purchases and sales include the trades a liquidity pool made for the wallet (see Liquidity); buyCount and sellCount count swaps only. It can be negative after profitable sales. Remaining cost removes the acquisition cost of sold or sent tokens, rather than subtracting their sale proceeds. Realized P&L is sale proceeds minus the cost removed on sale. If any sold quantity has unknown cost, full realized P&L is null; knownRealizedPnlSupra covers only the proportion with both known cost and known proceeds.
Unknown costs: known and unknown inventory leave proportionally under weighted-average accounting. averageKnownCostPerTokenSupra divides known remaining cost by known remaining quantity. The full-position average stays null while any remaining cost is unknown. Opening holdings inferred from the materialized balance have unknown acquisition cost.
Staking and locks: tokens staked (Spikey, Atmos and other staking pools, LP farms) or locked remain owned. They leave the wallet with their cost and stay in the position: remainingPosition.tokens is tokensInWallet plus tokensStaked, the principal staked during the indexed period and not yet withdrawn. A withdrawal (unstake, withdraw claim, unlock) takes back the principal of the same pool with its cost; any amount beyond that principal (staked before the indexed history, or yield paid with it) has unknown cost and is counted in staking.withdrawnWithUnknownCost. Staking rewards (harvest / claim) cost nothing: they come in at a known zero cost and lower the average (stakingRewardsPolicy: "zero_cost"). Staking is neither a sale nor a purchase: it changes neither net investment nor realized P&L.
Liquidity: tokens provided to a pool (Atmos, Spikey, Dexlyn, LeoEx, WARs DEX, EvoSwap positions and others) remain owned too: they enter the position with their cost, next to the SUPRA value of the other legs deposited and the LP shares received, and count in remainingPosition.tokensInLiquidity at their deposited quantity (the pool's current composition moves with the price). A withdrawal takes back its proportion of the position (shares burned over shares held). The difference between the tokens received and that proportion is a trade the pool made against the other legs: tokens gained are a purchase costing the SUPRA value given up on the other legs, tokens lost are a sale for the SUPRA value gained, with its realized P&L (liquidity.tokensGainedInPool / tokensLostInPool; pool fees can make both sides grow, then the gained tokens cost zero). Other legs are valued like swap quotes: SUPRA exactly, other tokens at their historical SUPRA rate, otherwise unknown. Withdrawn shares beyond the tracked position (liquidity provided before the indexed history, or LP tokens received from elsewhere) have unknown cost. A migration from one pool to another in a single transaction moves the position. Leg amounts come from the pool's event, so gas is never counted.
Transfers: an incoming transfer inherits the source wallet's cost immediately before that transaction only when there is one exact debit owner and one exact credit owner, no other protocol activity, and the source history can be reconstructed. Only ordinary holders are traced: transfers from exchange wallets or protocol accounts (pools, routers, lockers) keep unknown cost. Tracing is bounded to 4 hops and 12 wallets per request; a source wallet over the history budget is left untraced (source_wallet_history_too_large). Ambiguous, batched or untraceable receipts retain unknown cost. Wallet self-transfers have no effect. Other protocol movements appear in otherMovements: outgoing quantities remove average cost, while receipts have unknown cost. A zap (a swap and a liquidity deposit or withdrawal in one transaction) is split into the swap's trade and the pool's legs when the swaps account exactly for the rest of the token's movement; otherwise it counts as an unclassified trade.
Token-to-token swaps: the external asset paid or received is valued using its latest stored SUPRA price at or before the transaction, at most one hour old. These conversions are estimates and set estimatedConversionsUsed, including costs inherited through transfers. No present-day or future price is substituted. Missing timestamps, rates or decimals leave the value unknown. Aggregator summaries and route steps are never added together; intermediate route tokens cancel. Unallocatable complex trades are flagged and full trade totals remain null.
Coverage and consistency: results use a single read-only database snapshot at the token materializer's block. Activity up to block 51,459,151 (August 12, 2026, where the live index starts recording every fungible-asset balance move) comes from a history rebuilt from the Supra archive since block 1 (coverage.archiveHistory); completeSinceTokenCreation is true when it is served down to block 1, otherwise earlier activity may be missing. These are on-chain trading figures, not a tax report. A history/balance mismatch or ambiguous transaction order suppresses the known remaining basis. Money and averages are truncated to 18 decimal places only when formatting the response; accounting uses rational arithmetic, exact except that a denominator beyond 1060 is rounded to 10-48, far below the printed digits. Tokens keep at least their on-chain decimal precision.
Budgets: a history exceeding 20,000 rows in one source read, 120,000 rows across reads, or 100,000 replayed operations returns 503 cost_history_limit_exceeded. A calculation is limited to 20 seconds (503 cost_time_budget_exceeded); most answer within 1 to 3 seconds, and one runs at a time: a concurrent request gets 503 cost_busy with Retry-After: 2. Results are cached for 10 seconds. No partial aggregate is returned. Gas fees are excluded.
History by Token
A wallet's activity in one token, newest first, one item per transaction: buy / sell (with the swap route), transfer_in / transfer_out (with the counterparties), lp_add, lp_remove, pool_init, stake, unstake, claim, token_lock, lp_lock, burn. delta is the change of the token's balance in the wallet, incoming fungible asset transfers included. Each item also says what the transaction did with every other token: balanceChanges (each token the wallet sent or received), swap (every leg of the route, including the hops that do not touch the token, such as a token→SUPRA hop that prices a swap paid in another token), liquidity for lp_add / lp_remove / pool_init (both tokens of the pair and the LP shares created or returned) and gas. Tokens of Available Tokens.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
:tokenId | required | Coin type or fungible asset address of a listed token |
limit | optional | Transactions per page, default 50, max 200 |
before | optional | Block height cursor: pass nextBefore of the previous page |
types | optional | Comma-separated groups: swap, transfer, lp, stake, lock, burn |
{
"ok": true,
"data": {
"wallet": "0x1a423915...",
"token": { "tokenId": "0x838ba9d6...", "symbol": "SAIYANS", "decimals": 6 },
"count": 8,
"items": [
{ "txHash": "0x9fe297a6...", "blockHeight": 55285700, "time": "2026-10-05T13:47:44.523Z", "type": "lp_add",
"delta": { "direction": "out", "raw": "6138494590186", "amount": "6138494.590186" },
"balanceChanges": [ { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "...", "amount": "...", "direction": "out" }, { ... } ],
"liquidity": {
"pool": "0x5e1f0a2b...",
"tokens": [ { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "...", "amount": "...", "direction": "out" },
{ "tokenId": "0x838ba9d6...", "symbol": "SAIYANS", "raw": "6138494590186", "amount": "6138494.590186", "direction": "out" } ],
"shares": { "tokenId": "0x5e1f0a2b...", "symbol": null, "raw": "2170050720863", "amount": null, "direction": "in" } },
"gas": { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "50400000", "amount": "0.504", "direction": "out" },
"events": [ { "family": "lp_event", "kind": "lp_add", "protocol": "ATMOS", "pool": "0x..." } ] },
{ "txHash": "0x...", "blockHeight": 55229248, "time": "2026-10-04T21:58:55.107Z", "type": "buy",
"delta": { "direction": "in", "raw": "272928994", "amount": "2.72928994" },
"balanceChanges": [ { "tokenId": "0xd8c8ff95...", "symbol": "supUSDC", "raw": "2181227", "amount": "2.181227", "direction": "out" }, { ... } ],
"swap": [
{ "dex": "ATMOS", "pool": "0x1a26dd6c...", "in": { "tokenId": "0xd8c8ff95...", "symbol": "supUSDC", "raw": "785241", "amount": "0.785241" }, "out": { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", ... }, "routeStep": true },
{ "dex": "ATMOS", "pool": "0x8eae6fc4...", "in": { "tokenId": "0x1::supra_coin::SupraCoin", ... }, "out": { "symbol": "CASH", ... }, "routeStep": true },
{ "dex": "ATMOS_AGG", "in": { "symbol": "supUSDC", "raw": "2181227", ... }, "out": { "symbol": "CASH", "raw": "272928994", ... }, "routeStep": false } ],
"events": [] },
{ "txHash": "0x...", "blockHeight": 51594946, "time": null, "type": "transfer_in",
"delta": { "direction": "in", "raw": "62000000", "amount": "0.62" },
"counterparties": [ "0x4443defc..." ], "events": [] }
],
"nextBefore": 55193648,
"coverage": { "balanceChangesFromBlock": 1, "activityFromBlock": 48173119, "archiveHistory": { "fromBlock": 1, "toBlock": 48173118, "types": ["swap", "lp", "stake", "lock", "transfer", "burn"] }, "materializedFromBlock": 54409985, "note": "..." }
}
}
Coverage: every transaction since the chain's first block, each with its delta (balanceChangesFromBlock: 1). The live index starts at block 48,173,119 (June 19, 2026); before it, the transactions come from a history rebuilt from the Supra archive (coverage.archiveHistory): swaps, liquidity, staking, locks, transfers and burns. In that period, a transaction that only moves less than 1 SUPRA and nothing else (bot dust) is left out. When the index has no timestamp for a transaction, time is estimated from its block (timeEstimated: true, typically a few minutes off). delta: null on a recent swap means the token only passed through an aggregator route without touching the wallet's balance (balanceChanges still shows what the wallet paid and received). This is an activity log, not a ledger: no running balance is computed from it.
| Field | Description |
|---|---|
balanceChanges | Net change of every token the wallet moved in the transaction (direction in / out, SUPRA under one id whether moved as coin or as FA). The gas is not in it (see gas). Absent when nothing moved |
swap | Every swap of the transaction, in order, one line per pool step (with pool when known); routeStep: true for a step of an aggregator route; the aggregator's own line (ATMOS_AGG, routeStep: false) is the whole route, in → out: never add it to the steps |
liquidity | On lp_add, lp_remove and pool_init: pool, tokens (the tokens of the pair, deposited or withdrawn) and shares (the LP tokens minted to or returned by the wallet; amount is null when the LP token's decimals are unknown, raw is always given). Before the balance index (August 12, 2026), shares comes from the liquidity event itself (source: "event") |
| Liquidity events | Every liquidity event of the wallet on a pool that has the token as one of its sides is listed, even when the token did not pass through the wallet: a withdrawal paid out before the balance index, a migration from one pool to another (Atmos → WARs DEX), an LP stake in a farm, an LP lock. delta is then null |
gas | SUPRA gas the wallet paid from its fungible asset store (wallets holding SUPRA as FA), counted in delta of SUPRA's own history but not in balanceChanges; estimated: true before October 9, 2026 (taken from the last SUPRA withdrawal of the transaction). Gas paid from a coin store emits no balance event and is not shown |
events[].inferred | true on a pool creation, liquidity add or removal recognised from the balance moves when no liquidity event was indexed for it (the wallet receives the pool's LP token while the pool receives the tokens; creation when the pool also locks 100 units of its own LP token, as Atmos does) |
coverage.materializedFromBlock | Block from which the token's fungible asset changes come from the holder index (incoming transfers signed by others included); up to it, from the activity index. null: the activity index for every block |
All Swaps
Every swap of a wallet, all tokens together, newest first, one item per transaction: the swap legs (the whole route), the wallet's net change per token and the SUPRA gas apart. Made for a portfolio P&L across tokens; History by Token gives the other actions (transfers, liquidity, staking) of one token.
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name |
limit | optional | Transactions per page, default 50, max 200 |
before | optional | Block height cursor: pass nextBefore of the previous page |
{
"ok": true,
"data": {
"wallet": "0x11b7ef28...",
"count": 50,
"items": [
{ "txHash": "0xd00edd05...", "blockHeight": 59144297, "time": "2026-11-16T23:48:04.258Z",
"swap": [
{ "dex": "ATMOS", "pool": "0x...", "in": { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "...", "amount": "..." }, "out": { "symbol": "ROBBIE", ... }, "routeStep": true },
{ "dex": "ATMOS", "pool": "0x...", "in": { "symbol": "ROBBIE", ... }, "out": { "symbol": "RAGE", ... }, "routeStep": true },
{ "dex": "ATMOS_AGG", "in": { "symbol": "SUPRA", ... }, "out": { "symbol": "RAGE", ... }, "routeStep": false } ],
"balanceChanges": [ { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "...", "amount": "...", "direction": "out" },
{ "tokenId": "0x7c860861...", "symbol": "RAGE", "raw": "...", "amount": "...", "direction": "in" } ],
"gas": { "tokenId": "0x1::supra_coin::SupraCoin", "symbol": "SUPRA", "raw": "...", "amount": "...", "direction": "out" } }
],
"nextBefore": 56403200,
"coverage": { "swapsFromBlock": 1, "balanceChangesFromBlock": 1, "note": "..." }
}
}
| Field | Description |
|---|---|
swap | Same legs as History by Token: one line per pool step, routeStep: true for a step of an aggregator route; the aggregator's own line (*_AGG, routeStep: false) is the whole route, in → out: never add it to the steps |
balanceChanges | The wallet's net change per token in the transaction, gas apart: what it paid and what it received (the hops of a route cancel out). Given for every swap since the chain's first block |
gas | SUPRA gas paid from the wallet's fungible asset store; estimated: true before October 9, 2026 |
Coverage: every swap since the chain's first block (swapsFromBlock: 1): the live index from block 48,173,119 (June 19, 2026), a history rebuilt from the Supra archive before. Bots are included. Every item carries its swap legs, balanceChanges and gas. A very active wallet (bots with tens of thousands of indexed events) can answer 503 wallet_too_active: read it per token with History by Token.
Liquidity Net Worth
The wallet's liquidity value over time, for a net worth chart. Every hour the value of every wallet with a liquidity position is recorded with the same computation as Hoglet, Atmos, Dexlyn, EvoSwap and WARs DEX: lpUsd = LP tokens in the wallet, staked LP, locked LP and Dexlyn / EvoSwap concentrated liquidity positions; totalUsd = everything those five endpoints count (single token stakes and locks included). Positions without a price are left out of both and counted in unpricedPositions. A wallet without any liquidity position has no points.
source: "snapshot" = recorded every hour since October 13, 2026, as described above. source: "reconstructed" = one point per day (end of day, UTC) before that, rebuilt pool by pool from each pool's creation (from February 4, 2025) for Atmos, Hoglet and Dexlyn (classic pools and concentrated liquidity positions): pool balances and LP supply from the on-chain events, the wallet's LP walked back from its exact balance of today, staked LP from the farm / staking pool / gauge events, LP locked in the Atmos LP locker (current and ended locks) counted for its owner for the whole lock. Pool value: what the pool holds, leg by leg, at the day's price: SUPRA at its daily price, dollar tokens (USDC / USDT / CASH variants) at $1 (a dollar token far off peg today, such as DexlynUSDC, at its price of today), other tokens at their daily close in our price history; a token without any of these is priced through another pool of the same day. Reconstructed points only count liquidity (totalUsd = lpUsd). Checked against the first hourly recording, wallets with liquidity: median gap 1 % (Atmos, Dexlyn), 3.5 % (Hoglet); 90 % within 3.4 % (Atmos, Dexlyn) and 8.4 % (Hoglet).
On each point:
estimated: true before August 12, 2026 (see below), and clampedPositions = how many of the wallet's positions were rebuilt below zero that day and counted as zero, a sign that LP tokens moved between wallets.Precision of reconstructed points. From August 12, 2026 every move of the LP token is indexed: the wallet's LP is exact. Before that, the wallet's LP comes from the liquidity it added and removed itself (and its farm stakes): LP tokens sent from one wallet to another before August 12 are not seen, so a wallet that received or sent LP then shows the provider's amount instead. A token/token pool is valued through one of its tokens priced by another pool of the same day, which can differ from the hourly recordings (they price every leg at its latest USD price).
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra) |
interval | optional | 1h (default, every recording) or 1d (last recording of each UTC day) |
days | optional | How far back, 1 to 365 (default 30) |
{
"ok": true,
"data": {
"wallet": "0x1a423915...", "interval": "1h", "from": "2026-09-13T00:00:00.000Z", "count": 24, "firstAt": "2026-10-13T00:04:12.000Z",
"points": [ {
"at": "2026-10-13T00:04:12.000Z", "estimated": false, "clampedPositions": 0,
"lpUsd": 412.37, "totalUsd": 455.12, "unpricedPositions": 1,
"protocols": {
"atmos": { "lpUsd": 401.2, "totalUsd": 443.95, "unpriced": 1, "positions": 19 },
"hoglet": { "lpUsd": 11.17, "totalUsd": 11.17, "unpriced": 0, "positions": 1 }
},
"source": "snapshot"
} ]
}
}
SupraNS Names
SupraNS (.supra names) in both directions, read on-chain. With a name: the address it points to, when the name expires, and the primary name of that address (compare it with name to know whether the name is the one the wallet displays). With an address: its primary name, null when it has none. A primary name is returned only while it still points to the address. A name that was never registered, has expired, or is reserved by SupraNS answers 404 name_not_found. Lookups are cached for a few minutes.
| Param | Description | |
|---|---|---|
:nameOrAddress | required | name.supra, sub.name.supra or a Supra address (padded or not) |
GET /api/v1/names/robbie.supra
{
"ok": true,
"data": {
"name": "robbie.supra",
"address": "0x02d3be362f5061773da9bb026446873492ca6b475f901f30a4c2a3b0cae80443",
"expiresAt": "2028-03-04T23:39:02.000Z",
"primaryName": "robbiegame.supra"
}
}
GET /api/v1/names/0x02d3be362f5061773da9bb026446873492ca6b475f901f30a4c2a3b0cae80443
{
"ok": true,
"data": { "address": "0x02d3be36...", "primaryName": "robbiegame.supra" }
}
Primary names of up to 100 addresses in one call, for lists (owners, activity, leaderboards). Answered from our names index, updated from the SupraNS events every few minutes (a name set in the last few minutes may not show yet), with the same rule as above: a name is returned only while it has not expired and still points to the address. null when an address has none. 503 names_index_unavailable if the index cannot be read; retry later.
| Param | Description | |
|---|---|---|
addresses | required | Comma-separated Supra addresses (padded or not), 1 to 100 |
GET /api/v1/names?addresses=0x02d3be36...,0x0abc...
{
"ok": true,
"data": {
"0x02d3be362f5061773da9bb026446873492ca6b475f901f30a4c2a3b0cae80443": "robbiegame.supra",
"0x0000000000000000000000000000000000000000000000000000000000000abc": null
}
}
The SupraNS names a wallet owns (it holds the name's token), with the wallet's primary name. A name can be owned by one wallet and point to another: target is the address the name points to (null when it points nowhere). Owners come from our names index, which follows every transfer of the name tokens on-chain: a name bought, sold or sent shows its new owner within a few minutes, and a listed name belongs to the marketplace until it sells. checkedAt is when the name itself was last read on-chain (every name is re-read about once a week, and right after any SupraNS event). complete is false while some names have never been read, so the list may miss names. expired names are still listed. Sorted by name, up to 1,000 (truncated is true beyond).
| Param | Description | |
|---|---|---|
:wallet | required | Supra address (padded or not) or SupraNS name (robbie.supra: the names owned by the address it points to) |
GET /api/v1/wallets/0x02d3be362f5061773da9bb026446873492ca6b475f901f30a4c2a3b0cae80443/names
{
"ok": true,
"data": {
"address": "0x02d3be362f5061773da9bb026446873492ca6b475f901f30a4c2a3b0cae80443",
"primaryName": "robbiegame.supra",
"count": 1,
"complete": true,
"truncated": false,
"names": [
{
"name": "robbiegame.supra",
"target": "0x02d3be362f5061773da9bb026446873492ca6b475f901f30a4c2a3b0cae80443",
"expiresAt": "2028-03-04T23:39:02.000Z",
"expired": false,
"primary": true,
"checkedAt": "2026-10-27T20:06:19.000Z"
}
]
}
}
Prediction Markets
Markets, trades and positions of the Supra prediction markets HypeMarket and LeoMarket, read from the indexed on-chain events.
0x…), with outcomes 0..n-1; a LeoMarket market is leomarket:<id>, with outcomes 0 = YES and 1 = NO. Amounts come as raw (base units of the market's collateral, digit string) and formatted (decimal string); shares use the collateral's decimals. price is the HypeMarket outcome price in collateral per share after the latest trade; probability is that price over the sum of all outcome prices. LeoMarket prices are not published in its events (null).
Every market with its question, status, outcomes and current prices, volume (all time and 24h), trades and traders.
| Param | Description | |
|---|---|---|
protocol | optional | hypemarket or leomarket |
status | optional | open, expired (past its end date, not resolved yet), closed, resolved, voided, cancelled |
category | optional | HypeMarket category, e.g. sports |
sort | optional | volume (default), volume24h, trades, recent, expires |
limit / offset | optional | Page size (default 50, max 200) and offset |
{
"ok": true,
"data": {
"total": 197, "limit": 50, "offset": 0,
"markets": [ {
"market": "0x11d74980b36fb2ad70a8851fd728815590e9bcbef91b47b69eff0db341f9e53a",
"protocol": "HYPEMARKET",
"question": "El Clásico: Who wins Barcelona vs Real Madrid on Oct 25?",
"category": "SPORTS",
"status": "open",
"collateral": { "token": "0xa", "symbol": "SUPRA", "decimals": 8 },
"outcomes": [
{ "index": 0, "label": "Real Madrid", "price": 0.38826395, "probability": 0.3333, "winner": null },
{ "index": 1, "label": "Barcelona", "price": 0.38826395, "probability": 0.3333, "winner": null },
{ "index": 2, "label": "Draw", "price": 0.38826395, "probability": 0.3333, "winner": null }
],
"expiresAt": "2026-10-25T21:59:00.000Z",
"volume": { "raw": "3021127436917", "formatted": "30211.27436917" },
"volume24h": { "raw": "0", "formatted": "0" },
"trades": 2, "traders": 2, "lastTradeAt": "2026-10-11T19:01:52.000Z"
} ]
}
}
Market
One market: everything of the list above, plus its description and resolution sources (HypeMarket), the price history (prices after each trade, at most 1,000 points) and its latest trades. Once resolved: winningOutcome and payoutPerShare.
| Param | Description | |
|---|---|---|
:market | required | HypeMarket address, or leomarket:<id> |
trades | optional | Latest trades returned (default 50, max 500) |
{
"ok": true,
"data": {
"market": "0xbedf83f6...",
"status": "open",
"outcomes": [ { "index": 0, "label": "Yes", "price": 0.69924631, "probability": 0.6574 }, { "index": 1, "label": "No", "price": 0.36435083, "probability": 0.3426 } ],
"history": [ { "at": "2026-10-11T19:01:52.000Z", "prices": [0.69924631, 0.36435083] } ],
"recentTrades": [ {
"txHash": "0x...", "blockHeight": 55825758, "at": "2026-10-11T19:01:52.000Z",
"wallet": "0xbc736f9c...", "side": "buy", "outcome": 0,
"shares": { "raw": "738772302366", "formatted": "7387.72302366" },
"collateral": { "raw": "505500000000", "formatted": "5055" },
"pricesAfter": [0.69924631, 0.36435083]
} ]
}
}
Market Trades
Every trade of a market, newest first. Page with before=<nextBefore> (a block height).
| Param | Description | |
|---|---|---|
limit | optional | Default 100, max 500 |
before | optional | Only trades below this block height |
{ "ok": true, "data": { "market": "0x...", "total": 812, "count": 100, "nextBefore": 55188754, "trades": [ ... ] } }
Wallet Positions
The wallet's shares per market and outcome, with what it spent on buys, received from sells and redeemed after resolution. Rebuilt from the wallet's trades (basis: "trades"): outcome shares moved by a plain token transfer are not counted.
{
"ok": true,
"data": {
"wallet": "0xbc736f9c...", "basis": "trades", "count": 1,
"positions": [ {
"market": "0xbedf83f6...", "protocol": "HYPEMARKET", "question": "...", "status": "open",
"collateral": { "token": "0xa", "symbol": "SUPRA", "decimals": 8 },
"outcomes": [ { "index": 0, "label": "Yes", "shares": { "raw": "738772302366", "formatted": "7387.72302366" }, "price": 0.69924631, "winner": null } ],
"spent": { "raw": "505500000000", "formatted": "5055" },
"received": { "raw": "0", "formatted": "0" },
"redeemed": { "raw": "0", "formatted": "0" },
"trades": 1
} ]
}
}
Trades
/api/v1/events?type=swap (swap by swap), Pool Volume or Chain Volume by DEX.
Trades 24h
List of trades for a token in the last 24 hours.
| Param | Description | |
|---|---|---|
:tokenId | required | Token address (Supra FA address) |
{
"ok": true,
"token": "0x166f64842216...",
"period": "24h",
"count": 12,
"data": [
{
"ingestedAt": "2026-09-02T00:00:00.000Z",
"ts": 1788297600,
"token": "0x166f64842216...",
"side": "BUY",
"valueUsd": 12.5,
"priceUsd": 0.001,
"dex": "ATMOS",
"wallet": "0xa1684...",
"hash": "0x072600..."
}
]
}
ts— Unix timestamp (seconds)side—"BUY"or"SELL"valueUsd— USD value of the tradepriceUsd— Token price in USD at time of tradedex—ATMOS,ATMOS TOKEN STUDIO,SPIKEY,ATMOS_AGG,DEXLYN,LEOEXwallet— Trader wallet addresshash— Transaction hash
Trades 7d
List of trades for a token in the last 7 days.
| Param | Description | |
|---|---|---|
:tokenId | required | Token address |
{
"ok": true,
"token": "0x166f64842216...",
"period": "7d",
"count": 87,
"data": [ ... ]
}
Volume
Volume 24h
Aggregate volume and trade count for a token in the last 24 hours. Same coverage as the trades: the tokens a buy bot follows.
| Param | Description | |
|---|---|---|
:tokenId | required | Token address |
{
"ok": true,
"token": "0x166f64842216...",
"period": "24h",
"tradeCount": 12,
"volumeUsd": 156.8
}
Volume 7d
Aggregate volume and trade count for a token in the last 7 days.
| Param | Description | |
|---|---|---|
:tokenId | required | Token address |
{
"ok": true,
"token": "0x166f64842216...",
"period": "7d",
"tradeCount": 87,
"volumeUsd": 2340.5
}
DEX Volume
Volume of every Supra swap, every token included, from the on-chain swap index: per DEX over 24 hours or 7 days, per UTC day with the all-time total, and per pool. Unlike the two sections above, these do not depend on a buy bot following the token.
Chain Volume by DEX
Supra DEX volume in USD over the last 24 hours or 7 days, in total and per DEX, every token included, with the share that comes from arbitrage.
| Param | Description | |
|---|---|---|
period | optional | 24h (default) or 7d, rolling window ending now |
dex | optional | Keep only this DEX in byDex (case-insensitive: atmos, wars dex, dexlyn (classic and CLMM pools), atmos token studio, leoex, floor, spikey, hoglet, evoswap); the chain totals stay unchanged |
{
"ok": true,
"data": {
"chain": "supra",
"period": "24h",
"supraUsd": 0.00012227,
"volumeUsd": 5705.3,
"arbitrageUsd": 1871.32,
"txCount": 1019,
"arbitrageTxCount": 513,
"swapCount": 3842,
"unpricedSwapCount": 19,
"tokenCount": 115,
"byDex": [
{ "dex": "ATMOS", "volumeUsd": 3801.04, "arbitrageUsd": 1041.2, "swapCount": 2779,
"txCount": 820, "unpricedSwapCount": 0, "sharePct": 66.62, "tokenCount": 67 },
{ "dex": "LEOEX", "volumeUsd": 260.12, "arbitrageUsd": 205.4, "swapCount": 226,
"txCount": 226, "unpricedSwapCount": 0, "sharePct": 4.56, "tokenCount": 38 },
{ "dex": "DEXLYN", "volumeUsd": 190.3, "arbitrageUsd": 120.1, "swapCount": 141,
"txCount": 118, "unpricedSwapCount": 0, "sharePct": 3.34, "tokenCount": 9,
"poolTypes": [
{ "poolType": "classic", "volumeUsd": 155.2, "arbitrageUsd": 82.4, "swapCount": 112,
"txCount": 96, "unpricedSwapCount": 0 },
{ "poolType": "clmm", "volumeUsd": 35.1, "arbitrageUsd": 37.7, "swapCount": 29,
"txCount": 25, "unpricedSwapCount": 0 }
] }
],
"computedAt": "2026-10-27T22:03:00.000Z"
}
}
volumeUsd— sum of every indexed swap, each valued at its SUPRA leg (SUPRA/USD as ofsupraUsd), otherwise at the USD price of one of its two tokens. Each swap counts once: a route through several pools counts each pool swap, and the Atmos aggregator's own summary of a route is never added on topATMOS— Atmos pools, trades routed by the Atmos aggregator included (there is no separate aggregator row)arbitrageUsd/arbitrageTxCount— part ofvolumeUsdfrom arbitrage transactions: AutoFi cycles and transactions whose swaps form a closed cycle (every token bought and sold again in the same transaction, e.g. SUPRA → token on Dexlyn then token → SUPRA on LeoEx). DEX wrapper tokens (LeoEx, Hoglet) count as the token they wrapswapCount/txCount— counted pool swaps and the transactions they belong to; a transaction counts once per DEX inbyDexunpricedSwapCount— swaps without a SUPRA leg nor a known token price, left out of the USD totalstokenCount— distinct tokens traded, SUPRA excludedsharePct— the DEX's share ofvolumeUsdpoolTypes— only on DEXes with several pool types, sorted by volume:DEXLYNis one row (classic and concentrated-liquidity pools together) split intoclassicandclmm. Same counters as the row; a transaction through both pool types counts once in each
Results are cached for one minute. Returns 400 invalid_period for any other period. For one token, use Volume 24h / Volume 7d (trades of tracked tokens recorded by the buy bot).
Daily Volume by DEX
Supra swap volume per UTC day, in SUPRA and in USD, in total and per DEX: the last 30 complete days and the current day so far, each with the cumulative volume since the DEX's first swap. What a DEX's daily report needs, without counting volume on chain. Same counting as Chain Volume by DEX.
| Param | Description | |
|---|---|---|
dex | optional | Only this DEX (case-insensitive): atmos, wars dex (or wars), leoex, dexlyn (classic and CLMM pools), spikey, atmos token studio, floor, hoglet. Each day then carries that DEX's figures and no byDex |
days | optional | Number of complete days, most recent first: 1 to 30 (default 7) |
date | optional | One UTC day, YYYY-MM-DD, among the last 30 complete days or today; replaces days |
curl -H "x-api-key: YOUR_KEY" "https://rbbgateway.com/api/v1/volume/daily?dex=leoex&days=1"
{
"ok": true,
"data": {
"chain": "supra",
"dex": "LEOEX",
"windowEnd": "2026-11-23T21:00:00.000Z",
"computedAt": "2026-11-23T21:20:23.322Z",
"totalSince": "2026-02-20",
"days": [
{ "date": "2026-11-22", "from": "2026-11-22T00:00:00.000Z", "to": "2026-11-23T00:00:00.000Z",
"complete": true, "volumeSupra": 2623217.37, "arbitrageSupra": 2623217.37,
"volumeUsd": 304.12, "swapCount": 388, "unpricedSwapCount": 0,
"totalVolumeSupra": 870398563.52, "totalSwapCount": 115316 }
],
"current": { "date": "2026-11-23", "from": "2026-11-23T00:00:00.000Z", "to": "2026-11-23T21:00:00.000Z",
"complete": false, "volumeSupra": 1600527.47, "arbitrageSupra": 1600527.47,
"volumeUsd": 185.65, "swapCount": 192, "unpricedSwapCount": 0,
"totalVolumeSupra": 871999091, "totalSwapCount": 115508 }
}
}
days— complete UTC days (00:00 to 24:00), most recent first; a day without any swap is listed with zeros. Withoutdex, each day has the chain totals and abyDexlist with the same fields per DEX, highestvolumeSuprafirstcurrent— the current UTC day up towindowEnd(complete: false); not returned withdatevolumeSupra— the SUPRA side of every swap, in SUPRA (a DEX's own SUPRA wrapper counts as SUPRA). A swap between two other tokens counts for its USD value converted at the SUPRA price of its hour. A routed trade counts once per pool it went througharbitrageSupra— the part ofvolumeSuprafrom arbitrage transactions (AutoFi cycles, arbitrage bots, closed cycles)volumeUsd— the same swaps in USD, each at the SUPRA/USD of its hourunpricedSwapCount— swaps with neither a SUPRA side nor a known price, counted inswapCountbut not in the volumestotalVolumeSupra/totalSwapCount— cumulative volume and swaps since the first swap (totalSince: of the DEX withdex, of the chain without), up to the end of that day; oncurrent, up towindowEnd. EachbyDexrow has its own. A DEX's daily report reads yesterday'svolumeSupraandtotalVolumeSuprafromdays[0]totalSince— the UTC day of the first swap counted in the totals. Days older than the last 30 come from the chain's swap history: a swap between two tokens other than SUPRA is valued there at that day's on-chain price of one of them in SUPRA, and the totals have no arbitrage splitwindowEnd— swaps are counted up to this full hour. A day is complete, and listed indays, by 00:03 UTC: read yesterday's figure from 00:03 UTC, and check thatdays[0].dateis yesterday
Returns 400 invalid_days or invalid_date for a bad parameter, 404 dex_not_found (with the list dexes) for an unknown DEX, 404 date_out_of_range (with from and to) for a day outside it, and 503 warming_up with a Retry-After header for about a minute after a restart.
Pool Volume
Volume, swap count and swap fees of every Supra pool over the last 24 hours, 7 days and 30 days, every token included, from the on-chain swap index: what a liquidity page needs for fees and APY. Same counting as Chain Volume by DEX. The windows end at the last full hour (windowEnd, refreshed each hour).
| Param | Description | |
|---|---|---|
dex | optional | Only this DEX (case-insensitive): atmos, wars dex (or wars), spikey, leoex, dexlyn (classic and CLMM pools, told apart by poolKind), atmos token studio, floor, hoglet |
token | optional | Only the pools holding this token (coin type or FA address) |
pool | optional | One pool, by the pool address of /api/v1/lp/:dex (or its LP token address) |
sort | optional | volume24h (default), volume7d, volume30d, fees24h, fees7d, fees30d, swaps24h, swaps7d, swaps30d; highest first |
limit / page | optional | Page size 1 to 500 (default 100) and page number from 1 (or offset) |
curl -H "x-api-key: YOUR_KEY" "https://rbbgateway.com/api/v1/volume/pools?dex=atmos&limit=1"
{
"ok": true,
"data": {
"chain": "supra",
"windowEnd": "2026-11-14T21:00:00.000Z",
"windows": {
"24h": { "from": "2026-11-13T21:00:00.000Z", "to": "2026-11-14T21:00:00.000Z" },
"7d": { "from": "2026-11-07T21:00:00.000Z", "to": "2026-11-14T21:00:00.000Z" },
"30d": { "from": "2026-10-15T21:00:00.000Z", "to": "2026-11-14T21:00:00.000Z" }
},
"poolCount": 763,
"computedAt": "2026-11-14T21:10:02.118Z",
"sort": "volume24h", "dex": "ATMOS", "total": 393, "offset": 0, "limit": 1, "count": 1,
"data": [
{ "dex": "ATMOS", "pool": "0x3d11789b8082513d87cac363a40221944862266d35ddbb93012d20d0a7780c15",
"poolKind": "weighted", "listed": true,
"tokens": ["0x1::supra_coin::SupraCoin", "0x…"], "symbols": ["SUPRA", "$CHILL"],
"feeBps": 100, "feeSource": "pool", "lastSwapAt": "2026-11-14T20:58:41.000Z",
"24h": { "volumeUsd": 913.68, "arbitrageUsd": 402.11, "swapCount": 266, "unpricedSwapCount": 0, "feesUsd": 9.14, "feeCoverage": 1 },
"7d": { "volumeUsd": 1359.07, "arbitrageUsd": 598.3, "swapCount": 410, "unpricedSwapCount": 0, "feesUsd": 13.59, "feeCoverage": 1 },
"30d": { "volumeUsd": 2835.63, "arbitrageUsd": 1190.75, "swapCount": 902, "unpricedSwapCount": 0, "feesUsd": 28.36, "feeCoverage": 1 } }
]
}
}
pool— the pool address the swap events carry, the same id aspoolin/api/v1/lp/:dex(join on it for reserves and TVL);listedsays whether that list has the pool. Dexlyn classic swaps carry no pool address: they are placed by token pair, and a pair with several Dexlyn pools (stable and uncorrelated curves) stays one row withpool: nullandcandidatePools. Launchpad bonding curves (Atmos Token Studio, Floor, Hoglet) are one row per token:pool: null,poolKind: "bonding_curve",curveTokenvolumeUsd— each swap valued at its SUPRA leg with the SUPRA/USD of its hour, otherwise at the current USD price of one of its tokens; a routed trade counts once per pool it went through, the Atmos aggregator's summary never on top.arbitrageUsdis the part from arbitrage transactions (it pays fees too)feesUsd— the swap fees traders paid in the pool: the fee each swap event reports (WARs DEX, Dexlyn CLMM), otherwise the pool's fee rate (Atmos pools), otherwise the DEX's single rate (Spikey, 25 bps). How a DEX splits fees between liquidity providers and protocol is not applied.nullwhere no rate is known (LeoEx, Dexlyn classic);feeCoverageis the share of the volume whose fee is known (1 = all of it)feeBps/feeSource— the pool's rate and where it comes from:swap(charged in the swap events),pool(the pool's configuration),dex(one rate for the whole DEX)unpricedSwapCount— swaps without a SUPRA leg nor a known price, left out of the USD totals
A pool without any swap over the last 30 days is not listed. The 30 days are kept in memory and updated each hour; for about a minute after a restart, while they load, the route returns 503 warming_up with a Retry-After header. Returns 400 invalid_sort, invalid_limit or invalid_pool for a bad parameter.
Market & Tokens
Read-only token and market data for Solana (Nibble / Meteora) and Supra tokens. Like every other endpoint, these require an API key.
401 unauthorized. Account plan quotas apply to dashboard keys, including Premium API Keys.
Token identifier (:tokenId)
The chain is detected automatically from the format of :tokenId:
| Chain | Format | Example |
|---|---|---|
| Solana | Base58 mint address | pcBeadR2nw…GtAiWPNiBL |
| Supra | Hex address or full coin type, URL-encoded | 0x1234…abcd or 0x1234…::ROBBIE::ROBBIE |
Any other format returns 400 invalid_tokenId. The response always includes chain, and the fields returned differ by chain (see below).
Token Summary
Snapshot of a token. Solana returns live market data (price, market cap, bonding curve, volume, holders); Supra returns indexed activity counts.
On Solana, market fields (priceUsd, marketCapUsd, priceChange24hPct, bondingCurvePct, isComplete, launchpad) are null if upstream price sources are temporarily unreachable; the rest of the summary is still returned.
| Param | Description | |
|---|---|---|
:tokenId | required | Solana mint or Supra address / coin type |
Solana response
{
"ok": true,
"data": {
"tokenId": "pcBead...",
"chain": "solana",
"symbol": "FRAN",
"name": "Fran",
"dex": "meteora", // null while still on the bonding curve
"priceUsd": 0.00003892,
"marketCapUsd": 38916,
"priceChange24hPct": -16.51,
"bondingCurvePct": 100, // 0–100; 100 once graduated
"isComplete": true, // true = graduated (migrated to Meteora)
"launchpad": "Nibble", // e.g. "Nibble", "Raydium LaunchLab"
"dexPrice": { // latest on-chain price observation, or null
"baseAmountRaw": "297398779162",
"quoteAmountRaw": "99196818",
"quoteMint": "So111...112",
"source": "swap", // "swap" or "reserves"
"at": 1790163057
},
"volume24hUsd": 15600,
"tradeCount": 87,
"holders": 342,
"totalBurnedRaw": "0",
"burnerCount": 0
}
}
Supra response
{
"ok": true,
"data": {
"tokenId": "0x...::ROBBIE::ROBBIE",
"chain": "supra",
"symbol": "ROBBIE",
"name": "Robbie",
"totalEvents": 5120,
"swapCount": 3400,
"lpEventCount": 210,
"burnCount": 12,
"transferCount": 1498,
"tradeCount24h": 87,
"tradeCountPrev24h": 64,
"lastSeen": "2026-09-23T12:00:00.000Z",
"families": { "swap": 3400, "transfer": 1498, "lp_event": 210, "burn": 12 }
}
}
Token Activity
Event history for a token, newest first, with cursor pagination.
| Param | Description | |
|---|---|---|
:tokenId | required | Solana mint or Supra address / coin type |
type | optional | Comma-separated event types. Solana: swap, graduation, pool_init, lp_add, lp_remove, lp_lock. Supra: event kind values (e.g. swap). |
limit | optional | Events per page (default 50, max 200) |
before | optional | The cursor from the previous page. On Supra it can also be an ISO date (e.g. 2026-09-01T00:00:00Z). |
chain | optional | all (default), solana or supra. Returns 400 chain_mismatch if it doesn't match the token. |
{
"ok": true,
"data": {
"tokenId": "pcBead...",
"chain": "solana",
"events": [
{
"type": "swap", "side": "BUY", "mint": "pcBead...",
"baseAmountRaw": "...", "quoteAmountRaw": "...", "quoteMint": "So111...112",
"trader": "8J63...", "pool": "Amwk...", "signature": "31Jx...",
"blockTime": 1790163057, "chain": "solana"
}
],
"hasMore": true,
"cursor": "eyJ..." // pass as ?before= to get the next page
}
}
Supra events have this shape: { id, chain, family, kind, blockHeight, blockTimestamp, txHash, sender, function, wallet, assetId, assets, amountRaw, data, indexedAt }.
ATH / ATL
All-time high and low of a token since its first trade, with the date and the transaction of each, updated every 10 minutes. Supra: every swap on Atmos, Dexlyn, Spikey, WARs DEX, EvoSwap, Atmos Token Studio and Floor, in USD and in SUPRA. Solana and Ethereum (tracked tokens): bonding-curve and Meteora swaps, ToonSwap / Uniswap V2 swaps, in USD.
| Param | Description | |
|---|---|---|
:tokenId | required | Supra FA address or coin type (a coin and its paired FA count as one token), Solana mint or Ethereum address. |
{
"ok": true,
"data": {
"tokenId": "0x82ed1f483b5fc4ad105cef5330e480136d58156c30dc70cd2b9c342981997cee",
"chain": "supra",
"symbol": "SUPRAWR",
"firstTrade": { "at": "2025-11-02T02:31:41.000Z", "blockHeight": 30592585 },
"launchpad": "studio",
"graduation": { "at": "2025-12-18T23:41:07.000Z", "blockHeight": 36180952, "venue": "atmos" },
"atlFrom": "graduation",
"trades": 4854,
"ath": {
"usd": { "price": 0.00002716, "at": "2026-09-29T02:15:14.000Z", "blockHeight": 54723251,
"txHash": "0x12ad...77da", "dex": "atmos", "quotedVia": null },
"supra": { "price": 0.16008, "at": "2026-10-12T04:15:48.000Z", "blockHeight": 55866029,
"txHash": "0xd592...315d", "dex": "atmos", "quotedVia": null }
},
"atl": {
"usd": { "price": 0.00000134, "at": "2026-02-21T04:43:03.000Z", "blockHeight": 41050192,
"txHash": "0x93ad...555c", "dex": "atmos", "quotedVia": null },
"supra": { ... }
},
"updatedAt": "2026-10-24T12:00:00.000Z"
}
}
A price only counts when it is a market price: trades worth under $0.50, and trades more than 3× away from the token's price of the same hour or 5× away from the surrounding 12 hours, are left out (a single trade into a near-empty pool is not a high). atlFrom is graduation for launchpad tokens that graduated (their bonding-curve prices do not count for the low), curve for those still on their curve, else first_trade. The USD and SUPRA extremes can come from different trades (SUPRA/USD moves too). quotedVia names the token a pair was priced through when the token has no SUPRA market (e.g. a WARs DEX pair against sWARS). Tokens pegged to another asset (bridged ETH / BTC / SOL, wrapped or staked SUPRA, dollar tokens) have no ATH / ATL. On Solana and Ethereum, supra is null and blockHeight is the slot / block number; a Solana token's trades against another meme count only when it has no SOL, stable or main-pool trade within 12 hours, and hours before the bot tracked it come from GeckoTerminal hourly candles (dex: "geckoterminal", no txHash). Returns 404 no_trades for a token without a counted trade.
Token Age
When a Supra token was created on chain, with the transaction that created it, its first trade and its graduation. A creation date never changes, so this endpoint is cheap: use it as a first filter for new tokens.
| Param | Description | |
|---|---|---|
:tokenId | required | Supra FA address or coin type. A coin and its paired FA count as one token; a 1:1 wrapper (Hoglet, LeoEx) answers with the age of the token it wraps. |
{
"ok": true,
"data": {
"tokenId": "0x82ed1f483b5fc4ad105cef5330e480136d58156c30dc70cd2b9c342981997cee",
"chain": "supra",
"symbol": "SUPRAWR",
"native": false,
"createdAt": { "at": "2025-11-02T02:31:41.000Z", "blockHeight": 30592585,
"txHash": "0xcd4c...38bc", "source": "studio", "confidence": "exact" },
"ageSeconds": 31864325,
"ageFrom": "created",
"launchpad": "studio",
"creator": "0x8964...9a46",
"firstTrade": { "at": "2025-11-02T02:31:41.000Z", "blockHeight": 30592585 },
"graduation": { "at": "2025-12-18T23:41:07.000Z", "blockHeight": 36180952, "venue": "atmos" },
"wrapperOf": null
}
}
createdAt.source: studio (Atmos Token Studio), hoglet or floor for a launchpad token (the launch transaction), package for a coin or an FA created by its own contract (the publish of its code). confidence is exact for a launch or the first publish of the package holding the coin; approximate when only the account's first publish is known (an FA can be created after its code). Without a known creation, createdAt is null and ageSeconds counts from the first trade (ageFrom: "first_trade"). New launchpad tokens appear within 10 minutes. SUPRA itself returns native: true and the mainnet genesis (source: "genesis", block 1, 2024-11-21T14:55:34Z). A token of the chain whose creation cannot be derived (an FA created by an account that never published code, such as a bridged or wrapped asset) and without an indexed first trade returns 200 with createdAt, ageSeconds and ageFrom set to null, its symbol, and dating: "undatable" with a datingNote. Returns 404 unknown_token for a token we do not know yet (status: "queued": dated on chain within about 10 minutes, retry then) or that does not exist (status: "not_found"). Coin types are case-sensitive: an id sent with the wrong case that matches exactly one type of the chain is answered for that type (tokenId = the exact type, requestedTokenId = the id sent, caseCorrected: true); when it matches none or several, the 404 carries didYouMean if one exact type is known. 400 unsupported_chain for a Solana or Ethereum token.
All-Time Holders
Every account that ever held a token, since block 1: the wallets that hold it today and the ones that sold everything. Each row gives the first and the last move, what the account received and sent in total, and its highest balance. Made for airdrops and loyalty checks: who held before a date, who held a real amount, who still holds.
| Param | Description | |
|---|---|---|
:tokenId | required | Supra coin type or FA address, any token of the chain (not only the ones of /holders/tokens). A coin and its paired FA are one token: converting one into the other is not a move. |
status | optional | all (default), current (still holding) or former (holds nothing now). |
kind | optional | all (default), wallet (accounts that signed at least one transaction, or whose key was read on chain) or contract (pools, staking and vesting contracts, vaults). kind=wallet is the list to use for an airdrop. |
sort | optional | first (default: oldest holder first) or peak (highest balance first). |
minPeakRaw | optional | Only accounts whose highest balance reached this amount, in the token's smallest unit. Leaves out dust and pass-through wallets. |
firstBefore, firstAfter | optional | Only accounts whose first move is before / after this date (ISO date or unix seconds). firstBefore=2026-01-01 = early holders. |
lastBefore, lastAfter | optional | Same on the last move. |
limit, offset | optional | Page size (default 1000, max 5000) and start. total is the number of accounts matching the filters. |
GET /api/v1/tokens/0x635f…9007::ROBBIE::ROBBIE/holders/all-time?kind=wallet&limit=2
{
"ok": true,
"data": {
"tokenId": "0x635f53147391781c93bf3e1c68dcea5e2f7234ec371b0f241d150465606a9007::ROBBIE::ROBBIE",
"symbol": "ROBBIE",
"decimals": 6,
"fromBlock": 1,
"throughBlock": 59840698,
"updatedAt": "2026-11-22T22:00:57.028Z",
"everHeldCount": 1272,
"holdingCount": 824,
"status": "all", "kind": "wallet", "sort": "first",
"total": 1239, "limit": 2, "offset": 0, "count": 2,
"balanceSource": "holder_index",
"holders": [
{ "address": "0x47f0ce18603355d4d6f4c274a82ed3c354dae73dc38c1d4d44502599644a7616",
"name": null, "kind": "wallet", "holding": false, "balance": "0", "balanceRaw": "0",
"firstBlock": 10033192, "firstAt": "2025-04-12T06:56:22.000Z",
"lastBlock": 20802225, "lastAt": "2025-08-21T12:17:57.000Z", "transactions": 15,
"received": "551655.005916", "receivedRaw": "551655005916",
"sent": "551655.005916", "sentRaw": "551655005916",
"peak": "201267.507872", "peakRaw": "201267507872",
"net": "0", "netRaw": "0" },
{ "address": "0x5563bfcd43eed58ff650567be69fda34fbb298da44e065c6f94db7d1cfdc74a8",
"name": null, "kind": "wallet", "holding": true, "balance": "141.246914", "balanceRaw": "141246914",
"firstBlock": 10040187, "firstAt": "2025-04-12T09:19:38.000Z",
"lastBlock": 10040187, "lastAt": "2025-04-12T09:19:38.000Z", "transactions": 1,
"received": "141.246914", "receivedRaw": "141246914", "sent": "0", "sentRaw": "0",
"peak": "141.246914", "peakRaw": "141246914", "net": "141.246914", "netRaw": "141246914" }
]
}
}
everHeldCount and holdingCount count the whole token, whatever the filters. A move is the net change of an account in one transaction: tokens that only pass through an account inside a transaction (a router, a flash loan) are not counted, so transactions is the number of transactions that changed its balance. net = received − sent. peak is the highest balance reached after a transaction. For a token of the holder index, balance is what the account holds today, read from that index (checked on chain), and holding is balance > 0 (balanceSource: "holder_index"); for any other token balance is null and holding is net > 0. The status filter and holdingCount always use net. name is the account's primary SupraNS name. kind is wallet, contract (a pool, a staking or vesting contract, a vault: an account without a key) or null when nothing classifies the account yet (it received the token and never signed a transaction); the kind filter leaves those out. The amounts in token units are null for a token whose decimals the Gateway does not know: use the Raw fields.
Limits: an account that held the token from the genesis of the chain has no first deposit on chain, so its net can be negative and its history starts at its first move; a burn made by a contract without an event leaves the burnt amount in net; for SUPRA, gas is taken without a balance event, so net is what an account received minus what it sent, gas not deducted (use balance). throughBlock is the last block counted (about ten minutes behind the chain). For the exact balance of a holder today, use the Holder List.
Token Wrappers
The FA wrappers that some DEXes put in their pools instead of the token itself, each with the token it stands for, 1:1. Hoglet pairs hold 0x3db0…7c43 (BWSUP) for native SUPRA and their own FA for coins such as ROBBIE (0xb2bb6c…), LEO or SPIKE; LeoEx does the same. The list comes from the DEXes’ on-chain registries and each backing is checked against the wrapper’s supply. Events and the swap stream already add the original token next to a wrapper (data.tokenInOrigin, data.tokenOutOrigin, data.tokenAOrigin, data.tokenBOrigin, data.tokensOrigin).
{
"ok": true,
"data": {
"count": 73,
"wrappers": [
{ "wrapped": "0x3db05342523bd72817b09f264761a7621eeb21d0960d9676ba5ce14651b17c43",
"token": "0x1::supra_coin::SupraCoin", "dex": "HOGLET", "wrapper": "0xa383…9c3e",
"decimals": 8, "backingPct": 100.37, "partialBacking": false, "verifiedAt": "2026-11-17T12:09:59.037Z" },
{ "wrapped": "0xb2bb6cf9b84d34ccb7d1a560e68a848da8f99c503a3d5919731f3c3ee6a37b2",
"token": "0x635f53147391781c93bf3e1c68dcea5e2f7234ec371b0f241d150465606a9007::ROBBIE::ROBBIE", "dex": "HOGLET", … }
]
}
}
backingPct = tokens held by the wrapper contract / wrapper supply at the last check (null when not checked, e.g. no supply). partialBacking: true marks a wrapper not fully backed: count it as the token with care.
Trending
Tracked tokens ranked by 24h volume or 24h trade count, across both chains.
| Param | Description | |
|---|---|---|
sort | optional | volume (default) or trades |
chain | optional | all (default), solana or supra |
limit | optional | Max tokens returned (default 20, max 50) |
{
"ok": true,
"data": {
"sort": "volume",
"chain": "all",
"tokens": [
{ "rank": 1, "tokenId": "pcBead...", "chain": "solana", "symbol": "FRAN",
"dex": "meteora", "volume24hUsd": 15600, "tradeCount": 87 },
{ "rank": 2, "tokenId": "0x...::ROBBIE::ROBBIE", "chain": "supra", "symbol": "ROBBIE",
"volume24hUsd": 9800, "tradeCount": 54 }
]
}
}
Graduations
Recent bonding-curve graduations, newest first. On Solana, graduated tokens migrate to Meteora.
| Param | Description | |
|---|---|---|
chain | optional | all (default), solana or supra |
limit | optional | Max results (default 20, max 50) |
{
"ok": true,
"data": {
"graduations": [
{ "chain": "solana", "type": "graduation", "mint": "...", "signature": "...", "blockTime": 1790163057 },
{ "chain": "supra", "tokenId": "0x...", "txHash": "0x...", "blockHeight": 51430000,
"blockTimestamp": "2026-09-08T12:00:00.000Z", "data": { ... } }
]
}
}
Contracts (Supra)
Every account of Supra mainnet that has published Move code (930 accounts in November 2026), with whether its code can still change and who can change it, and a journal of the events that matter for the security of the funds they hold: new contracts, upgrades, control changes, multisig proposals and executions, and the first call of each function added by an upgrade. The list is built from every 0x1::code::PublishPackage event since block 1; new contracts are added as they are deployed. The journal also covers the multisig events of every multisig wallet that has no code (treasuries, escrows, team wallets): those events carry contract: false.
/api/v1/stream/contracts requires Premium+.
asOf (the time the data reflects) and delaySeconds (7200). The live stream delivers each event as soon as it happens.
Upgradable or immutable
| Field | Meaning |
|---|---|
packages[].policy | Upgrade policy of each package (0x1::code::PackageRegistry): compatible (new versions must keep the public interface), arbitrary (no compatibility check) or immutable (the code can never change) |
upgradable | false when every package is immutable, true otherwise |
control.kind | Who can sign for the account, and so publish an upgrade: key (one private key), multisig (owners, required signatures), no_key (key revoked, e.g. a resource account: only its own code can sign), vault (resource account deployed through a deployment vault such as governance_vault 0x6dc465…: its admin signs the upgrades through the vault, renounced true once nobody can), object (code object, upgraded by its owner), framework (0x1, on-chain governance) |
functionsAddedNotCalled | Entry functions added by an upgrade since we first read the contract and never called yet. Their first call is a new_function_called event |
Contract List
Every contract account, newest first (by first publish block), with a summary of the whole set.
| Param | Description | |
|---|---|---|
upgradable | optional | true or false |
control | optional | Comma-separated: key, multisig, no_key, vault, object, framework, unknown |
q | optional | Search in the address, package and module names |
limit | optional | Page size (default 100, max 500) |
offset | optional | Rows to skip (default 0) |
GET /api/v1/contracts?control=multisig&limit=1
{
"ok": true,
"data": {
"updatedAt": "2026-11-04T06:30:40.263Z",
"asOf": "2026-11-04T04:30:40.263Z", "delaySeconds": 7200,
"summary": { "total": 930, "upgradable": 922, "immutable": 8,
"byControl": { "key": 848, "no_key": 61, "multisig": 11, "object": 9, "framework": 1 } },
"total": 11, "offset": 0, "limit": 1,
"contracts": [
{
"address": "0xb16caf04d8d60bea001e71e36a020ac657b3e318b942a6f090703c5ebd9da371",
"label": "CovenantFloor",
"upgradable": true,
"packages": [{ "name": "CovenantFloor", "policy": "compatible", "upgradeNumber": 11, "modules": ["floor"] }],
"control": { "kind": "multisig", "required": 2, "owners": ["0x2121…b088", "0xa8dc…dea2", "0x97e5…b1d1"] },
"firstPublishHeight": 55913669,
"watchedSince": "2026-11-04T06:18:10.554Z",
"checkedAt": "2026-11-04T06:18:10.554Z",
"functionsAddedNotCalled": []
}
]
}
}
One Contract
The same fields as the list, plus the exposed functions and structs of each module.
| Param | Description | |
|---|---|---|
:address | required | Account address (with or without leading zeros) |
{
"ok": true,
"data": {
"address": "0xb16c…a371", "label": "CovenantFloor", "upgradable": true, "…": "…",
"modules": [
{ "name": "floor",
"functions": [ { "name": "withdraw_house_to", "kind": "entry", "signature": "withdraw_house_to (&signer, address, u64)" } ],
"structs": ["Chip", "HouseWithdrawn"] }
]
}
}
404 contract_not_found: the address has never published code.
Contract Events
The journal of contract events, newest first, paged with cursor, up to 2 hours ago (asOf; the live stream has the latest ones). Recorded live since November 4, 2026; the 30 days before were rebuilt from the archive and carry backfilled: true (no status, packages or changes, and no new_function_called).
| Param | Description | |
|---|---|---|
type | optional | Comma-separated, see the table below. Default: every type |
address | optional | Only the events of this account (or calling it through a multisig) |
contract | optional | true: only accounts with code; false: only multisig wallets without code. Default: both |
limit | optional | Page size (default 50, max 500) |
before | optional | The cursor of the previous page, or an ISO date |
| Type | When |
|---|---|
contract_deployed | A new account publishes its first package (status says upgradable or immutable and who controls it) |
package_published | A known account publishes another package |
contract_upgraded | A new version of a package: packages (upgrade number, policy before / after), changes (added / removed / changed exposed functions, new modules and structs), code (what changed inside the bytecode, see below) |
upgrade_failed | A publish signed by the account failed on chain (failure) |
control_changed | Multisig created over the account, key rotated or capability offered, owners added or removed, signatures required changed (control); for a multisig wallet: owners or signatures required changed. Since November 11, 2026, also the roles a contract keeps in its own storage: admin or owner named, claimed, renounced, added or removed, pause / emergency switch, fee recipient, protocol fee switch, funds withdrawn by the admin (control.role, see below) |
new_function_called | First call of an entry function added by an upgrade (function, arguments) |
multisig_proposal | A multisig owner proposed a transaction: proposal = call, upgrade or hash_only (only the payload hash is stored until it runs) |
multisig_executed | The multisig ran a call (function, arguments, transfer for token transfers). An upgrade run by a multisig is one contract_upgraded event with multisig |
multisig_execution_failed / multisig_rejected | An approved transaction failed when run / a proposal was rejected |
GET /api/v1/contracts/events?type=new_function_called,contract_upgraded&limit=20
{
"ok": true,
"data": {
"types": ["new_function_called", "contract_upgraded"],
"events": [
{ "id": "0x9974…08a0:0", "type": "new_function_called",
"address": "0xb16c…a371", "contract": true, "label": "CovenantFloor",
"blockHeight": 57811841, "blockTimestamp": "2026-11-03T06:17:52.561Z", "txHash": "0x9974…08a0",
"sender": "0x2121…b088", "function": "floor::withdraw_house_to",
"arguments": ["0x1978…b427", "10035255000000"],
"multisig": { "sequence": 12, "approvals": 2, "owner": "0x2121…b088" },
"status": { "upgradable": true,
"packages": [{ "name": "CovenantFloor", "policy": "compatible", "upgradeNumber": 11 }],
"control": { "kind": "multisig", "required": 2, "owners": ["…"] } } }
],
"hasMore": true,
"cursor": "0x9974…08a0:0"
}
}
id= transaction hash and index of the event in it; also the SSEid.contract:falsefor a multisig wallet without code (only multisig andcontrol_changedevents, nostatus);labelis then its name when known (e.g. a SUPRA allocation escrow), else the short address.- Fields that do not apply to a type are absent.
transfer.amountRawis in raw units oftransfer.token. status: the contract as read right after the event.control.role(control_changedfrom a role stored in the contract, e.g. Spikey's AMM admin):kind=admin,pause,fee_recipient,fee_switch(protocol fee on / off,feeOn) oradmin_withdrawal(the admin sent funds the contract holds, e.g. Spikeycoin_wrapper::collect_accumulated_fees:to,amountRaw,token);step=named(a new admin is designated: in a two-step handover it takes effect once claimed),claimed,changed,renounced,added,removedorcancelled(setfor a pause or fee switch,withdrawnfor a withdrawal);to(new admin or fee recipient),previous(when the event gives it),paused(true/false),event(the contract event it was read from).control.callis the function called. Such a change does not change who can upgrade the code (status.control).code(upgrades recorded since November 5, 2026): the bytecode compared function by function, private functions included.changedFunctions(body changed, with visibility),addedFunctions/removedFunctions,constants(per changed function, the constant values it no longer loads / now loads, e.g.{"function": "leoex::greedy_prefix", "removed": ["16"], "added": ["24"]}),changedStructs(modules whose struct layouts changed),impact(below).{}= the same bytecode published again; absent when no earlier bytecode was recorded.code.impact[]: for each changed or added function, what the code it runs can do, followed into the Supra framework and the other contracts it calls:readOnly(no global storage write anywhere, nothing passed by reference: it cannot move funds),writes,mutParam,sensitive(framework calls such ascoin::withdrawwith alabel: moves funds, mints or burns, signs for an account, changes ownership, publishes code, freezes accounts;ownfalse when made by another contract it calls),sensitiveAdded/sensitiveRemoved(direct calls compared with the previous version),roots(theentry,publicandviewfunctions of the contract that run it),unknown(what could not be followed, e.g. dispatchable tokens).
Live Stream (Premium+)
The contract events as they happen (Server-Sent Events), same objects as Contract Events, with no delay (the REST endpoints trail it by 2 hours). Premium+ only: other plans receive 403 premium_key_required.
| Param | Description | |
|---|---|---|
type | optional | Comma-separated event types |
address | optional | Only one account |
contract | optional | true / false: only accounts with code / only multisig wallets |
Last-Event-ID (header) | optional | Sent by EventSource on reconnect: the events missed since that id are sent first (up to 500). Also accepted as ?lastEventId= |
id: 0x9974…08a0:0
event: new_function_called
data: {"id":"0x9974…08a0:0","type":"new_function_called","address":"0xb16c…a371","label":"CovenantFloor","function":"floor::withdraw_house_to",…}
event: heartbeat
data: {"ts":1793769422,"clients":3}
- The SSE
eventname is the event type;heartbeatevery 30 s. - Events reach the stream within a few seconds of the block (journal polled every 2 s).
- Max 100 concurrent connections (
503 too_many_connections).
Premium+ API
The endpoints of this page need the Premium+ plan: the live streams (Server-Sent Events), the event and arbitrage history, every price in one call and the candles. Other plans receive 403 premium_key_required with requiredPlan: "premium_plus"; keys configured outside the dashboard receive 403 super_key_required. The same live streams are also available on one socket: see WebSocket.
SSE Events Stream
Real-time Server-Sent Events stream of swaps, burns, LP events, and graduations.
| Param | Description | |
|---|---|---|
tokenId | optional | Only this token’s events (Solana mint, Supra coin type or FA address) |
type | optional | Comma-separated: trade (Supra), swap, burn, lp_add, lp_remove, lp_lock, pool_init |
chain | optional | supra or solana |
Every Supra swap, live: chain=supra&type=swap streams every swap of the chain, all tokens and DEXes, as soon as it is indexed (a few seconds after its block). Each event is a row of /events?type=swap (same fields, data.dex, data.tokenIn / data.amountIn, data.tokenOut / data.amountOut, same rules to count a routed trade once), with the row id as the SSE id: each swap comes once. Add tokenId to keep the swaps where that token goes in or out. After a reconnection, fill the gap with /events?type=swap&after= and skip the ids you already have. Without chain=supra, type=swap is the Solana swaps only, as before. type=trade is different: the Supra trades of the tokens that have a buybot, with their USD value and side.
event: swap
data: {"mint":"...","type":"swap","side":"buy","amountUsd":12.5,"wallet":"...",...}
event: heartbeat
data: {"ts":1725782400}
- Heartbeat every 30s to keep connection alive
- Max 100 concurrent connections
- Trades and Solana events are read from local JSONL ledgers in real-time; Supra swaps (
chain=supra&type=swap) from the swap index every 2 s
GET /api/v1/stream/events?chain=supra&type=swap
id: 59131204:3:0:swap:swap:0x…
event: swap
data: {"chain":"supra","type":"swap","id":"59131204:3:0:swap:swap:0x…","family":"swap","kind":"swap","blockHeight":"59131204","blockTimestamp":"2026-11-17T05:20:11.000Z","txHash":"0x…","data":{"dex":"ATMOS","tokenIn":"0xa","amountIn":"…","tokenOut":"0x…","amountOut":"…","user":"0x…"},"indexedAt":"2026-11-17T05:20:13.100Z",…}
Events History (REST)
The past side of the events stream: on-chain events of every token, newest first, paged with cursor. Premium key only. Each burn event carries burnKind (destroyed or sent_to_burn_address, the burn address in data.burnAddress), the same split as Burns by Token. Transfers of coins to burn addresses are covered since February 2025; fungible assets since August 2026.
Events history (Supra).
| Param | Description | |
|---|---|---|
type | optional | Comma-separated: burn, token_lock, token_unlock, lp_add, lp_remove, lp_lock, lp_unlock, pool_init, farm_stake, farm_unstake, farm_init, rewards_claim, arbitrage, swap, transfer. Default: every type except swap and transfer. Without token, swap and transfer each come alone (type=swap, type=transfer; 400 swap_alone_without_token / 400 transfer_alone_without_token otherwise) |
token | optional | Coin type or FA address: only that token’s events. Without it, every token: type=swap then gives every swap of the chain, newest first |
poolToken | optional | Coin type or FA address: the pool events (lp_add, lp_remove, lp_lock, farms…; all of them when type is omitted) of every pool that holds this token, on any DEX, emptied pools included. token on these types is the LP token itself. Not with token (400 token_or_pool_token) nor with other types (400 pool_token_pool_types_only) |
burnKind | optional | destroyed (Atmos Token Studio burns: the tokens no longer exist) or sent_to_burn_address (transfers to 0xff…ff, 0x0…0ff…ff, 0x…dead or 0x0), comma-separated |
limit | optional | Page size (default 50, max 500) |
before | optional | The cursor of the previous page, or an ISO date |
after | optional | type=swap without token only: the swaps after this point, oldest first. An ISO date to start, then the after value of the previous response. Not with before (400 before_or_after) nor with other types or a token (400 after_swap_feed_only) |
type=arbitrage returns one indexed summary per confirmed AutoFi or repaid vault arbitrage, including its swap legs in data.legs. It works globally or with token. Historical transactions require a separate backfill. data.profitRaw is profit in data.profitAssetId; data.profitSupraRaw and data.netProfitSupraRaw are profit before and after SUPRA gas. data.profitConversion says exact_native or executed_route_estimate. Amounts are raw units; missing figures could not be verified or converted.
GET /api/v1/events?type=arbitrage&token=0xa&limit=20
type=swap returns the indexed swap events: one row per pool swap with data.dex, data.tokenIn / data.amountIn and data.tokenOut / data.amountOut (raw units), the trader in data.user, and the pool in data.raw.pool (Atmos, Dexlyn CLMM pools), data.raw.pool_addr (LeoEx) or data.pairAddress (Spikey, WARs DEX). A routed trade has several rows in one transaction: to count each trade once, as Chain Volume does, skip the ATMOS_AGG rows (the aggregator's summary of legs listed beside it) and the data.isRouteStep rows whose transaction also has the Atmos pool row with the same amounts. Without token, the pages follow the block height: page with before = the cursor of the previous page. Dexlyn is one DEX: its CLMM pools come as data.dex: "DEXLYN" with data.poolKind: "clmm", everywhere in the API (events, streams, arbitrage, volume, positions).
GET /api/v1/events?type=swap&limit=200
type=transfer returns the token transfers between wallets: one event per recipient, with the sender in from, the recipient in to, the token in assetId and the amount in amountRaw (raw units). kind is coin or fa; a fungible-asset transfer also gives both stores in data.fromStore / data.toStore. Only transactions that call a transfer function count (supra_account::transfer, primary_fungible_store::transfer, batch transfers, the Atmos multi-send…, the function is in function): tokens moved inside a swap, a stake, a claim or a script are not transfers, so no transaction is both a transfer and another event. A transfer to a burn address is served as its burn event only, so a page can hold fewer events than limit: follow hasMore and cursor, not the page size. SUPRA transfers under 1 SUPRA are left out. With token, that token’s transfers, alone or with other types; without it, every transfer of the chain, newest first, paged with before (after is for the swap feed only). Covered from June 19, 2026 (block 48,173,119), with some blocks of August 2026 incomplete; transfers before late September 2026 have blockTimestamp: null, blockHeight is always set. A SUPRA transfer that leaves as a coin and arrives as a fungible asset (or the reverse) is not listed yet (about 1% of the SUPRA transfers).
GET /api/v1/events?type=transfer&token=0x1::supra_coin::SupraCoin&limit=100
{ "type": "transfer", "from": "0x9f24…35b9", "to": "0x7a41…137b", "id": "…", "chain": "supra", "family": "transfer", "kind": "coin",
"blockHeight": "59754587", "blockTimestamp": "2026-11-21T22:38:55.517Z", "txHash": "0x…", "sender": "0x9f24…35b9",
"function": "0x1::supra_account::transfer", "assetId": "0x1::supra_coin::SupraCoin", "amountRaw": "59465300000000", "data": { … } }
DEX wrappers. Hoglet and LeoEx pools hold an FA wrapper instead of the token itself (Hoglet: 0x3db0…7c43 for native SUPRA, 0xb2bb6c… for ROBBIE…). The indexed fields keep the address the pool holds; next to each wrapper the event adds the original token: data.tokenInOrigin, data.tokenOutOrigin, data.tokenAOrigin, data.tokenBOrigin, and data.tokensOrigin (same order as data.tokens). Fields absent = no wrapper. The full list: /tokens/wrappers. On pool events, data.tokenA / data.tokenB follow the pool’s own order (data.tokens); a side moved as a coin is written as its coin type, a side without a coin as its FA address.
New swaps since the last read. To follow every swap of the chain from a server, read the same feed forwards with after: start with an ISO date (e.g. one minute ago), then pass the after value of each response to the next call. Each response holds the swaps after that point, oldest first. When nothing is new, events is empty and after comes back unchanged; with hasMore: true, call again right away. Only whole blocks are served: a block whose swaps are still being written (they arrive within a few seconds) waits for the next call, so the cursor never skips a swap. A swap shows up about 10 to 15 s after its block. One call every 5 s is plenty; faster calls only add empty responses.
GET /api/v1/events?type=swap&after=2026-11-16T21:00:00Z&limit=500
{ "ok": true, "data": { "types": ["swap"], "events": [ /* oldest first */ ], "hasMore": false, "cursor": null, "after": "eyJ2Ijox..." } }
GET /api/v1/events?type=swap&after=eyJ2Ijox...&limit=500
{
"ok": true,
"data": {
"types": ["burn", "token_lock"],
"events": [
{ "type": "token_lock", "id": "…", "chain": "supra", "family": "lp_event", "kind": "token_lock",
"blockHeight": 55241755, "blockTimestamp": "2026-10-04T07:04:00.000Z", "txHash": "0x…",
"sender": "0x…", "function": "0x707d…::token_studio_locker::lock_tokens", "wallet": "0x…",
"assetId": "0x…", "assets": ["0x…"], "amountRaw": "…", "data": { … } }
],
"hasMore": true,
"cursor": "…"
}
}
Arbitrageur Profits
Premium leaderboard from indexed, confirmed Supra arbitrages. Profits are converted to SUPRA using the transaction's executed route before gas is subtracted. Route conversions are estimates; native SUPRA profits are exact. Amounts are raw units (8 decimals). Historical transactions require a separate backfill.
| Param | Description | |
|---|---|---|
days | optional | Recent window, 1–90 days (default 30) |
limit | optional | Maximum arbitrageurs, 1–100 (default 50) |
netProfitSupraRaw is the total net only when every counted arbitrage can be converted; netProfitCount and estimatedCount show coverage and estimates. Complete rows rank by net SUPRA first. wallets groups addresses only when their transactions prove the same Ed25519 signing key on-chain; unproven links stay separate. Per-arbitrage net and gas appear in /api/v1/events?type=arbitrage.
GET /api/v1/arbitrageurs/profits?days=30&limit=2
{
"ok": true,
"data": {
"unit": "SUPRA",
"decimals": 8,
"days": 30,
"arbitrageurs": [
{ "wallet": "0xffffffe52493d87422b77a933ff853c21643a1f99be05eb17ecb668e78a1f693",
"wallets": ["0xffffffe52493d87422b77a933ff853c21643a1f99be05eb17ecb668e78a1f693", "0xffffffffff7a330d08f562671c472f90cb3d5923c5a94a9204f268e80c043764", "…"],
"signerPublicKeys": ["0xdc8cba9fd494bb6ffa6a32b50871509b0e026c9b8357b461dcdbb1c9bd64be17"],
"arbitrageCount": 950, "profitSupraRaw": "163784169591127",
"netProfitSupraRaw": "136962935173442", "knownNetProfitSupraRaw": "136962935173442",
"convertedCount": 950, "netProfitCount": 950, "estimatedCount": 0 },
{ "wallet": "0xb597a60c833e465ffb11f10d8fc23ca94bcef8220e07f34dc53c3c07b7b6e9c5",
"wallets": ["0xb597a60c833e465ffb11f10d8fc23ca94bcef8220e07f34dc53c3c07b7b6e9c5"],
"signerPublicKeys": ["0x731f1b95ffa07e27fa6c107ec7eed73309b442f0170ee9d793a00355e4f3ef74"],
"arbitrageCount": 2425, "profitSupraRaw": "103972464653900",
"netProfitSupraRaw": "103906638303900", "knownNetProfitSupraRaw": "103906638303900",
"convertedCount": 2425, "netProfitCount": 2425, "estimatedCount": 0 }
]
}
}
Arbitrage Events (REST)
One complete event per Supra arbitrage transaction, failed ones included: everything needed to report it without a node RPC (loans, every planned cycle, every swap, gas, profit and where it went). Oldest first, paged forward with after, so a client can backfill and then follow the stream with the same ids. Premium (Premium+ on the v2 plans). History from block 57 432 967 (October 29, 2026); older arbitrages are summarized in /api/v1/events?type=arbitrage.
| Param | Description | |
|---|---|---|
after | optional | Stream id: only events after it (the nextCursor of the previous page, or the last id you stored). Default: from the start |
limit | optional | Page size, 1–500 (default 100) |
wallet | optional | Comma-separated addresses: transactions they signed, paid gas for or changed a balance of |
module | optional | Comma-separated 0x<address> or 0x<address>::<module>: transactions whose entry function is in it. wallet, module and family are alternatives (an event matching any of them is returned); 100 addresses at most in all |
family | optional | Comma-separated bot families: rbb_gateway, arbvault, leoex, atmos-agg, cycle-executor, autofi (see the family field). arbvault includes the fleet's failed shots, which carry no loan. An unknown id answers 400 invalid_family with the list |
status | optional | success or fail |
fromBlock | optional | Only transactions from this block height |
GET /api/v1/arbitrage/events?module=0xa054584e1fd6325d05694ac08279febc20344240c1dea850fae673c500b0792a&limit=500
GET /api/v1/arbitrage/events?module=0xa054…792a&after=18342&limit=500
GET /api/v1/arbitrage/events?family=arbvault,leoex&status=fail&limit=500
{ "ok": true, "data": { "events": [ { "id": "18343", "type": "arbitrage", "revision": 1, … } ], "nextCursor": "18343", "hasMore": false } }
nextCursor is the id of the last event returned (the after you sent when the page is empty): store it and pass it as after. Ids grow in delivery order, not block order: an event re-indexed later (a corrected decoding, revision + 1, same txHash) comes again with a higher id. Only the last revision of each transaction is returned; keep one record per txHash, the highest revision.
Event fields
Addresses are full (lowercase, 0x + 64 hex). A token is always its fungible-asset address: a coin type is given as its paired FA, SUPRA as 0x000…000a. Amounts are raw base units as decimal strings; tokenDecimals gives the decimals of every token of the event (null when unknown).
| Field | Meaning |
|---|---|
id, type, revision | Stream id (string, for after and Last-Event-ID); arbitrage (the only type); 1, raised when the transaction is re-indexed with a different result |
txHash, blockHeight, blockTimestamp | Transaction hash (unique per event), block, ISO 8601 UTC |
sender, feePayer, sequenceNumber | Signing wallet; the gas payer when it is another account; sender sequence number |
payloadType | entry_function (a call of a published module) or script (a Move script: entryFunction is null, so only wallet= matches it, not module=). Events written before the field was added (2026-11-07) do not carry it: there, entryFunction: null means a script. |
entryFunction, typeArguments | <address>::<module>::<function> (null for a Move script) and its type arguments |
source | What made it an arbitrage: cycle_executor, autofi, flash_loan (a vault::Borrowed / Repaid loan), arb_function, arb_wallet_script / arb_wallet (a wallet known for its arbitrages) |
family | The bot family of the sender, { id, label }, or null: wallets run by one operator, tied by the chain. rbb_gateway is the RBB Gateway arbitrage bot: its operators are named *.rbbgateway.supra on SupraNS and it trades from its own vault through the contract published by admin.rbbgateway.supra (no flash loan). The contract called: atmos-agg (agg_orchestrator 0x647892…), cycle-executor (0xa05458…), leoex (leoex::arb / leoex::router), autofi. The private flash-loan vault borrowed from: arbvault (vault 0x25ef1e…, whose admin lists every allowed borrower; a failed shot of the fleet carries no loan but still says arbvault). The wallet the profit goes to: the 0x77ae… / 0x3e06… Move scripts pay LEOEX's fee wallet, so they are leoex. Resolved when the event is served: a family added later applies to past events too, without a new revision |
privatePool | true when a leg sold into a pool the bot prices itself (the cycle_executor vault pools, leg dex cycle_executor vault pool): the profit of such a shot is the gap between a public pool and the bot's own price, not between two public pools. Resolved when the event is served |
status, vmStatus | success or fail; on failure { module, code, name, message } of the abort (code in hex, e.g. E_STALE / 0x1e); other failures keep the VM status as message (e.g. OUT_OF_GAS) |
gasUsed, gasUnitPrice, gasRaw | Gas units, raw price per unit, gasUsed × gasUnitPrice in raw SUPRA. On every event, failed ones too |
loans[] | One entry per flash loan: token, amount, lender (the vault), repaid, fee (repaid − amount). A cycle_executor batch borrows per cycle from its vault (no loan event on-chain: the vault's store pays the cycle's input out and gets it back), so each entry also has its cycleIndex |
cycles[] | Every planned cycle, also when skipped or when the transaction failed: index (0-based), executed, skipReason ({ code, text } of a CycleSkipped; the codes are the contract's own), token (start and end token), amountIn (the planned amount when not executed), amountOut, profit (amountOut − amountIn), fundingSource (vault or own_balance), borrowed (part of the loan this cycle used, 0 if none). cycle_executor plans are read from the call arguments (plannedPath, plannedPools), so a failed batch lists every cycle with executed: false. For other bots the cycles are the ones the swaps close: a cycle ends on the first swap that returns its start token, so A → SUPRA → B → A is one cycle; a route that does not chain (a buy sold back on several pools) is one cycle. The plan of a failed transaction is known only for cycle_executor |
legs[] | Every swap in execution order: order (1-based), cycleIndex, dex, pool (plain address; null for a Dexlyn classic pool we have not listed yet), poolType (only when the pool is named by a type: Dexlyn classic LiquidityPool<X, Y, Curve>, the cycle_executor vault pools, which share the contract's address and differ by their type — identify a pool by pool + poolType), tokenIn, tokenOut, amountIn, amountOut, decimalsIn, decimalsOut, feeAmount (pool fee in tokenIn, when the DEX states it), eventIndex |
profits[], profitRaw, profitToken | Gross profit of the executed cycles per token (token, amount, nativeAmount, conversion); profitRaw / profitToken when there is one profit token (null when several, "0" when none) |
profitNativeRaw, netProfitNativeRaw, profitConversion | Gross profit in raw SUPRA; profitNativeRaw − gasRaw; exact_native (SUPRA profits), executed_route (rate of a swap between the token and SUPRA in the same transaction), spot_price (our pool spot price) or partial (a token could not be converted and is left out) |
balanceChanges[], balanceChangesComplete | Net change per address and token in the transaction (delta, signed), gas included: where the profit went. balanceChangesComplete: false when a store's owner is not known yet (its moves are left out) |
{
"id": "18343", "type": "arbitrage", "revision": 1,
"txHash": "0x0e1b6004…5695", "blockHeight": 57956895, "blockTimestamp": "2026-11-04T21:47:20.405Z",
"sender": "0x2afdffc5…233a", "sequenceNumber": 120,
"payloadType": "entry_function",
"entryFunction": "0xa054584e…792a::cycle_executor::run_vault_batch_v2", "typeArguments": [],
"source": "cycle_executor", "status": "success", "vmStatus": null,
"gasUsed": "155", "gasUnitPrice": "100000", "gasRaw": "15500000",
"loans": [ { "token": "0xb50c0769…3602", "amount": "630080231", "lender": "0xa761ef08…1a4b", "repaid": "630080231", "fee": "0", "cycleIndex": 0 } ],
"cycles": [ { "index": 0, "executed": true, "skipReason": null, "token": "0xb50c0769…3602",
"amountIn": "630080231", "amountOut": "635825980", "profit": "5745749", "fundingSource": "vault", "borrowed": "630080231" } ],
"legs": [
{ "order": 1, "cycleIndex": 0, "dex": "cycle_executor vault pool", "pool": "0xa054584e…792a",
"poolType": "0xa054584e…792a::cycle_executor::VaultPool<0xb50c0769…3602, 0xa>",
"tokenIn": "0xb50c0769…3602", "tokenOut": "0x000…000a", "amountIn": "630080231", "amountOut": "54084147406", "decimalsIn": 6, "decimalsOut": 8 },
{ "order": 2, "cycleIndex": 0, "dex": "Atmos", "pool": "0xa1b3811b…152d",
"tokenIn": "0x000…000a", "tokenOut": "0xb50c0769…3602", "amountIn": "54084147406", "amountOut": "635825980", "decimalsIn": 8, "decimalsOut": 6, "feeAmount": "189294515" } ],
"profits": [ { "token": "0xb50c0769…3602", "amount": "5745749", "nativeAmount": "493197406", "conversion": "executed_route" } ],
"profitRaw": "5745749", "profitToken": "0xb50c0769…3602",
"profitNativeRaw": "493197406", "netProfitNativeRaw": "477697406", "profitConversion": "executed_route",
"balanceChanges": [ { "address": "0x4a99b069…edf", "token": "0xb50c0769…3602", "delta": "5745749" },
{ "address": "0x2afdffc5…233a", "token": "0x000…000a", "delta": "-15500000" }, … ],
"balanceChangesComplete": true,
"tokenDecimals": { "0xb50c0769…3602": 6, "0x000…000a": 8 }
}
A failed transaction has the same shape: status: "fail", a filled vmStatus, the gas fields, every planned cycle with executed: false, empty legs and loans, netProfitNativeRaw = −gasRaw.
Which transactions: every transaction our decoder confirms as an arbitrage (AutoFi, vault flash loans, cycle_executor, the arbitrage functions and wallets of our alerts), every cycle_executor batch (even when all its cycles are skipped), and the failed calls of these modules and of the wallets with at least 3 confirmed arbitrages.
Arbitrage Stream (SSE)
The same events live, as soon as the transaction is indexed (Server-Sent Events): event: arbitrage, id: the stream id, data: the complete event. Same filters as the REST route (wallet, module, family, status, fromBlock). Premium (Premium+ on the v2 plans); also the arbitrage channel of the WebSocket.
- No gaps after a reconnection: send the last id you received as
Last-Event-ID(EventSource does it by itself) or?lastEventId=; the events after it are replayed first, then the stream goes on live. The replay window is 7 days: for an older id you getevent: replay_gapwithreplayFromId, and the events before it come from/api/v1/arbitrage/events?after=. Without an id, the stream starts at the next event. - Heartbeat:
event: heartbeatevery 15 seconds withlastId(the last id of the stream you are past). - Exactly once:
txHashis the key; a corrected re-index comes again with the sametxHashandrevision+ 1. - Up to 100 concurrent connections.
curl -N -H "x-api-key: YOUR_KEY" -H "Last-Event-ID: 18342" \
"https://rbbgateway.com/api/v1/stream/arbitrage?module=0xa054584e1fd6325d05694ac08279febc20344240c1dea850fae673c500b0792a"
id: 18343
event: arbitrage
data: {"id":"18343","type":"arbitrage","revision":1,"txHash":"0x0e1b6004…","status":"success",…}
event: heartbeat
data: {"ts":1793829000,"lastId":"18343"}
SSE Prices Stream
Real-time prices of the Supra tokens of /api/v1/holders/tokens (and every token priced by its pools) and of the tracked Solana tokens. One price event per token: on connect, the current price of every Supra token; then, every 5 seconds, the tokens whose price changed.
event: price
data: {"chain":"supra","tokenId":"0x635f…::ROBBIE::ROBBIE","symbol":"ROBBIE","priceUsd":0.0000217,"priceInSupra":0.2000,"supraUsd":0.000108,"source":"pool_median","quote":"SUPRA","poolCount":11,"depthUsd":3342,"at":1793737775466}
event: price
data: {"chain":"solana","tokenId":"MINT_ADDRESS","baseAmountRaw":"…","quoteAmountRaw":"…","quoteMint":"…","source":"swap","at":1793737775000}
source(Supra):pool_median= depth-weighted median of the token's pools on Atmos, Spikey, WARs DEX, Dexlyn (classic and CLMM) and LeoEx, from their reserves;depthUsd= the liquidity it stands on.shared_price= a token without pools we read (e.g. Atmos Token Studio curve tokens) or held at its reference price (stSUPRA at the Solido vault rate from the Supra oracle,originsupra_oracle; stSOLID on the Atmos index),origin= where that price comes from.supra_oracle= SUPRA itself, from the Supra oracle (SUPRA/USDT × USDT/USD, pushed on chain);coingecko= SUPRA itself when the oracle has no fresh price.priceInSuprais the on-chain figure;priceUsduses SUPRA/USD (supraUsd, Supra oracle, CoinGecko as fallback).at: time of the reserves or of the price, in milliseconds.- Polling interval: 5s (configurable via
PUBLIC_API_PRICES_POLL_MS)
All Prices (REST)
Every Supra price of the price stream in one call: the same entries, same fields and sources. Built for polling (every 1 to 5 minutes); the stream stays the way to follow prices second by second. Served from our indexes, no RPC.
curl -H "x-api-key: YOUR_KEY" "https://rbbgateway.com/api/v1/prices"
{"ok":true,"data":{"chain":"supra","generatedAt":"2026-11-14T00:30:00.000Z","supraUsd":0.000142,"count":311,
"prices":[{"chain":"supra","tokenId":"0x635f…::ROBBIE::ROBBIE","symbol":"ROBBIE","priceUsd":0.0000293,"priceInSupra":0.206,"supraUsd":0.000142,"source":"pool_median","quote":"SUPRA","poolCount":11,"depthUsd":3342,"at":1794619800000},…]}}
source,depthUsd,origin: as in the stream. Apool_medianstanding on a few dollars of liquidity (a dead pool) can sit far from any other price: filter ondepthUsd(our own shared price takes the median from 100 $ of depth).- Refreshed every few seconds; repeated calls within 10 seconds get the same answer.
Token Candles
USD OHLC candles of a Supra token from the data we hold, without any call to a third party. The chart is built from the prices actually paid: every on-chain swap of the token since its first trade, updated every 5 minutes. A token without swap candles (dollar, bridged and vault tokens, see below) and SUPRA itself use our pool median sampled every minute since 2026-11-13, then our stored price history (the Atmos index archive, the Atmos prices recorded since). Each candle says its source. A token and its paired coin / FA give the same candles.
tf:15m,1h(default),4h,1dor1w.limit: 1 to 1000 candles (default 200), the most recent ones (beforetowhen given).to(optional): Unix seconds or an ISO time, exclusive: returns thelimitcandles before it. To walk the whole history, call again withto= thefromof the previous page. History goes back to the token's first counted trade, on every timeframe.quote:USDonly.
curl -H "x-api-key: YOUR_KEY" "https://rbbgateway.com/api/v1/tokens/0x635f…::ROBBIE::ROBBIE/candles?tf=15m&limit=96"
{"ok":true,"data":{"chain":"supra","tokenId":"0x635f…::ROBBIE::ROBBIE","quote":"USD","tf":"15m","intervalSec":900,"count":96,
"sources":{"history":0,"spot_median":0,"chain_swaps":96},"filled":31,"from":1794533400,"to":1794618900,
"candles":[{"time":1794533400,"open":0.0000302,"high":0.0000305,"low":0.0000301,"close":0.0000304,"source":"chain_swaps"},
{"time":1794534300,"open":0.0000304,"high":0.0000304,"low":0.0000304,"close":0.0000304,"source":"chain_swaps","filled":true},…]}}
time: start of the bucket, Unix seconds (UTC). The last candle is still open.source:chain_swaps= the token's on-chain swaps on every Supra DEX (each trade priced against SUPRA, or through the other leg when the pair has no SUPRA side, in USD with SUPRA/USD of its hour). Trades under $0.50, trades far off the surrounding hours (as for the ATH / ATL), and trades on a thin side market more than 15 % off the token's main market (the DEX and pair holding most of its volume) are left out. Each candle opens at the previous close, so a quiet token shows no jump between two candles that no trade made.spot_median= depth-weighted median of the token's pools (aspool_medianin the prices);history= our stored series.filled:trueon achain_swapscandle of a bucket without a counted trade: flat at the last close (nothing traded, the price did not move), so the series has no hole.data.filledcounts them.- SUPRA, and the dollar, bridged and vault tokens whose pools trade apart from their outside value (supUSDC, supETH, iUSDC, iUSDT, iETH, stSOLID), get no
chain_swapscandles: theirs come from the median and the stored history, where the level can differ from their Supra pools (iUSDC / iUSDT valued at 1 $ by the Atmos index, about 0.6 $ on Supra pools). 404 no_candles: no price history for this token (beforeto);400 invalid_tofor atothat is not a time;400 supra_onlyfor a Solana or other id.
WebSocket (all streams)
The live streams on one socket: events, prices, contracts, arbitrage and nft, with the same events, filters and plan as the SSE routes (which stay available). One socket carries up to 5 subscriptions; every message is one JSON object.
- Key:
x-api-keyorAuthorization: Beareron the upgrade request (a refused key gets a plain HTTP401/403/429). Browsers cannot set headers on a WebSocket: send{"op":"auth","apiKey":"…"}as the first message, within 10 seconds. Never put the key in the URL. - Subscribe:
{"op":"subscribe","channel":"events","sub":"a",…}with the filters of the SSE route:tokenId,type,chainforevents; none forprices;type,address,contractandlastEventId(replay of what you missed) forcontracts;wallet,module,family,status,fromBlockandlastEventIdforarbitrage(a list longer than the 4 KB message limit needs the SSE route);type,standard,creator,collection,collectionAddress,wallet,fromBlockandlastEventIdfornft.subis your name for the subscription (generated when absent);{"op":"unsubscribe","sub":"a"}stops it. - Events:
{"op":"event","sub":"a","channel":"events","event":"trade","data":{…}}, wheredatais exactly thedataof the SSE event; contract, arbitrage and NFT events carry theireventId, to pass aslastEventIdafter a reconnection. - Other messages:
ready(withauthenticated),authenticated,subscribed,unsubscribed,{"op":"error","sub":…,"error":…}(a refused subscription leaves the others running),pongfor{"op":"ping"}. The server pings every 30 seconds: a client that does not answer is disconnected. - Limits: 5 sockets per key, 5 subscriptions per socket, 20 messages per 10 seconds from the client, 4 KB per message. Close codes:
4401no or invalid key,4403plan without the live streams,4429too many sockets or quota reached,1008too many messages,1013the client reads too slowly (more than 1 MB waiting),1001server restart. Reconnect after a short delay in every case.
// Browser
const ws = new WebSocket("wss://rbbgateway.com/api/v1/stream/ws");
ws.onopen = () => {
ws.send(JSON.stringify({ op: "auth", apiKey: "YOUR_KEY" }));
ws.send(JSON.stringify({ op: "subscribe", channel: "events", sub: "robbie", chain: "supra", type: "trade" }));
// Every swap of the chain, all tokens (see Events Stream)
ws.send(JSON.stringify({ op: "subscribe", channel: "events", sub: "swaps", chain: "supra", type: "swap" }));
ws.send(JSON.stringify({ op: "subscribe", channel: "prices" }));
};
ws.onmessage = (message) => {
const { op, sub, event, data } = JSON.parse(message.data);
if (op === "event") console.log(sub, event, data);
};
// Node.js (ws package): the key on the upgrade
new WebSocket("wss://rbbgateway.com/api/v1/stream/ws", { headers: { "x-api-key": "YOUR_KEY" } });
{"op":"event","sub":"robbie","channel":"events","event":"trade","data":{"chain":"supra","type":"trade","tokenId":"0x635f…::ROBBIE::ROBBIE","side":"buy","valueUsd":12.5,"priceUsd":0.0000217,"dex":"atmos","trader":"0x…","signature":"0x…","ts":1793737775}}
Gateway Stats
Public figures of the RBB Gateway itself: its status, users, requests served and the data it covers. Refreshed every 5 minutes. Requests count every API call except our own internal tools. successRate7d is the share of the last 7 days' requests answered without a server error (5xx); a client error such as 404 counts as answered. popularTokens lists the tokens whose holder list was requested by at least popularTokensMinAccounts different accounts over the last 7 days, so no single client's interest is shown. coverage: tokens of Available Tokens, wallets with a liquidity position in the latest hourly snapshot and its total USD value, Supra contracts watched (Contracts), and the Supra DEX swaps indexed over the last 7 days. A figure that cannot be read at that moment is null; the others are still returned. The same figures appear on rbbgateway.com and in a weekly Discord post.
{
"ok": true,
"data": {
"status": "Public",
"generatedAt": "2026-11-14T00:00:01.871Z",
"users": { "registered": 9, "activeWeek": 4, "newWeek": 0 },
"requests": {
"total": 1440226, // since "since"
"since": "2026-10-08T07:00:00.000Z",
"last24h": 30670,
"last7d": 353489,
"previous7d": 357177, // the 7 days before
"successRate7d": 99.97
},
"endpoints": { "documented": 67, "new7d": ["/api/v1/prices", "/api/v1/tokens/:tokenId/candles"] },
"popularTokens": [
{ "tokenId": "0xd309…8084", "symbol": "$RBK", "accounts": 3 }
],
"popularTokensMinAccounts": 3,
"coverage": {
"holderTokens": 220,
"lpWallets": 3695,
"lpUsd": 254398,
"contractsWatched": 933,
"dexVolume7d": { "volumeUsd": 92599, "txCount": 23321, "swapCount": 82862, "dexCount": 7, "tokenCount": 113 }
}
}
}
Error Responses
| Code | Error | Description |
|---|---|---|
401 | unauthorized | Missing or invalid API key |
403 | plan_upgrade_required | Endpoint requires a higher plan (Plus or Premium); requiredPlan names it. See Endpoints by plan |
403 | premium_key_required | Endpoint requires Premium+ (requiredPlan: "premium_plus"); on the WebSocket, close code 4403 |
403 | super_key_required | Endpoint requires a Premium API Key (legacy error code, configured keys) |
404 | not_found | Unknown endpoint |
404 | token_not_available | Holder list not available for this token (see /api/v1/holders/tokens) |
400 | invalid_tokenId / invalid_filter / chain_mismatch / invalid_include / invalid_wallet / invalid_name | Bad token identifier or query parameter |
404 | name_not_found | SupraNS name never registered, expired or reserved |
503 | name_resolution_unavailable | The SupraNS lookup failed on-chain; retry later |
400 / 503 | invalid_addresses / names_index_unavailable | /api/v1/names?addresses=: 1 to 100 valid addresses; the names index cannot be read (also /api/v1/wallets/:wallet/names), retry later |
400 | invalid_address / invalid_type / invalid_cursor | Contracts: bad address (invalid_filter for a bad upgradable, control or contract), unknown event type (unknown, allowed list them), or a before that is neither a cursor nor a date |
404 / 503 | contract_not_found / contracts_unavailable | The address has never published code / the contract list is not built yet, retry later |
400 | invalid_wallet / invalid_module / too_many_addresses / invalid_status / invalid_cursor / invalid_last_event_id / invalid_limit | Arbitrage events: bad filter (100 addresses at most in wallet + module), cursor or page size |
503 | arbitrage_events_unavailable | The arbitrage event store cannot be read; retry later |
405 | method_not_allowed | Wrong HTTP method |
429 | rate_limited | Too many requests — check retryAfterSec |
500 | snapshot_failed | Internal error generating snapshot |
503 | trade_ledger_unavailable | Trade ledger not initialized |
503 | holders_not_ready | Token temporarily paused while the holder index re-verifies it (blockers lists why) |
503 | data_source_unavailable | Market/token data source temporarily unavailable |
503 | balance_history_busy / positions_busy / archive_busy / events_busy / gas_busy / gas_sync_busy | Too many computations of this kind are running at once (/wallets/:wallet/balance-history, /wallets/:wallet/positions, /wallets/:wallet/lp-history and /wallets/:wallet/history/:tokenId, /events, /wallets/:wallet/gas; gas_sync_busy: too many wallet histories waiting to be read). Answered at once with retryAfterSec and a retry-after header (2 s); a result already cached is still served. positions and balance-history run at most 3 computations at once in total and 2 per API key: scope tells which limit refused the request ("key": your key already has 2 running; "server": all slots are taken) |
{
"error": "rate_limited",
"retryAfterSec": 290,
"rateLimitMs": 600
}
Changelog
| Date | Change |
|---|---|
| Dec 2026 | NFT: NFTs for sale on Crystara (v1 and v2) and Dream Protocol carry their listing — price, marketplace, seller, date — read from the marketplaces’ events on chain; every collection gives listed and its floor in SUPRA. NFTs of a Wallet adds the wallet’s SupraNS names, held and for sale (names) |
| Nov 2026 | Documentation: an endpoint search in the menu, a Request and a Response example with a Copy button on every endpoint, a quick start and an overview on the first page, and all endpoints in one table with their plan. Chain, Daily and Pool Volume moved to Trades & Volume. No endpoint or anchor changed. |
| Nov 2026 | Added Daily Volume by DEX (/api/v1/volume/daily): swap volume per UTC day in SUPRA and USD, in total and per DEX, over the last 30 days, with the cumulative volume since each DEX's first swap — for a DEX's daily report |
| Nov 2026 | NFT: each token now carries metadata — display name, image, rarity and traits, read from its metadata file — in a wallet in a collection, Tokens & Owners and NFTs of a Wallet. No more second request to the uri |
| Nov 2026 | Added NFT Events (/api/v1/nft/events) and the NFT Stream (/api/v1/stream/nft, channel nft of the WebSocket): every mint, transfer, burn and passage through a contract of both NFT standards, a few seconds after its block, Premium+. The NFT holders now follow the chain block by block instead of every 5 minutes |
| Nov 2026 | NFT: the v2 collections (0x4::token objects) join the same routes, 199 of them, Dexlyn positions and lending tokens included as kind: "position". Every collection, holder page and token now carries its standard; the catalog takes standard= and kind=; index of the catalog and of a wallet’s NFTs is given per standard (index.v1, index.v2) |
| Nov 2026 | Added NFT: collections, holders, tokens with their owners and a wallet’s NFTs for every Supra v1 collection (/api/v1/nft/collections…, /api/v1/wallets/:wallet/nfts), rebuilt from the chain and checked against it; an NFT staked, boosted or listed stays with its owner |
| Nov 2026 | Added All Swaps (/api/v1/wallets/:wallet/swaps): every swap of a wallet, all tokens, with the route, the net change per token and the gas. History by Token: liquidity events of the token's pools are listed even when the token did not pass through the wallet (withdrawals before August 12, pool migrations, farm stakes, LP locks), LP shares before August 12 from the liquidity event (source: "event"); events before September 20, 2026 now carry their exact time (archive block times) |
| Nov 2026 | Added Token Wrappers (/api/v1/tokens/wrappers): the Hoglet and LeoEx wrapper FAs and the token each stands for. Events and the swap stream add the original token next to a wrapper (data.tokenInOrigin, data.tokenOutOrigin, data.tokenAOrigin, data.tokenBOrigin, data.tokensOrigin). Atmos pool events: data.tokenA / data.tokenB fixed when only one side moved as a coin (it could name that coin twice) |
| Nov 2026 | Events Stream and the WebSocket events channel: chain=supra&type=swap streams every Supra swap, all tokens, a few seconds after its block. /events takes limit up to 500; JSON responses are gzip-compressed for clients that accept it |
| Nov 2026 | Events: after= reads the market-wide swap feed forwards, the new swaps since the last read (whole blocks only) |
| Nov 2026 | Events: poolToken= gives the liquidity adds, removes, locks and farm events of every pool holding a token. Pool Volume and Chain Volume: an Atmos aggregator hop sent to another DEX (Dexlyn) is counted once, on that DEX (it was also counted on Atmos, without a pool) |
| Nov 2026 | Added Gas Burners (/api/v1/gas/burners) and Gas by Day (/api/v1/gas/daily): the SUPRA gas burned by family (oracle relayers, arbitrage bot families) and wallet, and per day with its biggest burner; Burns by Token adds gasFees for native SUPRA |
| Nov 2026 | Dexlyn is one DEX everywhere: CLMM pools, swaps and positions report dex: "DEXLYN" (was DEXLYN_CLMM) with poolKind: "clmm"; dex=dexlyn on Pool Volume lists both pool kinds |
| Nov 2026 | Added Pool Volume (/api/v1/volume/pools): volume, swaps and fees of every Supra pool over 24 hours, 7 days and 30 days, joinable with /api/v1/lp/:dex on pool |
| Nov 2026 | Events History: type=swap works without token, every swap of the chain paged by block height |
| Nov 2026 | Token Candles and the charts: SUPRA (0xa) candles follow the SUPRA/USD of the prices (CoinGecko) since the Atmos series stopped on November 13, the gap rebuilt |
| Nov 2026 | Gateway Stats: new public /api/v1/stats (no API key) with the Gateway's status, users, requests served and data coverage |
| Nov 2026 | Alerts & notifications: a notification bell in the dashboard carries the same alerts as the emails, without an email address; the most important ones are on by default |
| Nov 2026 | Endpoints by plan: each endpoint now has a lowest plan (Free, Plus, Premium or Premium+), shown next to its path; a key whose plan is too low receives 403 plan_upgrade_required with requiredPlan |
| Nov 2026 | Arbitrage Events and Stream: every event carries privatePool (a leg sold into a pool the bot prices itself) |
| Nov 2026 | Arbitrage Events and Stream: every event carries family (the bot family of its sender: rbb_gateway, arbvault, leoex, atmos-agg, cycle-executor, autofi) and the REST route, the SSE stream and the WebSocket channel accept family= |
| Nov 2026 | History by Token: balanceChanges (every token moved), the whole swap route (hops that do not touch the token included, each step once), liquidity (both tokens and the LP shares of a deposit, withdrawal or pool creation), gas, pool creations without an indexed event recognised from their balance moves (inferred), balance changes before the holder index of a token listed after its launch, estimated time for old transactions |
| Nov 2026 | Added Gas Spending (/api/v1/wallets/:wallet/gas): the SUPRA gas a wallet spent since its first transaction, by category (swap, liquidity, staking…), action (add/remove liquidity, stake, claim rewards, NFT mint…), protocol, function and day, failed transactions included; histories built ahead for active wallets and holders |
| Nov 2026 | Added the Arbitrage Events (/api/v1/arbitrage/events) and the Arbitrage Stream (/api/v1/stream/arbitrage, WebSocket channel arbitrage): one complete event per arbitrage transaction, failed ones included (abort reason, gas, planned cycles), with loans, cycles, swaps, profit and balance changes; resumable with Last-Event-ID. In /api/v1/events?type=arbitrage, every leg now has a plain pool address (type in poolType) and its dex, every row carries the transaction gas (gasUsed, gasUnitPrice, txGasRaw, gasRaw charged once per transaction), and cycle_executor rows their vault loan (borrowedRaw, lender) |
| Nov 2026 | Added the WebSocket (/api/v1/stream/ws): the events, prices and contracts streams on one socket, same plan and data as the SSE routes |
| Nov 2026 | Solido Money and All Positions: Solido positions served from our index (no on-chain read at request time), with source, readAt and pendingRefresh |
| Nov 2026 | Token Balance History: SUPRA gas fees counted from October 9, 2026 (coverage.untrackedGas) |
| Nov 2026 | WARs DEX: wallet lpStaked (LP staked for a pool’s iAsset staking rewards); an iAsset pool’s reserve moved to its rewards holder, the rewards vault and open NFT OTC deals are listed as custody in holder lists |
| Nov 2026 | WARs DEX Burn & Lock locks counted in Locks by Token, the Unlock Calendar (protocol wars_burnlock, one row per monthly part), the supply distribution (locked.byProtocol.warsDex) and the wallet breakdown; the lock objects are listed as custody in holder lists |
| Oct 2026 | Added Chain Volume by DEX (/api/v1/volume/chain): Supra DEX volume over 24h or 7 days, per DEX, with the arbitrage share |
| Oct 2026 | Added WARs DEX Loans (/api/v1/warsdex/loans, /api/v1/warsdex/loans/:id): the supWARs peer-to-peer loans desk; /wallets/:wallet/warsdex lists the wallet's loans |
| Oct 2026 | Added Token Balance History (/api/v1/wallets/:wallet/balance-history): a wallet's token balances and their value day by day |
| Oct 2026 | Added Token Balances (/api/v1/wallets/:wallet/balances, every listed token of a wallet valued in USD in one call) and All Positions (/api/v1/wallets/:wallet/positions, everything known about a wallet with a total per category) |
| Oct 2026 | Holder list rows of contract accounts carry a label (pool / staking / lock / vesting…, protocol, pair); EvoSwap concentrated-liquidity positions are covered by the LP holder routes, the wallet breakdown (evoswapClmm) and the supply distribution |
| Oct 2026 | WARs DEX (supWARs / Floor DEX) covered: /wallets/:wallet/warsdex, pools in the LP holder routes, the wallet breakdown, the supply distribution, token locks and unlocks (LP locks attributed to the wallet that locked them, protocol wars_dex_lp_lock), /lp/WARs DEX/:tokenId with live LP supply, locked and burned LP |
| Oct 2026 | Added Liquidity Net Worth (/api/v1/wallets/:wallet/lp-history): a wallet's liquidity value over time, hourly |
| Oct 2026 | Added the Prediction Markets section: HypeMarket and LeoMarket markets (/api/v1/prediction-markets), one market with its price history, its trades, and a wallet's positions (/api/v1/wallets/:wallet/prediction-markets) |
| Oct 2026 | Added History by Token (/api/v1/wallets/:wallet/history/:tokenId): a wallet's activity in one token with the balance change of each transaction, incoming fungible asset transfers included |
| Oct 2026 | Added the Wallet Positions section: everything a wallet holds in Solido Money (/api/v1/wallets/:wallet/solido), Hoglet, Atmos and Dexlyn (/api/v1/wallets/:wallet/{hoglet,atmos,dexlyn}), valued in USD |
| Oct 2026 | Supply Distribution adds rewards (rewards not paid out yet in Atmos farms and Spikey staking pools) and liquidity.ownership.lockedAtGraduation (LP kept by Atmos when a Token Studio token graduates); Spikey pools now use live reserves in every LP route |
| Oct 2026 | Added the Distribution section: Supply Distribution (/api/v1/distribution/:tokenId), Locks by Token (/api/v1/distribution/:tokenId/locks), Burns by Token (/api/v1/distribution/:tokenId/burns), the Unlock Calendar (/api/v1/unlocks), Staking by Token (/api/v1/staking/:tokenId) and Lending (/api/v1/lending), and the premium Events History (/api/v1/events); the wallet breakdown adds Dexlyn staked LP, Supralend, perps one-click trading vaults and Atmos Token Studio locks |
| Oct 2026 | LP holder routes and the wallet liquidity breakdown now cover Dexlyn (classic and concentrated liquidity) and LeoEx pools, with 1:1 wrapped tokens counted as their origin token; more tokens in the holder list (see Available Tokens) |
| Sep 2026 | Added Supra holder endpoints (available tokens, holder list, wallet balance with staking / liquidity / locks breakdown) for verified complete tokens, new fungible assets listed automatically; the holder list includes every account by default (include=all) |
| Sep 2026 | Added Market & Tokens endpoints for Solana and Supra (token summary/activity, trending, graduations) and premium SSE streams |
| Sep 2026 | Added Premium API Key rate-limit bypass, Terms of Use, Security guidelines |
| Aug 2026 | Added trades 7d, volume 7d endpoints |
| Aug 2026 | Initial release: stakers, ledger, meme/LP pools, trades 24h, volume 24h |
RBB Gateway API by @robbiesuprameme — See Terms of Use
