--- name: raiden-terminal-api version: 1da0d0c7 description: >- Query the Raiden Terminal REST API — real-time Solana / pump.fun on-chain data: token screener + bulk export, token detail (swaps, candles, holders, launch/bundle analysis, smart money, insider funding clusters), wallet profiles (PnL, win rate, positions, transfers, funding chain, tips), sniper head-to-head, dev/creator scoring, validator leader schedule, tokenized equities (xStocks), and wallet groups/favorites. Use when the user asks to pull, extract, analyze, or monitor Solana memecoin / pump.fun tokens, wallets, snipers, devs, or market activity from Raiden Terminal. Requires a free API key (sign in with a Solana wallet at terminal.raiden.wtf/account; your first key comes with 200,000 trial credits). REST + JSON; each call costs credits. --- > **Skill version `1da0d0c7`** · 93 endpoints · generated 2026-11-17T12:41:53.200Z # Raiden Terminal API Read-only REST API over a real-time pump.fun / Solana indexer. Use it to pull token, wallet, dev, sniper, validator, and market data as JSON. This file documents every public endpoint with its **exact JSON response shape**. - **Base URL:** `https://terminal.raiden.wtf/api` - **Auth:** header `X-API-Key: ` on every request. Get a key yourself: sign in with a Solana wallet at `https://terminal.raiden.wtf/account` and create one (up to 10 per account; the secret is shown once). Your first key comes with **200,000 trial credits** (free trials are limited per network). Missing or invalid key → `403`. - **Transport:** REST + JSON for all data endpoints. A per-user **WebSocket streams** API is also available (see *Streams (WebSocket)*): create a stream with `POST /ws-subscriptions` (pick kinds + wallet lists), then connect to `wss://terminal.raiden.wtf/ws?key=&sub=` for a filtered live feed (1 credit per started minute per open connection, the first one reserved at connect). ## Conventions (read first) - **Response envelope.** List endpoints return `{ "data": [ ... ], "next_cursor": "..." }`. Single-object endpoints return the object directly. `404` when a specific entity is missing. - **Number encoding.** Large integers (lamports, raw token amounts, market caps, fees) are returned as **JSON strings** (precision-safe, e.g. `"sol_invested": "1650000000"`). Counts, ratios and rates are plain numbers. Parse the string fields with a big-decimal / BigInt, never a float. Lamports → SOL = value / 1e9. pump.fun tokens have 6 decimals. - **Pagination.** Keyset (`cursor` → `next_cursor`) on time-ordered lists; `offset`+`limit` on some ranked lists. `limit` per-endpoint max (500 for `/tokens`). - **Time filters.** `from`/`to` RFC3339 UTC; `window`/`w` Go-durations or presets (`1h`,`24h`,`7d`,`30d`,`all`). - **Rate limits.** Token bucket per account, shared by all your keys: **20 req/s, burst 40** (a key can have its own lower cap). Over → `429` `rate_limited` + `Retry-After` + `X-RateLimit-Scope: account|key`. Free-trial accounts: at most 2 heavy requests (packs, analytical endpoints) in flight → `429` `too_many_concurrent` + `Retry-After` (`X-RateLimit-Scope: concurrency`). Server shedding load → `503` `server_busy` + `Retry-After`. - **Credits.** Every API-key request costs a fixed number of credits (`GET /credits/costs`, public). Headers (on every response to a valid key, errors and free endpoints included, and on the 402; not on a 403 about the key or its account, nor on any 429): `X-Credits-Cost`, `X-Credits-Remaining`, `X-Credits-Reset` (absent on plans that don't renew, like the trial), `X-Credits-Pool` (`general|dedicated`), `X-Credits-Warning` (`used_50|used_80|used_95|exhausted`). Out of credits → **`402`** `{"error","code":"credits_exhausted|key_budget_exhausted|trial_exhausted","cost","remaining",...}` (`cost` = the price of the refused request; the `X-Credits-Cost` header is 0) with no `Retry-After`: **stop, do not retry** until there are credits again. Free balance check: `GET /account/balance` (0 credits, works at 0). - **What errors cost:** 401/402/403/429 and 5xx cost 0; any other error the endpoint answers itself (400, 404, …) costs 1 credit (0 on free endpoints). - **Status codes:** `402` out of credits (don't retry) · `403` `invalid_api_key|api_key_revoked|api_key_suspended` or `account_suspended|account_banned|account_not_ready` · `404` not found · `429` `rate_limited|too_many_concurrent|too_many_invalid_keys` (honor `Retry-After`) · `503` `server_busy|credits_unavailable|keys_unavailable|warming_up` (with `Retry-After`; other 503s carry none; `warming_up` is `/smart-money` while its data loads). - **Errors.** Key, credit and limit refusals are `{ "error": "", "code": "", … }`. Other errors of the data endpoints are `{ "error": "…" }`, some with a `code` as well: branch on the HTTP status. ## Quickstart ```bash export RAIDEN_KEY="rdn_..." curl -s "https://terminal.raiden.wtf/api/tokens?sort=newest&limit=100" -H "X-API-Key: $RAIDEN_KEY" ``` ## Endpoint reference Every endpoint shows `METHOD /path`, purpose + params, an example request and the **exact JSON response**. Addresses are truncated (`9xQm…pump`) for readability — send full addresses. ### System & status #### `GET /health` Liveness probe Example: `GET /health` ```json { "status": "ok" } ``` #### `GET /stats` DB & ingest health — counts, throughput, freshness, storage, top tokens. tokens_usdc counts the tokens with a non-SOL quote recorded (USDC or any other token; the name is kept for compatibility). Example: `GET /stats` ```json { "tokens": 2841233, "tokens_graduated": 18742, "tokens_usdc": 312, "positions": 84211905, "swaps": 631884201, "tips": 49120377, "swaps_1m": 4123, "swaps_5m": 20817, "swaps_1h": 248913, "tokens_1h": 1842, "tips_1h": 19204, "lag_seconds": 1.8, "db_size": 982331486208, "tables": [ { "name": "swaps", "bytes": 612338954240 } ], "compressed_bytes": 731884965888, "uncompressed_bytes": 1893402746880, "chunks": 4187, "tips_by_provider": [ { "provider": "jito", "count": 31884201, "lamports": "1284991200000" } ], "top_tokens": [ { "mint": "9xQm…pump", "volume": "488888889000", "trades": 18422 } ], "activity": [ { "t": 1782640800, "count": 248913 } ], "server": { "load1": 3.42, "load5": 2.98, "load15": 2.71, "cpus": 16, "mem_used": 41875931136, "mem_total": 67430866944 } } ``` #### `GET /sol-price` Current SOL/USD (Binance → CoinGecko fallback). Refreshed server-side in the background every ~5s and served from memory, so the call never blocks on an upstream fetch. stale_s = age of the quote in seconds. Example: `GET /sol-price` ```json { "usd": 152.34, "stale_s": 2 } ``` ### Discovery #### `GET /tokens` Token screener + bulk export — sort=newest|last_trade · status=0|1 · creator · from/to (RFC3339, created_at range) · limit (≤500) · cursor. Keyset pagination: pass next_cursor back as cursor until it's empty. Export a full day: from=2026-06-30T00:00:00Z&to=2026-07-01T00:00:00Z then follow next_cursor. List rows (here, in /tokens/trending, /search and /tokens-by-name) do not carry the off-chain metadata object: read it from GET /tokens/{mint} or /tokens/{mint}/meta. NON-SOL QUOTES: a curve can be quoted in a token other than SOL (quote_mint set: USDC, USDT, xStocks, PUMP or other coins). Such a token has no SOL leg, so last_price is 0 and its price is last_quote_price, in quote units per token (quote_symbol / quote_decimals describe the quote when known). Positions and PnL are SOL-only, so its trades enter neither and traders is absent. quote_mint is absent on SOL-quoted tokens. Example: `GET /tokens?sort=newest&limit=1` ```json { "data": [ { "mint": "9xQm…pump", "creator": "5Q5q…Funr", "name": "Example Token", "symbol": "EXMPL", "uri": "https://ipfs.io/ipfs/QmExampleMetadataCID", "decimals": 6, "bonding_curve": "Cb3f…g9rE", "created_at": "2026-06-21T09:41:14Z", "created_slot": 348812944, "status": "graduated", "graduated_at": "2026-06-21T11:03:52Z", "amm_pool": "Gm4w…9xZ2", "last_price": "0.00000042", "last_trade_at": "2026-06-27T08:12:30Z", "mayhem": true, "vol_1h": "488888889", "trades_1h": 1342, "change_1h": 17.42, "traders": 8421, "dev_score": 62, "dev_flags": [ "bundle_dev", "sibling_cluster" ], "dev_funder": "Coinbase" } ], "next_cursor": "2026-06-27T08:12:30.123456789Z" } ``` #### `GET /tokens/trending` Top movers by volume — window (Go duration, default 24h) · limit Example: `GET /tokens/trending?window=1h&limit=1` ```json { "data": [ { "mint": "9xQm…pump", "creator": "5Q5q…Funr", "name": "Example Token", "symbol": "EXMPL", "uri": "https://ipfs.io/ipfs/QmExampleMetadataHash", "decimals": 6, "bonding_curve": "Cb3f…g9rE", "created_at": "2026-06-21T09:41:14Z", "created_slot": 348221904, "status": "graduated", "graduated_at": "2026-06-26T18:03:52Z", "amm_pool": "Gm4w…9xZ2", "last_price": "0.00000042", "last_trade_at": "2026-06-27T07:55:10Z", "quote_mint": "Xeq…AAPL", "last_quote_price": "1.37500000", "quote_symbol": "AAPLx", "quote_decimals": 8, "mayhem": true, "vol_1h": "488.888889", "trades_1h": 1342, "change_1h": 12.47, "vol_5m": "37.250000", "holders": 2184, "dev_score": 62, "dev_flags": [ "bundle_dev", "holder_conc" ], "dev_funder": "Coinbase" } ] } ``` #### `GET /search` Live search by mint / symbol / name (q ≥ 2 chars) Example: `GET /search?q=pepe&limit=5` ```json { "data": [ { "mint": "9xQm…pump", "creator": "5Q5q…Funr", "name": "Example Token", "symbol": "EXMPL", "uri": "https://ipfs.io/ipfs/QmExampleMetadataHash", "decimals": 6, "bonding_curve": "Cb3f…g9rE", "created_at": "2026-06-21T09:41:14Z", "created_slot": 348812044, "status": "graduated", "graduated_at": "2026-06-22T14:03:51Z", "amm_pool": "Gm4w…9xZ2", "last_price": "0.00000042", "last_trade_at": "2026-06-27T08:15:02Z", "quote_mint": "Xeq…AAPL", "last_quote_price": "0.00031500", "quote_symbol": "AAPLx", "quote_decimals": 8, "mayhem": true } ] } ``` #### `GET /tokens-by-name` All tokens sharing an exact name (meme-radar hub) Example: `GET /tokens-by-name?name=pepe` ```json { "data": [ { "mint": "9xQm…pump", "creator": "5Q5q…Funr", "name": "Raiden", "symbol": "RDN", "uri": "https://ipfs.io/ipfs/Qm…/raiden.json", "decimals": 6, "bonding_curve": "Cb3f…g9rE", "created_at": "2026-06-21T09:41:14Z", "created_slot": 348812044, "status": "graduated", "graduated_at": "2026-06-21T11:02:53Z", "amm_pool": "Gm4w…9xZ2", "last_price": "0.00000042", "last_trade_at": "2026-06-27T08:15:32Z", "quote_mint": "Xeq…AAPL", "last_quote_price": "0.00031500", "quote_symbol": "AAPLx", "quote_decimals": 8, "mayhem": true } ] } ``` #### `GET /trending-names` Reused-name clusters with the best token using each name Example: `GET /trending-names?window=24h&limit=1` ```json { "data": [ { "name": "doge", "tokens": 17, "max_price": "0.00000042", "top_mint": "9xQm…pump", "top_symbol": "DOGE", "last_at": "2026-06-27T09:41:14Z" } ] } ``` #### `GET /events` Notable-events feed — big trades (≥ min_sol lamports) + graduations Example: `GET /events?min_sol=3000000000&limit=1` ```json { "data": [ { "kind": "trade", "time": "2026-06-21T09:41:14Z", "mint": "9xQm…pump", "symbol": "WIF", "actor": "8psN…VRtf", "is_buy": true, "sol_amount": "4250000000", "mayhem": true } ] } ``` #### `GET /smart-money` Tokens being bought by profitable wallets right now. Any window up to 6h (default 1h) and limit up to 100 (default 30). Served from memory and refreshed in the background every ~15s. While that data is loading (right after a server restart, or if the background refresh has been failing for over 2 minutes) it answers 503 warming_up with Retry-After: 5, after holding the request for up to 10 s. Example: `GET /smart-money?window=1h&limit=1` ```json { "data": [ { "mint": "9xQm…pump", "symbol": "PEPE", "status": "bonding", "last_price": "0.00000042", "smart_buyers": 7, "smart_sol": "488888889", "mayhem": true } ] } ``` #### `GET /tweet-tokens` Tokens launched off an X/Twitter post Example: `GET /tweet-tokens?limit=1` ```json { "data": [ { "mint": "9xQm…pump", "symbol": "PEPE", "name": "Pepe The Frog", "created_at": "2026-06-21T09:41:14Z", "twitter": "https://x.com/elonmusk/status/1806712345678901234", "status": "bonding", "last_price": "0.00000042", "quote_mint": "So11111111111111111111111111111111111111112", "last_quote_price": "488888889" } ] } ``` #### `GET /pump-24h` pump.fun 24h pulse vs the previous 24h Example: `GET /pump-24h` ```json { "volume": "184339122905", "volume_prev": "162244781905", "trades": 248913, "trades_prev": 231447, "new_tokens": 14302, "new_tokens_prev": 13988, "graduated": 142, "graduated_prev": 129 } ``` #### `GET /tips/by-provider` Tip totals by submission provider — window=5m|30m|1h|4h|24h Example: `GET /tips/by-provider?window=1h` ```json { "window": "1h", "providers": [ { "provider": "jito", "count": 18432, "lamports": "488888889" } ] } ``` #### `GET /ecosystem` Aggregated ecosystem report — window=1h|24h|7d. bundled_launches and bundlers cover the tokens created in the last hour (window=1h) or the last 6 hours (24h and 7d). A launch is bundled when its creation slot holds a bundle: two or more landed transactions on the token at adjacent block positions (block_index ±1, the way a Jito bundle lands — the same rule as the bundled flag on swaps). The legs of one transaction count once, and reverted attempts or swaps of other tokens never count as neighbours; the creator's buy alone, or buys spread through the slot with other transactions between them, are not a bundle. pct_supply, wallets and lamports count the bundled transactions only, never the rest of the slot; pct_supply is relative to 1 billion tokens (2 billion for mayhem tokens), and lamports are 0 for curves quoted in a token other than SOL. Up to 15 launches, highest pct_supply first. bundlers are the wallets that bought inside the launch bundle of at least two of those tokens, with the tokens and the lamports spent in those transactions (again 0 on curves quoted in another token); up to 15, most tokens first. Example: `GET /ecosystem?window=24h` ```json { "window": "24h", "new_tokens": 18432, "graduated": 214, "volume": "1842033.55512000", "trades": 3920114, "tips_total": "9844512000", "tip_swaps_1h": 4821, "active_traders_1h": 2934, "buys_1h": 51230, "sells_1h": 48771, "fees_1h": "122044000", "creator_fees_1h": "30880000", "priority_fees_1h": "18422000", "tip_wallets": [ { "wallet": "8psN…VRtf", "provider": "jito", "count": 1284, "lamports": "488888889", "recurring": true } ], "tippers": [ { "wallet": "Cb3f…g9rE", "count": 932, "lamports": "312500000" } ], "providers": [ { "provider": "jito", "count": 4012, "lamports": "7211044000" } ], "bundled_launches": [ { "mint": "9xQm…pump", "symbol": "WAGMI", "created_at": "2026-06-27T08:14:02Z", "pct_supply": 42.7, "wallets": 14, "lamports": "65500000000", "status": "bonding" } ], "bundlers": [ { "wallet": "Gm4w…9xZ2", "tokens": 37, "lamports": "182000000000" } ], "creators": [ { "creator": "5Q5q…Funr", "tokens": 128, "graduated": 9 } ], "dev_dumps": [ { "mint": "Cb3f…pump", "symbol": "RUGME", "created_at": "2026-06-27T07:51:33Z", "sold_pct": 88.4, "hold_pct": 11.6, "realized_pnl": "41200000000", "status": "graduated" } ], "crashes": [ { "mint": "H2cx…pump", "symbol": "DUMP", "high": "0.00000420", "cur": "0.00000042", "drawdown": 90.0, "volume": "9844000000", "status": "bonding" } ] } ``` #### `GET /cross` Which (mint, wallet) pairs exist in positions — mark tracked holders Example: `GET /cross?mints=9xQm…pump&wallets=8psN…VRtf` ```json { "data": [ { "mint": "9xQm…pump", "wallet": "8psN…VRtf" } ] } ``` ### Token detail #### `GET /tokens/{mint}` Full snapshot for a single token. curve_depth is present when the bonding curve is paired with another pump.fun coin: 1 when that coin is itself paired with SOL, USDC or a quote pump.fun lists, 2 one level further down (pump.fun allows depth 2 since 2026-10-13); absent means 0 — paired with SOL, USDC or a listed quote. On those tokens quote_chain is the route down to the base asset, starting from the token's own quote: the pump coins first, then the quote of the depth-0 coin (mint "" = SOL), so it has curve_depth + 1 entries; buying the token from SOL walks it in reverse (pump.fun multi_hop_swap). Prices and amounts of such a token stay in units of its own quote. curve_depth also appears on token rows in lists. created_leader is the validator that produced the creation slot (identity/name/client/version/jito/stake + geo region: country ISO code and city) — best-effort, only for epochs with a snapshotted leader schedule; geo only for geo-resolved validators; absent otherwise. metadata is the token's off-chain metadata (image, socials, description) as stored by the server, the same fields /tokens/{mint}/meta returns; it is absent until the token URI has been fetched (normally within seconds of creation) and is never fetched during this request. NON-SOL QUOTES: a curve can be quoted in a token other than SOL (quote_mint set: USDC, USDT, xStocks, PUMP or other coins). Such a token has no SOL leg, so last_price is 0 and its price is last_quote_price, in quote units per token (quote_symbol / quote_decimals describe the quote when known). Positions and PnL are SOL-only, so its trades enter neither and traders is absent. quote_mint is absent on SOL-quoted tokens. Example: `GET /tokens/9xQm…pump` ```json { "mint": "9xQm…pump", "creator": "5Q5q…Funr", "name": "Quantum Mascot", "symbol": "QMASC", "uri": "https://ipfs.io/ipfs/QmZ9xq…pump/metadata.json", "decimals": 6, "bonding_curve": "Cb3f…g9rE", "created_at": "2026-06-21T09:41:14Z", "created_slot": 348812907, "created_leader": { "identity": "Jee7…xQ2", "name": "Laine", "client": "agave", "version": "2.1.11", "jito": true, "stake": "1875432000000000", "country": "DE", "city": "Frankfurt am Main" }, "status": "graduated", "graduated_at": "2026-06-21T14:08:52Z", "amm_pool": "Gm4w…9xZ2", "last_price": "0.00000042", "last_trade_at": "2026-06-27T08:15:33Z", "mayhem": true, "metadata": { "image": "https://ipfs.io/ipfs/QmZ9xq…pump/image.png", "twitter": "https://x.com/quantummascot", "website": "https://quantummascot.fun", "telegram": "https://t.me/quantummascot", "description": "The quantum mascot of the pump.fun multiverse." } } ``` #### `GET /tokens/{mint}/swaps` Swaps — order=desc|asc · cursor (boundary time) · limit · failed=1 interleaves reverted attempts (rows have "failed": true). transfers=1 interleaves TOKEN SENDS — wallet-to-wallet movements of this token that are not trades at all. They matter because a wallet can leave the holder list without ever selling, and buying then fanning out to many wallets is the shape of a bundle. Those rows carry "transfer": true, the sender in trader and the receiver in to, a token_amount but NO price and NO sol_amount — they never went through the market, and zeroing those fields would read as "sold for nothing". "ambiguous": true means the transaction had several senders AND several receivers, so balance deltas cannot say who sent to whom: the pair shown is one of the possible ones, not a certainty. Sends are derived from token balance deltas, so CPI moves are caught too; transactions that touch pump.fun or PumpSwap are excluded because those are trades, not sends. Each row may carry router: the top-level program that orchestrated the swap (a custom smart contract / bot / aggregator — Trojan, BullX, Photon, GMGN, …); absent = direct call to pump.fun / pump-amm (not retroactive — only swaps after 2026-07-06). When that program belongs to a known trading platform the row also carries router_name (Axiom, GMGN, Trojan, Photon, Padre, Bloom, Banana Gun, Maestro, BonkBot); it is resolved at read time, so it applies to the whole history, and it is absent for programs outside the registry. TIP: tip is the transaction's TOTAL tip to known submission relays (lamports, paid top-level or inside a router call); tip_wallet is the recipient of the first of them, top-level transfers before router-paid ones, and /tokens/{mint}/launch-race and /versus report the relay of that same wallet. COMPUTE BUDGET: priority_fee is in lamports, cu_price is micro-lamports per compute unit and cu_limit the requested compute units. budget_source says where those three come from — absent (0): the transaction's ComputeBudget instructions (legacy and v0 transactions, and rows indexed before v1 support); here priority_fee is the priority fee the runtime charged, cu_price × min(cu_limit, 1,400,000) ÷ 1,000,000 rounded UP (rows indexed before this rule was deployed, on 26 October 2026, hold floor(cu_price × cu_limit ÷ 1,000,000) instead: up to 1 lamport lower, and computed on the whole cu_limit when it was above 1,400,000), and it is 0 when the transaction set a CU price without an explicit CU limit (the runtime then charges the price × its default limit, which is not recorded); 1: a v1 transaction (SIMD-0385, active on mainnet since slot 447120000) whose budget config we read — priority_fee is the total priority fee declared and paid, cu_limit is the declared limit (capped at 1,400,000) and cu_price is DERIVED as priority_fee × 1,000,000 ÷ cu_limit; 2: a v1 transaction whose budget config did not reach us — priority_fee is the total paid (the fee minus the signature fees), and cu_price and cu_limit are UNKNOWN: their "0" is not a zero bid, so leave those rows out of price comparisons and averages. PumpSwap (venue 1) and xStocks (venue 2) rows carry no compute budget at all: cu_price, cu_limit and priority_fee are 0 and budget_source is absent, v1 transactions included — not measured, not a zero bid. An absent budget_source does not prove the transaction was legacy or v0. QUOTE: when quote_mint is present on a pump.fun curve (venue 0) or PumpSwap (venue 1) row, the swap is quoted in that token: sol_amount and price are 0; quote_amount, fee and creator_fee are raw units of the quote (divide by 10^quote_decimals; on PumpSwap rows fee, creator_fee and lp_fee are 0); tip and priority_fee stay in lamports. xStocks rows (venue 2, quoted in USDC or USDT) are different: sol_amount repeats quote_amount and price is the USD price per share. quote_symbol and quote_decimals describe the quote when known; quote_decimals is absent while unknown, so never assume it (quotes use 4 to 12 decimals). SOL-quoted rows carry none of these fields. Large numbers are strings. bundled is true when another transaction on the same token landed in the same slot at block_index ±1 (the way a Jito bundle lands); it is decided per transaction, so every leg of a transaction (same block_index, different ix_index) carries the same flag, and it is checked against all the swaps of the token, not only the rows of the page. Example: `GET /tokens/9xQm…pump/swaps?order=desc&limit=1` ```json { "data": [ { "time": "2026-06-21T09:41:14Z", "mint": "9xQm…pump", "trader": "8psN…VRtf", "is_buy": true, "sol_amount": "0", "token_amount": "31250000000000", "price": "0", "fee": "108829987", "creator_fee": "34367364", "lp_fee": "0", "creator": "5Q5q…Funr", "tip": "1000000", "tip_wallet": "Cb3f…g9rE", "v_sol_reserves": "30488888889", "v_token_reserves": "1041666666666666", "real_sol_reserves": "488888889", "real_token_reserves": "761250000000000", "fee_payer": "8psN…VRtf", "cu_price": "120000", "cu_limit": "200000", "priority_fee": "24000", "slot": 348812994, "block_index": 1287, "sig": "4Fr4…ULFK", "ix_index": 3, "bundled": false, "quote_mint": "pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn", "quote_amount": "11455788057", "quote_symbol": "PUMP", "quote_decimals": 6, "venue": 0, "router": "BSfD…bot", "router_name": "Photon" } ], "next_cursor": "2026-06-21T09:41:14Z" } ``` #### `GET /tokens/{mint}/candles` OHLCV candles — tf=1s|30s|1m|1h|1d · from · to · limit. Without quote the candles are built from SOL-quoted swaps (price in SOL per token, volume in lamports). quote= builds candles from the swaps quoted in that token; price is raw quote per raw token, multiply by 10^(6 − quote_decimals); volume is raw quote units. Example: `GET /tokens/9xQm…pump/candles?tf=1m&limit=1` ```json { "data": [ { "time": "2026-06-21T09:41:14Z", "open": "0.00000042", "high": "0.00000051", "low": "0.00000039", "close": "0.00000048", "volume": "488888889", "trades": 137 } ] } ``` #### `GET /tokens/{mint}/ticks` Per-swap price series for line charts — every swap is one point, no candle grouping. Column arrays keep the page small (about 45 bytes per swap): t is the block time in Unix milliseconds (seconds resolution, so several swaps can share it), p the price per token in the quote unit, s 1 for a buy and 0 for a sell, a the swap amount in the quote unit, and dev the indexes of the token creator's trades. The swaps are the ones the candles use: without quote, the swaps with a SOL price (p in SOL per token, a in SOL); quote= selects the swaps quoted in that token (p and a in that token, decimals applied). Every kind of trade is included — protocol buybacks and route legs move the pool too — and reverted attempts are not. Arrays are in chronological order, oldest first. PAGINATION IS CURSOR-BASED AND THE CURSORS ARE OPAQUE: pass older as before= for the previous page, and newer as after= for the swaps that arrived after this page (to catch up after a reconnect; on an empty after page newer repeats your cursor). A page can hold fewer than limit swaps without being the end: keep following older until history_start is true — then no earlier swap is indexed (older still names the first swap of the page). before and after are exclusive and cannot be combined. limit ≤ 5000, default 2000. quote_decimals is absent while the quote's decimals are not verified: p and a are then in raw quote units (divide both by 10^quote_decimals once known). Example: `GET /tokens/9xQm…pump/ticks?limit=3` ```json { "mint": "9xQm…pump", "quote_mint": "", "quote_symbol": "SOL", "quote_decimals": 9, "t": [1758800401000, 1758800401000, 1758800404000], "p": [2.8411e-8, 2.8637e-8, 2.8502e-8], "s": [1, 1, 0], "a": [0.5, 1.25, 0.8], "dev": [1], "older": "1758800401000000_369000000_12_0_5kQm…", "newer": "1758800404000000_369000008_3_1_3aBz…", "history_start": false } ``` #### `GET /tokens/{mint}/holders` Holders ordered by balance, with realized PnL (position object) Example: `GET /tokens/9xQm…pump/holders?limit=1` ```json { "data": [ { "trader": "8psN…VRtf", "mint": "9xQm…pump", "symbol": "PEPE", "name": "Pepe the Frog", "token_balance": "1284000000000", "sol_invested": "4500000000", "sol_received": "1200000000", "tokens_bought": "1500000000000", "tokens_sold": "216000000000", "realized_pnl": "-180000000", "avg_cost": "0.003", "current_price": "488888889", "first_trade_at": "2026-06-21T09:41:14Z", "last_trade_at": "2026-06-24T17:03:55Z", "trade_count": 7 } ] } ``` #### `GET /tokens/{mint}/holder-stats` Holder count + concentration. source identifies an indexed swap_estimate or a confirmed onchain snapshot (when configured); onchain responses also include slot. Transfers are not included in swap estimates. Example: `GET /tokens/9xQm…pump/holder-stats` ```json { "source": "swap_estimate", "updated_at": "2026-09-10T15:00:00Z", "holders": 1342, "held": "873421889999", "top10": "412889123456", "top25": "588123987654" } ``` #### `GET /tokens/{mint}/counters` Live token-detail tab counters. The token-counters:{mint} WebSocket topic pushes the same snapshot as data in a token_counters event. Smart/dev are capped at 50/100, matching the visible lists. Example: `GET /tokens/9xQm…pump/counters` ```json { "updated_at": "2026-09-10T15:00:00Z", "holder_stats": { "source": "swap_estimate", "updated_at": "2026-09-10T15:00:00Z", "holders": 1342, "held": "873421889999", "top10": "412889123456", "top25": "588123987654" }, "smart": 4, "bundle": 3, "dev": 6 } ``` #### `GET /tokens/{mint}/intelligence` Current token overview and recent price episodes. Subscribe to token-intelligence:{mint} over /ws: the initial snapshot and full replacements arrive as token_intelligence events. Refreshes are shared and run every 2 seconds; when a token's snapshot is expensive to compute, the same snapshot is reused for up to 5 seconds before it is computed again, and when a refresh fails the previous snapshot (about a minute old at most) can be sent again: updated_at gives its age. PnL uses indexed average cost; missing bases remain unknown. pnl.source is indexed_transfers when balances are reconstructed as buys − sells + transfers in − transfers out (burns count as transfers out), swap_estimate when they come from trades alone, or onchain for configured on-chain balances. swap_estimate balances are not current ownership: do not display holder counts, supply shares, sniper holdings or holder PnL from them. partial flags bounded coverage, including tokens created before indexed transfer history begins and tokens whose transfer history is too long to read within the refresh time limit; when the transfer history is incomplete the snapshot is served as swap_estimate, and balances_unreconciled and untraced_supply_pct are not evaluated (always false and 0). Supply shares use the standard 1B supply, or 2B for mayhem-mode tokens. balances_unreconciled means indexed trades and transfers do not account for at least untraced_supply_pct of supply (threshold 1%): holder counts, supply shares, sniper holdings and holder PnL are then unreliable and should not be displayed. Bundle/shared-funder patterns are evidence, not proof of common control. SOL pairs only. Example: `GET /tokens/9xQm…pump/intelligence` ```json { "mint": "9xQm…pump", "updated_at": "2026-09-10T17:39:24Z", "window_start": "2026-09-10T17:34:24Z", "supported": true, "partial": false, "supply_source": "standard_supply_estimate", "pnl": { "total": 128, "profit": 48, "loss": 59, "flat": 3, "unknown": 18, "source": "indexed_transfers" }, "snipers": { "total": 18, "holding": 7, "closed": 11, "unknown": 0, "supply_pct": 3.8, "partial": false }, "wallets": [], "events": [], "buy_sol": "12", "sell_sol": "42", "buyers": 8, "sellers": 24, "pattern": "Concentrated selling", "untraced_supply_pct": 0.2, "balances_unreconciled": false } ``` #### `GET /tokens/{mint}/activity` Activity strip — 5m/1h/24h windows + per-minute buy/sell flow. recent_ids (sig:ix_index) identify swaps already in this snapshot since recent_since, allowing clients to reconcile incoming WS trades without double-counting. vol is lamports from SOL-quoted swaps only; txns, buys, sells, buyers and sellers count every swap. quote_mint is always present: "" means the token traded in SOL over the last 24h; a mint means more than half of its 24h swaps were quoted in that single token, and then the response also carries quote_symbol / quote_decimals (when known) and every window carries vol_quote, the volume in raw units of that quote (divide by 10^quote_decimals). A token trading on several non-SOL quotes at once reports "". Example: `GET /tokens/9xQm…pump/activity` ```json { "quote_mint": "", "windows": [ { "w": "24h", "vol": "488888889", "txns": 1342, "buys": 812, "sells": 530, "buyers": 401, "sellers": 287 } ], "flow": [ { "t": 1750498800, "buy": "312500000", "sell": "176388889" } ] } ``` #### `GET /tokens/{mint}/launch` Launch analysis — first swaps grouped into bundles + dev bundle Example: `GET /tokens/9xQm…pump/launch?limit=150` ```json { "mint": "9xQm…pump", "creator": "5Q5q…Funr", "bundled_pct_supply": 4.88888889, "dev_bundle_pct_supply": 4.88888889, "bundle_count": 1, "bundles": [ { "slot": 339481577, "start_index": 412, "size": 2, "is_bundle": true, "has_dev": true, "wallets": [ "5Q5q…Funr", "8psN…VRtf" ], "sol_total": "488888889", "tokens_bought": "48888888900000", "pct_supply": 4.88888889, "swaps": [ { "time": "2026-06-27T09:41:14Z", "mint": "9xQm…pump", "trader": "5Q5q…Funr", "is_buy": true, "sol_amount": "300000000", "token_amount": "30000000000000", "price": "0.00000001", "fee": "1500000", "creator_fee": "150000", "lp_fee": "300000", "creator": "5Q5q…Funr", "tip": "1000000", "tip_wallet": "Jee7…xQ2", "v_sol_reserves": "30300000000", "v_token_reserves": "1042857142857142", "real_sol_reserves": "300000000", "real_token_reserves": "42857142857142", "fee_payer": "5Q5q…Funr", "cu_price": "250000", "cu_limit": "120000", "priority_fee": "30000", "slot": 339481577, "block_index": 412, "sig": "4Fr4…ULFK", "ix_index": 3, "bundled": true, "quote_mint": "So11111111111111111111111111111111111111112", "quote_amount": "300000000", "venue": 0 }, { "time": "2026-06-27T09:41:14Z", "mint": "9xQm…pump", "trader": "8psN…VRtf", "is_buy": true, "sol_amount": "188888889", "token_amount": "18888888900000", "price": "0.00000001", "fee": "944444", "creator_fee": "94444", "lp_fee": "188888", "creator": "5Q5q…Funr", "tip": "500000", "tip_wallet": "Jee7…xQ2", "v_sol_reserves": "30488888889", "v_token_reserves": "1023968253957142", "real_sol_reserves": "488888889", "real_token_reserves": "61746031757142", "fee_payer": "8psN…VRtf", "cu_price": "200000", "cu_limit": "120000", "priority_fee": "24000", "slot": 339481577, "block_index": 413, "sig": "5Gh2…RtfK", "ix_index": 3, "bundled": true, "quote_mint": "So11111111111111111111111111111111111111112", "quote_amount": "188888889", "venue": 0 } ] } ] } ``` #### `GET /tokens/{mint}/smart` Smart-money wallets holding/trading this token Example: `GET /tokens/9xQm…pump/smart?limit=40` ```json { "data": [ { "trader": "8psN…VRtf", "mint": "9xQm…pump", "token_balance": "488888889123456", "sol_invested": "12500000000", "sol_received": "4200000000", "tokens_bought": "612345678901234", "tokens_sold": "123456789777778", "realized_pnl": "1875000000", "avg_cost": "0.0000204", "current_price": "0", "first_trade_at": "2026-06-21T09:41:14Z", "last_trade_at": "2026-06-27T08:12:03Z", "trade_count": 17 } ] } ``` #### `GET /tokens/{mint}/funding-clusters` Insider detection — early buyers grouped by shared origin-funder Example: `GET /tokens/9xQm…pump/funding-clusters` ```json { "early_buyers": 500, "clustered": 14, "clusters": [ { "funder": "5Q5q…Funr", "funder_label": "Dev wallet", "count": 6, "is_dev": true, "wallets": [ "8psN…VRtf", "Cb3f…g9rE", "Gm4w…9xZ2" ] } ] } ``` #### `GET /tokens/{mint}/repeat-offenders` Wallets in this token that took part in previous rug DUMPS — sold in the dev's dump slot (same_slot = sold in the very slot of the dev's dump) or within a few slots after. Buyers are victims and never counted. seen_in lists sample tokens they dumped before Example: `GET /tokens/9xQm…pump/repeat-offenders?limit=50` ```json { "mint": "9xQm…pump", "flagged": 8, "this_token": { "rugged": true, "dev_dump_slot": 434305434, "co_dumpers": 36, "same_slot": 1 }, "data": [ { "wallet": "6hh9…Nfew", "rug_count": 1670, "same_slot_count": 595, "as_operator": 0, "as_sniper": 1274, "sol_extracted": 14.21, "seen_in": ["$Gentlemen", "$Mosquito", "$Groundhog"], "seen_in_more": 15, "last_seen": "2026-07-21T13:05:11Z" } ] } ``` #### `GET /tokens/{mint}/meta` Off-chain metadata from the token URI: image, socials, description. Served from the server's metadata store: each token's metadata JSON is fetched once in the background (new tokens within seconds of creation) and kept, so the answer normally comes from storage in milliseconds. When a token's metadata is not stored yet, the server tries to fetch it for up to about 1.5 s; if it still has no answer it returns the same object with only "pending": true and Cache-Control: no-store — ask again a few seconds later (the fetch goes on server-side). pending is also returned while a failed fetch waits for its next retry. Without pending the answer is final: fields the metadata does not set are omitted, and {} means there is none (no URI, a URI that cannot be fetched, or metadata deleted by its host). A mint we do not know answers pending for 2 minutes from the first time it is requested (a token seconds old may not be indexed yet); after that it answers {}, kept about 5 minutes. A value that is not a Solana address answers {} at once. image is the canonical image URL (IPFS images on ipfs.io); use /tokens/{mint}/image for a gateway that serves it. Example: `GET /tokens/9xQm…pump/meta` ```json { "image": "https://ipfs.io/ipfs/QmZ9xPq7vYfK3nT8sLcW2mUaBdEfGhJkRtNpQrSvWxYz12", "twitter": "https://x.com/raiden_token", "website": "https://raiden.wtf", "telegram": "https://t.me/raiden_token", "description": "Raiden community token launched on pump.fun." } ``` #### `GET /tokens/{mint}/image` 302 redirect to the token image, for . For IPFS images the Location is a gateway the server has checked actually serves that image; when no gateway confirms it in time, the Location is the first gateway that has not refused the image, and the redirect is kept only 90 s. A redirect is cacheable for at most 1 hour. 404 with max-age: no image or not a Solana address (final, 1 hour), the metadata is waiting for a retry (90 s), or the token has no URI or the mint has been unknown for over 2 minutes since it was first requested (5 minutes). 404 with Cache-Control: no-store: the answer is not known yet (same ~1.5 s budget as /meta, or a mint first requested less than 2 minutes ago that is not indexed yet) — request it again later. No response body is needed: follow the Location. Example: `GET /tokens/9xQm…pump/image` #### `GET /mempool-buyers` Wallets that tried to buy a token BEFORE it existed. A failed buy on a mint at a slot earlier than the token's creation means that wallet already knew the address — it did not guess it. Either it was told, or it was watching the mempool. Returns both the raw events and a per-wallet roll-up; max_slots_before is how far ahead of creation the earliest attempt landed, which is the measure of how early they knew. landed says whether that wallet then actually managed to buy. THIS IS A RARE SIGNAL, and the numbers say why it has to be precomputed rather than queried: in a measured 24h there were 32,465,136 failed buys and 33,649 tokens created, and exactly 84 rows satisfy the condition — one in 386,000. A background job accumulates them; this endpoint just reads. days=1..60, default 1. Example: `GET /mempool-buyers?days=1` ```json { "since_days": 1, "per_wallet": [ { "wallet": "7QnR…mK2v", "tokens": 3, "attempts": 11, "max_slots_before": 6135, "landed": 2, "last_time": "2026-08-07T14:22:09Z" } ], "events": [ { "wallet": "7QnR…mK2v", "mint": "9xQm…pump", "symbol": "QMASCOT", "creator": "5Q5q…Funr", "attempts": 4, "slots_before": 6135, "slot": 437805588, "created_slot": 437811723, "sig": "5KJp…9xQm", "create_sig": "3Ftz…La9k", "landed": true, "time": "2026-08-07T14:22:09Z" } ] } ``` #### `GET /dev-filters/presets` The dev-quality filters and what each one actually tests, with the bit it occupies in the screener's filter mask. Use it to build a filter set programmatically instead of hardcoding bit positions that may move. Example: `GET /dev-filters/presets` ```json { "filters": [ { "bit": 0, "id": "spam_rate", "name": "High tokens/day", "desc": "Creator launches far more tokens per day than a real project would" } ] } ``` #### `GET /tokens/{mint}/launch-race` Who tried to get into this token at birth, and who made it. Versus compares two wallets you pick; this is the other half — everyone who was there, in true arrival order (slot, then position inside the block). The failed attempts are what makes it worth reading: winners are visible anyway, losers are not. Each attempt gets an outcome: won (the first OUTSIDE wallet in) · dev_buy (the creator's own buy) · landed · dev_sell / sell (a sell that landed in the window) · rejected (the venue turned it down, with the decoded reason) · self_abort (its own routing contract stopped it — it lost to nobody) · failed_unknown (reverted before we recorded which program stopped it). THE DEV DOES NOT WIN THE RACE: on pump.fun the creator's buy lands with the token's own creation, so it always lands first — measured on five consecutive tokens, winner and creator were the same address every time. Calling it the winner describes the transaction format, not a contest, so the title goes to the first non-creator wallet in (first_outside) and the creator is flagged dev. THE OTHER DISTINCTION THAT CHANGES THE READING: on a measured launch, 3,062 of 3,116 attempts were 14 bots declining to trade, 219 sprays each. Counting them as defeats reads as '3,116 contenders, 45 got in, 1.4% success'; the truth is 25 wallets reached the venue and 21 got in — 83%. SELLS ARE NOT THE RACE: every row carries side = buy | sell | unknown (reverted before revealing a direction), and sells stay on the board in arrival order — a creator selling in the first slots is worth seeing — but are excluded from every count: attempts, landed, contenders, winner, the bids, by_slot and bundle_size. Measured over two hours of launches, 32% of the landed rows in these windows were sells, and on one token in four the creator sold. A landed buy is flagged bundled when another landed transaction on the token sits in the same slot at block_index ±1 (the way a Jito bundle lands; any landed transaction on the token counts, a sell included, also one the board does not show; the creator alone is not a bundle, and reverted attempts are never bundled nor count as neighbours); bundle_size counts the bundled buys in the creation slot. Every attempt carries tip, priority_fee, cu_price, cu_limit, fee (for an attempt that landed, the pump.fun protocol fee of the buy; for a reverted one, the network fee it paid anyway, in lamports), price and sol for the ones that landed, the tip relay (provider: the relay of the swap's tip_wallet, as in /tokens/{mint}/swaps), the router or aborting contract (program), the transaction signature, and the leader — the validator that produced that slot, which on a race decided by position rather than price is often the only thing that explains the result. Also returns winner_cu_price against losing_cu_price_max, which often shows the winner did NOT outbid the field. Every attempt also carries budget_source (see /tokens/{mint}/swaps; absent = 0): attempts with budget_source 2 are v1 transactions whose CU price is unknown, so they take part in no bid comparison — losing_cu_price_max is the highest KNOWN rejected bid, and when the winner itself is one of them winner_bid_known is false and winner_cu_price reads "0", which then means unknown, not a zero bid — check winner_bid_known before reading winner_cu_price, which is always a string of digits (with no outside winner, winner_cu_price is "0" and winner_bid_known true). Landed attempts quoted in a token other than SOL carry quote_mint, quote_amount (raw units), quote_symbol and quote_decimals (absent while unknown) instead of sol; their fee is then in raw units of that quote, not lamports. Per-slot breakdown with median tip. slots=1..150, default 30, covering the first ~20 seconds. Example: `GET /tokens/9xQm…pump/launch-race?slots=30` ```json { "mint": "9xQm…pump", "symbol": "WIF", "created_slot": 436991078, "created_block_index": 412, "attempts": 3116, "landed": 45, "contenders": 39, "winner": "8psN…VRtf", "winner_cu_price": "1000000", "winner_bid_known": true, "losing_cu_price_max": "39760000", "self_aborts": 3062, "unknown_outcome": 0, "headline": "The winner did not outbid the field — someone offered more and still did not get in, so position in the block decided it, not price.", "by_slot": [ { "slots_after_creation": 0, "attempts": 11, "landed": 3, "wallets": 10, "median_tip": "229830000" } ], "board": [ { "wallet": "8psN…VRtf", "slots_after_creation": 0, "block_index": 412, "outcome": "won", "side": "buy", "cu_price": "1000000", "tip": "229830000", "sol": 1.4 }, { "wallet": "Cb3f…g9rE", "slots_after_creation": 0, "block_index": 480, "outcome": "rejected", "side": "buy", "why": "slippage: Too much SOL required to buy the given amount of tokens.", "cu_price": "39760000" }, { "wallet": "7QnR…mK2v", "slots_after_creation": 1, "block_index": 96, "outcome": "self_abort", "side": "buy", "why": "The routing contract stopped the transaction itself — its own guard rejected the trade, so the venue never ran. A higher priority fee would not have changed the outcome.", "program": "GpmL…JhJd" }, { "wallet": "5Q5q…Funr", "slots_after_creation": 19, "block_index": 233, "outcome": "dev_sell", "side": "sell", "dev": true, "sol": 0.11 } ] } ``` #### `GET /tokens/{mint}/transfers` The RAW wallet-to-wallet movements of this token, newest first — the rows behind /sends, for when you want to rebuild the graph yourself instead of taking our verdict. These never touch the market: no price, no SOL, and they appear in no volume metric. amount is RAW units and is the authoritative field (these reach 1e15, so it is a string); amount_token is the same value divided by decimals, for convenience. "ambiguous": true means balance deltas cannot say who sent to whom — several senders AND several receivers of this mint, or several senders when some tokens were also burned in the same transaction — so the pair shown is one of the possible ones, not a certainty; the movement itself did happen. Burns are not wallet-to-wallet movements and are not listed. PAGINATION IS CURSOR-BASED AND THE CURSOR IS OPAQUE: follow next_cursor until it is absent. Do not build it yourself — time alone is NOT unique here (it is the ingest instant, shared by every row of the same batch: up to 20 identical for one mint), so a time-only cursor silently skips rows. window=6h|24h|168h caps how far back a single call looks (default: widens automatically until the page fills, max 7d); go further back with the cursor. limit ≤ 500. Example: `GET /tokens/9xQm…pump/transfers?limit=100` ```json { "data": [ { "time": "2026-08-07T15:14:17.339373Z", "slot": 437811723, "block_index": 422, "sig": "5KJp…9xQm", "ix_index": 0, "mint": "9xQm…pump", "from": "7EJq…rE7U", "to": "CYZb…Fb9k", "amount": "235918501", "decimals": 6, "amount_token": 235.918501 } ], "next_cursor": "MTc1NDU4…fDQyMnww" } ``` #### `GET /wallets/{trader}/token-transfers` Token movements in and out of a wallet — the half its swaps cannot show. A wallet can end up holding tokens it never bought and lose them without ever selling, and neither shows in trade history. NOT to be confused with /wallets/{trader}/transfers, which is native SOL. direction=in (received) | out (sent) | all (default). Same opaque cursor, same window and limit rules as /tokens/{mint}/transfers, same row shape. Received tokens with no matching buy are the signature of a sybil fleet or a bundle being seeded. Example: `GET /wallets/8psN…VRtf/token-transfers?direction=in` ```json { "data": [ { "time": "2026-08-07T15:14:17.339373Z", "slot": 437811723, "block_index": 422, "sig": "5KJp…9xQm", "ix_index": 0, "mint": "9xQm…pump", "from": "7EJq…rE7U", "to": "8psN…VRtf", "amount": "235918501", "decimals": 6, "amount_token": 235.918501 } ], "next_cursor": "" } ``` #### `GET /tokens/{mint}/sends` Who is DISTRIBUTING this token, and to whom. Sends never touch the market, so they appear in no volume metric: a wallet can leave the holder list without ever selling, and hundreds of holders can appear without anyone buying. THE NUMBER THAT MATTERS IS NOT how many wallets received it — it is how many of them had never bought it. On a real token one wallet sent to 971 recipients in a minute, which looks like a sybil fleet; 966 of them already held the token, so it went to people who were already in. Counting recipients alone would have cried wolf. AND THERE IS A SECOND LEVEL THAT MATTERS MORE: many recipients pass the token straight on. Measured across 57 tokens: 46,117 A→B→C chains, 469 relay nodes, some forwarding 100% of what they receive. Where that happens, "it reached someone" is false — the token is circulating, so this verdict takes precedence. Returns verdict: relay_chain (recipients forward it — the token is moving through a chain, not arriving), manufactured_holders (recipients had never entered through the market — holders created, not earned), to_existing_holders (they were already in), or mixed. Per-distributor: sends, recipients, how many never bought, and max_fanout — the widest single transaction, because reaching 20 wallets in ONE transaction is a programmed distribution while reaching 20 across twenty transactions can be anything. flagged=false below 5 recipients: that is someone sending to a friend, not a distribution. Window w=1h|24h|7d. Example: `GET /tokens/9xQm…pump/sends?w=24h` ```json { "mint": "9xQm…pump", "window": "24h", "sends": 1071, "senders": 2, "receivers": 971, "ambiguous": 0, "fresh_receivers": 5, "fresh_pct": 0.51, "relay_receivers": 12, "relay_pct": 1.24, "flagged": true, "verdict": "to_existing_holders", "headline": "Sent to 971 wallets, and 99% of them already held the token — this went to people who were already in, not to new wallets.", "distributors": [ { "wallet": "CKDe…tXn8", "sends": 971, "receivers": 971, "fresh_receivers": 5, "fresh_pct": 0.51, "max_fanout": 20, "tokens": 51978.5 } ] } ``` #### `GET /tokens/{mint}/authenticity` Is this token's activity real? Hundreds of holders and constant trading can be manufactured for a few cents of SOL, and by eye they are indistinguishable from a live token — which is exactly what makes it work. The signal is who pays the fees: fee_payer can differ from the trader, and paying someone else's fees is an ongoing operational link. But wallet COUNT alone cannot judge it — a trading platform covering gas for its users looks identical on that axis. What separates them is capital per wallet, and the measured gap is a chasm: real users sit above 0.5 SOL each, manufactured fleets below 0.0001, with nothing in between. Returns verdict (manufactured | platform_sponsored | organic), the share of the token's wallets behind each payer, the SOL actually deployed, and a plain-language headline. Window w=1h|24h|7d. Example: `GET /tokens/9xQm…pump/authenticity?w=24h` ```json { "mint": "9xQm…pump", "window": "24h", "wallets_total": 397, "verdict": "manufactured", "headline": "100% of the wallets trading this token have their fees paid by a single address that puts up almost no capital — 396 wallets on 0.1564 SOL in total. The holder count and the trade count are made, not earned.", "manufactured_wallets": 396, "manufactured_share_pct": 99.75, "capital_used_sol": 0.1564, "groups": [ { "payer": "5c8T…yrn", "wallets": 396, "swaps": 1327, "sol": 0.1564, "share_of_token_wallets_pct": 99.75, "sol_per_wallet": 0.000395, "kind": "manufactured" } ] } ``` #### `GET /tokens/{mint}/trust` Raiden Trust — live 0-100 risk score (higher = safer). verdict = clean (score ≥65) | caution (40-64) | likely_rug (<40). Blends 5 weighted signals: dev reputation, known rug-dumpers currently in the token (holding vs already sold, plus serial-ring members), bundled/insider supply %, dev exit %, and wash-trading %. Each signal reports its raw value + its contribution (comp) to the score. capped/cap_reason are set when one hard signal (heavy bundling, ring holding, confirmed rug…) forces the ceiling down. Fully LIVE from current holders — no cached verdict. Example: `GET /tokens/9xQm…pump/trust` ```json { "mint": "9xQm…pump", "score": 45, "verdict": "caution", "capped": true, "cap_reason": "bundled", "rugged": false, "signals": { "dev_score": { "value": 0, "comp": 8.4, "known": true }, "dumpers_holding": { "value": 3, "comp": 15.0, "known": true }, "dumpers_sold": { "value": 5, "comp": 6.0, "known": true }, "ring_holding": { "value": 1, "comp": 15.0, "known": true }, "bundled_pct": { "value": 52.0, "comp": 0.0, "known": true }, "dev_exit": { "value": 100.0, "comp": 6.1, "known": true }, "wash_pct": { "value": 27.0, "comp": 4.3, "known": true } }, "dev_dump_slot": 434305434, "weights": { "dev": 0.35, "offenders": 0.25, "bundle": 0.15, "exit": 0.10, "wash": 0.15 } } ``` #### `GET /tokens/{mint}/wash-traders` Wash-trading detection — wallets that repeatedly BUY and SELL this token to inflate fake volume (round-trippers: ≥5 buys AND ≥5 sells in the last 24h). wash_pct estimates how much of the 24h volume is artificial. data lists the top 20 round-trippers; flagged is the full count. Amounts are measured in the token's quote: quote_mint is always present — "" means SOL, and then wash_vol_sol, total_vol_sol and vol_sol are in SOL; a mint means more than half of the 24h swaps were quoted in that single token (the same rule as /tokens/{mint}/activity), and then wash_vol_quote, total_vol_quote and each row's vol_quote are raw units of that quote (divide by 10^quote_decimals; quote_symbol / quote_decimals when known) while the _sol fields read 0. Example: `GET /tokens/9xQm…pump/wash-traders` ```json { "mint": "9xQm…pump", "window_h": 24, "flagged": 6, "shown": 6, "wash_vol_sol": 128.4, "total_vol_sol": 472.9, "wash_pct": 27.2, "quote_mint": "", "data": [ { "wallet": "6hh9…Nfew", "buys": 41, "sells": 39, "vol_sol": 88.2 } ] } ``` #### `GET /tokens/{mint}/pack` Deep-look bundle — ONE call returns the whole token dossier instead of fanning out 9 requests. Each key under pack is the exact response of the matching standalone endpoint (or null if that part failed — the pack itself never fails). Sub-calls reuse the same cache as the individual endpoints, so it's lighter on the backend than calling them yourself. as_of = when the bundle was assembled. API key only: on the website, without a key, it answers 403 api_key_required. Example: `GET /tokens/9xQm…pump/pack` ```json { "mint": "9xQm…pump", "as_of": "2026-07-22T14:03:00Z", "pack": { "token": { "...": "= GET /tokens/{mint}" }, "activity": { "...": "= GET /tokens/{mint}/activity" }, "launch": { "...": "= GET /tokens/{mint}/launch" }, "holder_stats": { "...": "= GET /tokens/{mint}/holder-stats" }, "smart": { "...": "= GET /tokens/{mint}/smart" }, "repeat_offenders": { "...": "= GET /tokens/{mint}/repeat-offenders" }, "trust": { "...": "= GET /tokens/{mint}/trust" }, "wash_traders": { "...": "= GET /tokens/{mint}/wash-traders" }, "funding_clusters": { "...": "= GET /tokens/{mint}/funding-clusters" } } } ``` ### Wallets #### `GET /wallets/{addr}/stats` Wallet profile over TWO horizons, and the difference is deliberate. Lifetime, from stored positions: pnl, volume, win rate, tokens_traded/closed/won, dist, avg_hold_sec. Recent window only — fees, launch_buys, fast_flip and mc_dist, the four fields that require scanning raw swaps. The window is at most 60 days and is narrowed further for very high-volume wallets, so READ swap_window_days instead of assuming a fixed horizon: a bot wallet with tens of millions of swaps may come back with 3. A wallet with no trades in that window returns zero for those four and omits swap_window_days. Those four are computed in the background: a call that finds no finished computation returns them as 0 without swap_window_days and starts one, and a later call returns them once it has finished (they are then cached for 10 minutes). Use /wallets/{addr}/window-stats to pick the window explicitly (1d|7d|30d). On the very largest wallets (hundreds of thousands of positions, whose lifetime profile takes over a second to compute) the lifetime fields can come from a computation up to 2 hours old while a fresh one runs in the background; computed_ago_sec then says how many seconds old they are, counted from when that computation started. It is absent when they are at most 30 s old. May include failed_cost: what the wallet spent on attempts that REVERTED. Solana charges the fee even when a transaction fails, and failed attempts never become positions, so realized_pnl does not account for them; failed_cost.realized_pnl_net does. It is realized_pnl minus the current fee_lamports: when computed_ago_sec is present, its realized_pnl part is that old while the fees are current. fee_lamports was actually paid. tip_bid_lamports was only OFFERED — the tip transfer reverts with the transaction and never leaves the wallet, so the two must never be added together. covered_from is the oldest hour the history rollup has reached: while it is still walking back, the totals are a lower bound. Example: `GET /wallets/8psN…VRtf/stats` ```json { "trader": "8psN…VRtf", "realized_pnl": "184500000000", "unrealized": "-12750000000", "total_pnl": "171750000000", "sol_invested": "642300000000", "sol_received": "826800000000", "volume": "1469100000000", "fees": "3820000000", "tokens_traded": 312, "tokens_closed": 287, "tokens_won": 168, "win_rate": 0.5853658536585366, "trades": 1944, "tokens_created": 4, "launch_buys": 41, "avg_hold_sec": 1837.42, "avg_cost": 2.0586538461538462, "avg_sold": 2.880836236933798, "sold_gt_bought": 153, "never_sold": 25, "fast_flip": 22, "dist": { "d500": 31, "d200": 54, "d0": 83, "dneg": 97, "drug": 22 }, "mc_dist": { "lo": 198, "mid": 89, "hi": 25, "buys": 312 }, "swap_window_days": 60, "first_seen": "2026-01-14T08:22:51Z", "last_seen": "2026-06-27T11:03:18Z", "flags": [ "dev", "sniper", "profitable", "whale" ], "created": [ { "mint": "9xQm…pump", "symbol": "WAGMI", "name": "We All Gonna Make It", "status": "graduated", "created_at": "2026-05-02T17:41:09Z", "last_price": "0.00000042", "dev_hold_pct": 3.45, "dev_realized_pnl": "28400000000", "dumped": false, "ath": "0" } ] } ``` #### `GET /wallets/{addr}/stats-lite` Fast positions-only stats (no swap scan) — subset of /stats, for lists Example: `GET /wallets/8psN…VRtf/stats-lite` ```json { "trader": "8psN…VRtf", "total_pnl": "12480000000", "realized_pnl": "9870000000", "unrealized": "2610000000", "win_rate": 0.6428571428571429, "tokens_traded": 42, "last_seen": "2026-06-21T09:41:14Z" } ``` #### `GET /wallets/{addr}/window-stats` Same shape as /stats but over a recent window — w=1d|7d|30d Example: `GET /wallets/8psN…VRtf/window-stats?w=7d` ```json { "trader": "8psN…VRtf", "realized_pnl": "18450000000", "unrealized": "3200000000", "total_pnl": "21650000000", "sol_invested": "142000000000", "sol_received": "160450000000", "volume": "302450000000", "fees": "488888889", "tokens_traded": 47, "tokens_closed": 39, "tokens_won": 24, "win_rate": 0.6153846153846154, "trades": 213, "tokens_created": 0, "launch_buys": 6, "avg_hold_sec": 842.5, "avg_cost": 3.021276595744681, "avg_sold": 4.114102564102565, "sold_gt_bought": 21, "never_sold": 8, "fast_flip": 4, "dist": { "d500": 5, "d200": 9, "d0": 10, "dneg": 11, "drug": 4 }, "mc_dist": { "lo": 18, "mid": 21, "hi": 8, "buys": 47 }, "flags": [ "profitable", "whale" ], "created": [] } ``` #### `GET /wallets/{addr}/swaps` Wallet fills — order · mint · sort=time|amount|tokens|price · cursor · limit. Optional failed=1 interleaves the wallet's FAILED attempts (landed on-chain but reverted, real buy/sell only) in block order: rows carry failed:true + err_code plus a decoded err object (program that raised it, instruction index, variant, code, name, reason; sure=false means the code is known but its meaning is not; aborted=true means the routing contract stopped the transaction itself, so a higher fee would not have helped), with no amount/price (the tx reverted); pagination cursor stays based on landed fills only. With sort, failed rows interleave only for sort=time. Each fill may carry router (top-level program: custom contract / bot / aggregator that routed the swap; absent = direct pump.fun / pump-amm call) and, for programs owned by a known trading platform, router_name (Axiom, GMGN, Trojan, …). Each fill carries cu_price, cu_limit, priority_fee (lamports) and budget_source with the meaning described under /tokens/{mint}/swaps: priority_fee is the total paid with budget_source 1 or 2, and with 0 it is the runtime's charge for the explicit CU price and limit (rounded up, limit capped at 1,400,000; floor and uncapped on rows indexed before this rule was deployed on 26 October 2026), 0 when no explicit CU limit was set, with budget_source 2 the CU price and limit are unknown, not zero, and PumpSwap (venue 1) fills record no compute budget (all 0). Fills quoted in a token other than SOL carry quote_mint, quote_amount, quote_symbol and quote_decimals with the meaning described under QUOTE in /tokens/{mint}/swaps: on pump.fun and PumpSwap fills (venue 0/1) sol_amount and price are 0 and fee / creator_fee are in raw units of the quote; xStocks fills (venue 2) keep sol_amount = quote_amount and price in USD per share. bundled is true when another transaction on the same token landed in the same slot at block_index ±1 (the way a Jito bundle lands); it is decided per transaction and token: every leg of a transaction on the same token (same block_index, different ix_index) carries the same flag, while the legs of one transaction on two different tokens are each checked against their own token, so they can differ. The neighbour can be anyone's transaction, not only one of this wallet: the flag is checked against all the swaps of the token, also with mint and sort. Example: `GET /wallets/8psN…VRtf/swaps?order=desc&limit=2&failed=1` ```json { "data": [ { "time": "2026-06-21T09:41:14Z", "mint": "9xQm…pump", "symbol": "WIF", "name": "dogwifhat", "trader": "8psN…VRtf", "is_buy": true, "sol_amount": "488888889", "token_amount": "13977901234567", "price": "0.00000042", "fee": "4888888", "creator_fee": "2444444", "lp_fee": "1222222", "creator": "5Q5q…Funr", "tip": "1000000", "tip_wallet": "Cb3f…g9rE", "v_sol_reserves": "30488888889", "v_token_reserves": "1072000000000000", "real_sol_reserves": "488888889", "real_token_reserves": "206900000000000", "fee_payer": "8psN…VRtf", "cu_price": "250000", "cu_limit": "120000", "priority_fee": "30000", "slot": 348812904, "block_index": 1731, "sig": "4Fr4…ULFK", "ix_index": 3, "bundled": false, "quote_mint": "Xeq…AAPL", "quote_amount": "1250000", "venue": 0 }, { "time": "2026-06-21T09:41:13Z", "mint": "GJb2…pump", "symbol": "SNIPE", "trader": "8psN…VRtf", "is_buy": true, "sol_amount": "0", "token_amount": "0", "price": "0", "fee": "1005000", "tip": "1500000", "cu_price": "1100000", "cu_limit": "110000", "priority_fee": "400000", "slot": 348812903, "block_index": 902, "sig": "4thh…APCR", "ix_index": 0, "venue": 0, "failed": true, "err_code": "08000000031900000003000000", "err": { "raw": "08000000031900000003000000", "program": "GpmL…JhJd", "ix_index": 3, "variant": "Custom", "code": 3, "name": "Error 3", "reason": "The routing contract stopped the transaction itself — its own guard rejected the trade, so the venue never ran. A higher priority fee would not have changed the outcome.", "sure": false, "aborted": true } } ], "next_cursor": "2026-06-21T09:41:14Z" } ``` #### `GET /wallets/{addr}/positions` Open/closed positions — sort=last|pnl|invested|balance|trades|first · dir · offset. realized_pnl is net of every fee and uses a MOVING-AVERAGE cost basis: avg_cost is the average cost of the tokens still held, so after a full exit a new entry starts from its own price, and tokens that arrived by transfer and were then sold carry no cost. Until this rule was deployed on 26 October 2026, avg_cost was the average of every buy ever made, so on positions traded in several round trips the later rounds were charged part of the earlier rounds' cost and realized_pnl did not match the cash flow; realized_pnl accumulated before then keeps the old figure until the position is recomputed from its swaps. Only SOL-quoted trades enter positions. Example: `GET /wallets/8psN…VRtf/positions?limit=1` ```json { "data": [ { "trader": "8psN…VRtf", "mint": "9xQm…pump", "symbol": "PEPE", "name": "Pepe the Frog", "token_balance": "488888888888888", "sol_invested": "2500000000", "sol_received": "1800000000", "tokens_bought": "732000000000000", "tokens_sold": "243111111111112", "realized_pnl": "-700000000", "avg_cost": "0.0000034153", "current_price": "0.00000042", "first_trade_at": "2026-06-21T09:41:14Z", "last_trade_at": "2026-06-24T17:08:53Z", "trade_count": 14 } ] } ``` #### `GET /wallets/{addr}/positions/{mint}` One wallet position on a token (404 if none) Example: `GET /wallets/8psN…VRtf/positions/9xQm…pump` ```json { "trader": "8psN…VRtf", "mint": "9xQm…pump", "symbol": "WIF", "name": "dogwifhat", "token_balance": "1280000000000", "sol_invested": "488888889", "sol_received": "210000000", "tokens_bought": "1840000000000", "tokens_sold": "560000000000", "realized_pnl": "73500000", "avg_cost": "0.00026570", "current_price": "0", "first_trade_at": "2026-06-21T09:41:14Z", "last_trade_at": "2026-06-24T17:03:52Z", "trade_count": 14 } ``` #### `GET /wallets/{addr}/devs` Devs of the tokens this wallet traded — sort=tokens|pnl|invested|last · dir Example: `GET /wallets/8psN…VRtf/devs?limit=1` ```json { "data": [ { "creator": "5Q5q…Funr", "tokens_traded": 7, "graduated": 2, "realized_pnl": "488888889", "sol_invested": "1250000000", "last_trade_at": "2026-06-21T09:41:14Z", "is_self": false } ] } ``` #### `GET /wallets/{addr}/related` Wallets that trade the same token in the same slot (coordinated) Example: `GET /wallets/8psN…VRtf/related?limit=1` ```json { "data": [ { "wallet": "Cb3f…g9rE", "count": 47, "tokens": 12 } ] } ``` #### `GET /wallets/{addr}/created` Tokens created by the wallet, with the dev position on each. dev_hold_pct, dev_realized_pnl (lamports) and dumped come from the dev's SOL-quoted trades only. dev_untracked: true marks a token whose dev position is not measured — the token is quoted in a token other than SOL (quote_mint, with quote_symbol / quote_decimals when known), or has never traded against SOL — and then those three fields read 0 and must not be used. The same shape is used by created in /wallets/{addr}/stats and by tokens in /creators/{addr}. Example: `GET /wallets/8psN…VRtf/created?limit=1` ```json { "data": [ { "mint": "9xQm…pump", "symbol": "WIF", "name": "dogwifhat", "status": "graduated", "created_at": "2026-06-21T09:41:14Z", "last_price": "0.00000042", "dev_hold_pct": 3.85, "dev_realized_pnl": "488888889", "dumped": true, "ath": "0.00000311" }, { "mint": "H2cx…pump", "symbol": "GOON", "name": "Example Token", "status": "bonding", "created_at": "2026-09-24T18:57:02Z", "last_price": "0", "dev_hold_pct": 0, "dev_realized_pnl": "0", "dumped": false, "dev_untracked": true } ] } ``` #### `GET /wallets/{addr}/pnl-curve` Per-bucket REALIZED PnL (lamports), net of all fees and minus the cost of failed attempts — range=1d|7d|30d|all Example: `GET /wallets/8psN…VRtf/pnl-curve?range=7d` ```json { "data": [ { "t": 1718960400, "net": "-488888889" } ] } ``` #### `GET /wallets/{addr}/flow-candles` Realized-PnL OHLC candles — tf=swap|5m|15m|1h|4h|1d · w=1d|7d|30d Example: `GET /wallets/8psN…VRtf/flow-candles?tf=1h&w=7d` ```json { "data": [ { "t": 1718960400, "o": "488888889", "h": "1250000000", "l": "312500000", "c": "973400000" } ] } ``` #### `GET /wallets/{addr}/transfers` Native SOL counterparties over the last 30 days (from 00:00 UTC thirty days ago) — in = received from, out = sent to. No per-wallet cap: every transfer in the window is counted, except that transfers recovered late for an older day (after a data gap) can be missing from that day. Sorted by total lamports, descending; equal totals are ordered by address. Cached ~60s. Example: `GET /wallets/8psN…VRtf/transfers?limit=1` ```json { "in": [ { "wallet": "Cb3f…g9rE", "lamports": 488888889, "count": 7, "last": "2026-06-21T09:41:14Z", "label": "Binance", "kind": "exchange" } ], "out": [ { "wallet": "Gm4w…9xZ2", "lamports": 123456789, "count": 3, "last": "2026-06-20T17:02:51Z", "label": "jito", "kind": "tip" } ] } ``` #### `GET /wallets/{addr}/funding` Origin funder + same-funder cluster (sybil detection) Example: `GET /wallets/8psN…VRtf/funding` ```json { "funder": "5Q5q…Funr", "funder_label": "jito", "funder_kind": "tip", "funded_at": "2026-06-21T09:41:14Z", "funded_lamports": 488888889, "funder_is_hub": false, "funder_funded_count": 42, "cluster": [ { "wallet": "Cb3f…g9rE", "lamports": 250000000, "time": "2026-06-21T10:02:37Z" } ], "cluster_total": 41 } ``` #### `GET /wallets/{addr}/funding-chain` Full funding chain — depth 0 = direct funder → root (CEX / known entity) Example: `GET /wallets/8psN…VRtf/funding-chain` ```json { "data": [ { "depth": 0, "wallet": "8psN…VRtf", "funder": "5Q5q…Funr", "funder_name": "Binance Hot Wallet", "funder_type": "Centralized Exchange", "amount": 488888889, "signature": "4Fr4…ULFK", "slot": 287654321, "funded_at": "2026-06-21T09:41:14Z", "no_funder": false } ] } ``` #### `GET /wallets/{addr}/tips` Submission/tip providers the wallet uses, by total tipped Example: `GET /wallets/8psN…VRtf/tips?limit=1` ```json { "data": [ { "provider": "jito", "txs": 142, "lamports": 488888889, "last": "2026-06-21T09:41:14Z" } ] } ``` #### `GET /wallets/{addr}/execution-cost` What trading actually costs this wallet. There are three costs and only one is visible: the venue fee is on the receipt, the price impact is not, and fees burned on reverted transactions are not either. Price impact is CALCULATED, not estimated — every swap carries the curve's virtual reserves, so the constant-product formula gives it exactly: a buy of D SOL against reserves (S,T) pays (S+D)/T against a spot of S/T, so the cost versus spot is exactly D/S; a sell of D tokens costs D/(T+D). Two different forms — using one for both would be wrong on half the trades. Measured on a real wallet over 7 days: 13.02 SOL of venue fees against 18.20 SOL of price impact, so the invisible cost was the bigger one. Returns the three components, the total as a percentage of volume (the figure that compares strategies, since it does not depend on size), the share of cost that is invisible, and the ten trades that cost most — ranked by impact relative to their own size, so a big order does not automatically top the list. NOTE: this is not slippage in the limit-order sense — on a curve the output is deterministic, so there is no deviation from expected; it is the cost of consuming the curve, which is real, paid, and shown nowhere. Trades without recorded reserves are counted and flagged: when present, the total is a LOWER BOUND. Burned fees are the fees paid on transactions that REVERTED in the same window (the tip offered on them is not a cost: it reverts too). Venue fees and price impact are already inside realized_pnl, which uses the SOL actually moved net of fees — never subtract them from it again; burned fees are NOT in realized_pnl, because failed attempts never become positions. A wallet with no landed trade in the window but reverted attempts still gets its burned fees. Window w=24h|7d|30d — but the swap scan is bounded to the last 13 days, so 30d is served as 7d (or narrower for very active wallets): window says what was measured, and requested_window appears only when it differs from what you asked. Example: `GET /wallets/8psN…VRtf/execution-cost?w=30d` ```json { "trader": "8psN…VRtf", "window": "7d", "requested_window": "30d", "trades": 862, "volume_sol": 2922.25, "venue_fee_sol": 13.021, "price_impact_sol": 18.203, "burned_on_failed_sol": 0.2268, "total_cost_sol": 31.4508, "total_cost_pct_of_volume": 1.08, "invisible_share_pct": 58.6, "headline": "Price impact cost 18.20 ◎ against 13.02 ◎ of venue fees — the invisible cost was the bigger one. It is the part of the curve this wallet's own orders consumed, and it appears on no receipt.", "worst_trades": [ { "mint": "GJb2…pump", "side": "buy", "venue": 0, "sol": 12.4, "impact_sol": 1.44, "impact_pct": 11.66 } ] } ``` #### `GET /wallets/{addr}/copytrade` Would copying this wallet actually have made money? Answers the real question instead of the flattering one: their PnL is not yours, because you only see their buy after it lands in a block, so you enter later and at a price that has already moved — often because they bought. Every price here is a trade that REALLY happened: the copier's fill is the first trade observed on that token after you could have reacted, never an estimate. Simulated at four delays (0, 1, 2 and 5 slots, ~400ms each) so the sensitivity is visible — if the edge disappears between 2 and 5 slots the strategy is not copyable, and a single number would hide that. Returns verdict (worth_copying | not_worth_copying | insufficient_data) with a headline and a confidence level driven by sample size, primary + by_delay summaries (gross and after-fee medians, win rate, and how much worse your entry is), per-token legs each saying whether it was executable and WHY not, and risks: tokens the wallet created itself (copying means buying their own launch), positions still open, trades held for less than the copy delay (they were out before you could be in), and how much of the profit comes from a single token — a positive median means little if one lucky hit made all of it. Fees are the medians actually observed on-chain (0.95% bonding, 0.90% PumpSwap) charged on BOTH legs. Window w=24h|7d|30d, up to 60 tokens by capital. Example: `GET /wallets/8psN…VRtf/copytrade?w=7d` ```json { "wallet": "8psN…VRtf", "window": "7d", "verdict": "not_worth_copying", "headline": "The median copied trade loses money once fees are paid: their edge does not survive the delay before you can react.", "confidence": "medium", "primary": { "delay_slots": 2, "approx_ms": 800, "tokens": 24, "skipped_not_executable": 9, "median_return_pct": 1.4, "median_return_pct_after_fees": -0.5, "win_rate_pct": 54.2, "entry_worse_median_pct": 0.31 }, "by_delay": [ { "delay_slots": 0, "median_return_pct_after_fees": 2.1 }, { "delay_slots": 5, "median_return_pct_after_fees": -3.8 } ], "risks": { "self_created_tokens": 0, "still_open_positions": 4, "too_fast_to_copy": 5, "top1_profit_share_pct": 38.2, "sample_size": 33 }, "cost_model": { "venue_fee_pct_bonding": 0.95, "venue_fee_pct_amm": 0.9, "fixed_cost_sol_round_trip": 0.00011 }, "legs": [ { "mint": "GJb2…pump", "symbol": "WIF", "hold_slots": 412, "their_entry": "0.0000031", "copy_entry": "0.0000034", "copy_exit": "0.0000052", "return_pct": 52.9, "return_pct_after_fees": 51.0, "executable": true }, { "mint": "9xQm…pump", "hold_slots": 1, "executable": false, "why": "held for less than the copy delay — you could not have entered before they were out" } ] } ``` #### `GET /wallets/{addr}/failed` EVERY pump.fun transaction by this wallet that LANDED on-chain but REVERTED, kept 6 months like the rest of the tick data (dropped/mempool attempts are not visible). Each row carries err_code (the raw bincode TransactionError, exactly as the chain reports it) and a decoded err object: program (the program that RAISED the error), ix_index, variant, code, name, reason, sure, aborted. Read aborted=true as 'your own routing contract stopped the transaction' — its guard rejected the trade before the venue ran, so bidding higher would not have landed it; errors raised by pump.fun / PumpSwap instead mean the venue rejected the trade (slippage, curve already migrated, and so on). sure=false means the numeric code is known but its meaning is not published by that program. err.program is recorded from the moment this field shipped: older attempts carry an empty program, and for those the code cannot be translated. Paginated newest-first: pass cursor= (RFC3339, from the previous response) to walk further back — next_cursor is returned on any non-empty page, and its absence means there is nothing older. Each row has a kind: 0=buy, 1=sell — every buy/sell variant of the pump IDL is recognized (buy, buy_v2, buy_exact_sol_in, buy_exact_quote_in_v2 → 0; sell, sell_v2 → 1), including pre-signed snipes that reverted BEFORE the pump instruction (e.g. ATA create on a not-yet-existing mint); 2=other pump.fun instruction (create, migrate, unknown/spoof discriminator); 3=pump referenced but no pump instruction in the tx. disc is the raw 8-byte instruction discriminator (hex); for kind≥2 mint is best-effort. Analytics endpoints (Versus land-rate, token tape) only count kind 0/1. Example: `GET /wallets/8psN…VRtf/failed?limit=50` ```json { "data": [ { "time": "2026-06-21T09:41:14Z", "mint": "9xQm…pump", "is_buy": true, "kind": 0, "disc": "66063d1201daebea", "slot": 348812904, "block_index": 1187, "tip": "2000000", "priority_fee": "488888", "fee": "5488888", "err_code": "08000000001900000072170000", "err": { "program": "6EF8…wF6P", "ix_index": 0, "variant": "Custom", "code": 6002, "name": "TooMuchSolRequired", "reason": "slippage: Too much SOL required to buy the given amount of tokens.", "sure": true }, "sig": "4Fr4…ULFK" }, { "time": "2026-06-21T09:40:02Z", "mint": "GJb2…pump", "is_buy": true, "kind": 0, "disc": "38fc74089edfcd5f", "slot": 348812511, "block_index": 903, "tip": "0", "priority_fee": "1000000", "fee": "1005000", "err_code": "08000000031900000007000000", "err": { "program": "7JwT…94ZG", "ix_index": 3, "variant": "Custom", "code": 7, "name": "Error 7", "sure": false, "aborted": true }, "sig": "4thh…APCR" } ] } ``` #### `GET /versus` Sniper head-to-head of 2–5 wallets on the last N (n=50|100|200, default 100) tokens they TOUCHED in common — bought by ≥2 of them, or one bought while another tried-and-FAILED: per-mint landing rank (slot, then block-index), who attempted-and-failed (with slot + block_index, so the reverted attempt ranks against the winner too — a negative Δ means it tried first but reverted), distance from the token creation slot + index (entries[].created_slot / created_block_index, the latter from the dev buy), the tip relay and tx signature (sides[].provider — the relay of the swap's tip_wallet, as in /tokens/{mint}/swaps — and sides[].sig, link Solscan), and a per-wallet leaderboard with a true land-rate (landed / landed+failed), avg_from_creation and avg CU price/limit. Optional max_behind=N keeps only "tight" tokens where every wallet landed within N slots of the winner (filters entries[] only; contested/per_wallet stay full). Each failed[] entry also carries err — the decoded failure reason (name, reason, program that raised it, aborted). aborted=true means that wallet's own routing contract stopped the transaction, which is NOT the same as losing the race: treat it as a self-abort, not as a defeat on speed. Each side/failed also carries the leader (validator) that produced its slot (sides[]/failed[].leader: identity/client/version/jito/stake, for snapshotted epochs). Covers the "one enters / the other fails" case. ALSO returns: exclusive[] — per wallet, the tokens among its last N touched (buys + failed attempts) that NO other wallet in the group ever touched (tokens[] capped at 40 most recent, landed=false means it only tried and reverted); and overlap — a group overview over the union of the recent sets: union / shared (touched by ≥2) / shared_all (touched by every wallet) / overlap_pct, plus per_wallet touched / landed / failed_only / exclusive counts with exclusive_pct. Entry style: each sides[] fill carries router (top-level program: bot/aggregator/custom contract, absent = direct pump call), and per_wallet has direct / via_router counts + top_router (most-used router address) with top_router_name when that program belongs to a known trading platform. Compute budget: sides[] and failed[] carry budget_source (see /tokens/{mint}/swaps; absent = 0). avg_cu_price and avg_cu_limit average only the entries whose CU price is known — v1 transactions with budget_source 2 are left out, and per_wallet cu_price_unknown counts them (absent when 0) — while avg_priority_fee averages every entry, since the priority fee is never unknown. It is the total paid for budget_source 1 and 2; with budget_source 0 it is the runtime's charge for the explicit CU price and limit (rounded up, limit capped at 1,400,000; floor and uncapped on rows indexed before this rule was deployed on 26 October 2026), 0 when no explicit CU limit was set, and PumpSwap (venue 1) fills record no compute budget (0), so they pull the averages down. On the website, comparing wallets needs a signed-in wallet (401 login_required otherwise); with an API key it is priced like any other call. Example: `GET /versus?w=8psN…VRtf,Cb3f…g9rE&n=100&max_behind=10` ```json { "wallets": [ "8psN…VRtf", "Cb3f…g9rE", "Gm4w…9xZ2" ], "contested": 1, "per_wallet": [ { "wallet": "8psN…VRtf", "participated": 1, "wins": 1, "win_rate": 1, "avg_tip": 0.002, "avg_priority_fee": 0.0005, "avg_cu_price": 1500000, "avg_cu_limit": 120000, "avg_fee": 0.00251, "avg_from_creation": 3, "failed": 0, "land_rate": 1, "direct": 1, "via_router": 0, "top_router": "" }, { "wallet": "Cb3f…g9rE", "participated": 1, "wins": 0, "win_rate": 0, "avg_tip": 0.001, "avg_priority_fee": 0.0003, "avg_cu_price": 900000, "avg_cu_limit": 100000, "avg_fee": 0.00131, "avg_from_creation": 5, "failed": 0, "land_rate": 1 }, { "wallet": "Gm4w…9xZ2", "participated": 0, "wins": 0, "win_rate": 0, "avg_tip": 0, "avg_priority_fee": 0, "avg_cu_price": 0, "avg_cu_limit": 0, "avg_fee": 0, "avg_from_creation": 0, "failed": 1, "land_rate": 0 } ], "entries": [ { "mint": "9xQm…pump", "symbol": "PEPE", "name": "Pepe Coin", "created_at": "2026-06-21T09:41:14Z", "created_slot": 348812900, "created_block_index": 7, "winner": "8psN…VRtf", "present": 2, "sides": [ { "wallet": "8psN…VRtf", "rank": 1, "slot": 348812903, "block_index": 12, "time": "2026-06-21T09:41:15Z", "price": 0.00000042, "sol_amount": "488888889", "tip": "2000000", "priority_fee": "500000", "cu_price": "1500000", "cu_limit": "120000", "fee": "2505000", "sig": "4Fr4…ULFK", "provider": "jito", "router": "JUP6Lkb…VTaV4", "leader": { "identity": "Jee7…xQ2", "name": "Laine", "client": "agave", "version": "2.1.11", "jito": true, "stake": "1875432000000000", "country": "DE", "city": "Frankfurt am Main" } }, { "wallet": "Cb3f…g9rE", "rank": 2, "slot": 348812905, "block_index": 4, "time": "2026-06-21T09:41:16Z", "price": 0.00000045, "sol_amount": "250000000", "tip": "1000000", "priority_fee": "300000", "cu_price": "900000", "cu_limit": "100000", "fee": "1305000", "sig": "5Gh2…RtfK", "provider": "nextblock", "leader": { "identity": "Jee7…xQ2", "name": "Laine", "client": "agave", "version": "2.1.11", "jito": true, "stake": "1875432000000000", "country": "DE", "city": "Frankfurt am Main" } } ], "failed": [ { "wallet": "Gm4w…9xZ2", "slot": 348812904, "block_index": 9, "tip": "1500000", "priority_fee": "400000", "cu_price": "1100000", "cu_limit": "110000", "fee": "1905000", "sig": "5Gh2…RtfK", "leader": { "identity": "Jee7…xQ2", "name": "Laine", "client": "agave", "version": "2.1.11", "jito": true, "stake": "1875432000000000", "country": "DE", "city": "Frankfurt am Main" } } ] } ], "exclusive": [ { "wallet": "8psN…VRtf", "total": 34, "landed": 29, "failed_only": 5, "tokens": [ { "mint": "F2ab…pump", "symbol": "WIF2", "name": "dogwifhat 2", "time": "2026-07-02T11:03:41Z", "landed": true }, { "mint": "9kQe…pump", "symbol": "SNIPE", "time": "2026-07-02T10:58:12Z", "landed": false } ] }, { "wallet": "Cb3f…g9rE", "total": 61, "landed": 61, "failed_only": 0, "tokens": [ { "mint": "Hh1x…pump", "symbol": "MOON", "time": "2026-07-02T11:01:07Z", "landed": true } ] }, { "wallet": "Gm4w…9xZ2", "total": 48, "landed": 35, "failed_only": 13, "tokens": [ { "mint": "C7dd…pump", "symbol": "RUGME", "time": "2026-07-02T10:44:55Z", "landed": false } ] } ], "overlap": { "union": 214, "shared": 44, "shared_all": 12, "overlap_pct": 0.206, "per_wallet": [ { "wallet": "8psN…VRtf", "touched": 100, "landed": 88, "failed_only": 12, "exclusive": 34, "exclusive_pct": 0.34 }, { "wallet": "Cb3f…g9rE", "touched": 100, "landed": 100, "failed_only": 0, "exclusive": 61, "exclusive_pct": 0.61 }, { "wallet": "Gm4w…9xZ2", "touched": 100, "landed": 87, "failed_only": 13, "exclusive": 48, "exclusive_pct": 0.48 } ] } } ``` #### `GET /wallets/{addr}/pack` Deep-look bundle for a wallet — ONE call returns the full profile instead of fanning out. Each key under pack is the exact response of the matching standalone endpoint (or null if that part failed — the pack itself never fails). Sub-calls reuse the same cache as the individual endpoints. In stats, the four fields that need a scan of raw swaps (fees, launch_buys, fast_flip, mc_dist) come from a background computation that only GET /wallets/{addr}/stats starts: the pack returns them when that result is already cached for the wallet (swap_window_days is present), otherwise they read 0 and swap_window_days is omitted. as_of = when the bundle was assembled. API key only: on the website, without a key, it answers 403 api_key_required. Example: `GET /wallets/8psN…VRtf/pack` ```json { "wallet": "8psN…VRtf", "as_of": "2026-07-22T14:03:00Z", "pack": { "stats": { "...": "= GET /wallets/{addr}/stats" }, "funding_chain": { "...": "= GET /wallets/{addr}/funding-chain" }, "related": { "...": "= GET /wallets/{addr}/related" }, "positions": { "...": "= GET /wallets/{addr}/positions" } } } ``` #### `GET /wallets/{addr}/dumps` Full paginated dump history — EVERY rugged token this wallet took part in (not just the seen_in sample from rug-wallets / repeat-offenders). One row per (wallet, token) with the same-slot flag, operator/sniper role and SOL extracted. Recent-first, keyset-paginated on (token_created_at, mint) — pass next_cursor back. Filters: since (RFC3339), min_sol (min SOL extracted), same_slot=1 (only dumps in the dev's exact slot), limit (max 500). summary (all-time aggregate) is returned on the first page only. sol_extracted in SOL. Example: `GET /wallets/8psN…VRtf/dumps?min_sol=0.1&limit=100` ```json { "as_of": "2026-07-22T14:03:00Z", "wallet": "8psN…VRtf", "count": 100, "data": [ { "mint": "9xQm…pump", "symbol": "WIF", "token_created_at": "2026-07-20T11:00:00Z", "same_slot": true, "as_operator": false, "as_sniper": true, "sol_extracted": 3.42 } ], "next_cursor": "2026-07-20T11:00:00.482913Z|9xQm…pump", "summary": { "total_dumps": 1670, "same_slot": 595, "sol_extracted": 421.7 } } ``` ### Leaders / validators #### `GET /leaders/distribution` Where the current epoch's leader slots physically are. Unlike /leaders, which is a live window of ~40 leaders, this covers the WHOLE epoch — 432,000 slots across every validator — so it answers 'what does the network look like' rather than 'who is next'. by=city | country | datacenter | client. Each row carries slots, pct, and validators — the number of distinct operators behind it, which is what separates 'a city with 99 operators' from 'a city with one very large one': same slot count, opposite concentration risk. WHY THE CITY NAMES ARE NORMALIZED: the upstream source mixes city names with timezone identifiers, and 22.6% of slots came labelled 'Europe/Amsterdam' or 'America/Chicago'. Left alone that splits every city across two rows and every percentage is wrong — Amsterdam was 57,460 + 22,200 in separate rows, which put Frankfurt on top instead. We strip the timezone prefix and merge two verified aliases (Frankfurt am Main → Frankfurt, City of London → London). We do NOT merge districts into their city, and Frankfurt (Oder) is deliberately kept separate — it is a different city 500km away. unknown_slots reports anything we could not classify, rather than quietly shrinking the denominator. Example: `GET /leaders/distribution?by=city` ```json { "by": "city", "epoch": 1018, "total_slots": 432000, "leader": "Amsterdam", "leader_pct": 18.44, "unknown_slots": 0, "data": [ { "key": "Amsterdam", "country": "NL", "slots": 79660, "pct": 18.44, "validators": 99 }, { "key": "Frankfurt", "country": "DE", "slots": 75696, "pct": 17.52, "validators": 80 }, { "key": "London", "country": "GB", "slots": 48984, "pct": 11.34, "validators": 29 } ] } ``` #### `GET /leaders` Live leader schedule around the current slot, grouped into per-leader segments (each ≈4 consecutive slots) tagged state = past | active | future. Every segment carries the validator (identity/name/client/version, stake, commission, jito, delinquent, country/city); past & active segments also aggregate swaps + priority_fees + tips + fees + vol from indexed swaps on those slots — active adds remaining_slots, future adds eta_slots (fee fields are 0 for future). slot_fees[] breaks the same priority_fees + tips down per individual slot. Window: past (default 40, range 1–400) and future (default 160, range 4–1600) slots. The same payload is pushed in realtime over the WS topic "leaders". Current epoch only — earlier epochs are not snapshotted. Example: `GET /leaders?past=40&future=160` ```json { "current_slot": 348291045, "slot_ms": 400, "epoch": 805, "slot_index": 91045, "slots_in_epoch": 432000, "segments": [ { "start_slot": 348291040, "end_slot": 348291047, "slots": 8, "state": "active", "remaining_slots": 3, "identity": "Jee7…xQ2", "name": "Raiden Validator", "client": "agave", "version": "2.1.11", "stake": "488888889123456", "commission": 5, "jito": true, "delinquent": false, "country": "DE", "city": "Falkenstein", "swaps": 37, "priority_fees": "1450000", "tips": "880000", "fees": "185000", "vol": "21450000000" } ], "slot_fees": [ { "slot": 348291040, "identity": "Jee7…xQ2", "swaps": 12, "priority_fees": "620000", "tips": "410000" } ] } ``` ### Devs / creators #### `GET /wallets` ALL wallets seen from the side of WHO FUNDED THEM. The perimeter is wallet_funding (the origin of the first SOL an address ever received), not the trader table — because the question starts at the funder: 'which addresses did this hub pay into'. ?funder=
is REQUIRED. The index is (funder, first_time DESC), so without a funder there is no indexed path at all and you would walk 210M rows — measured 676 ms for twenty rows against 63 ms for a funder read. It is also the difference between answering a question and offering a tap that enumerates every address ever seen on chain. ?creator=no drops every address that has ever created a token — a creator funded by an exchange is ordinary, a hundred NON-creator wallets born from the same funder is a fleet. The check runs against tokens, the source of truth, not against the computed creator_stats table, so a creator minted a minute ago is never mislabelled. ?traded=1 keeps only addresses with real trading activity: without it, a hub's list is mostly addresses that received SOL and never bought anything (69 ms measured). Sorting defaults to funded (newest funding first), which is the indexed order; sort=addr gives a stable order to reconcile two exports against. Pagination is keyset: pass next_cursor back verbatim (opaque "RFC3339-with-nanoseconds|wallet" — the nanoseconds and the wallet tiebreak both matter, several wallets are funded by the same transaction). PAGINATION IS BOUNDED WORK, and this changes how you read an empty page: each request examines at most 5,000 wallet_funding rows and then stops, even empty-handed. That is deliberate — measured on a real hub, ZERO of its 20,000 most recently funded wallets had ever traded, so an unbounded ?traded=1 walked 699,000 rows and died at the 25s deadline while the same query on Binance answered in 69 ms. So: a page with fewer rows than the limit, or with NO rows at all, does NOT mean you are done — it means that window held no matches. next_cursor points at the LAST CANDIDATE EXAMINED, not at the last row returned, so keep paging until next_cursor is absent. That is the only signal that the data is finished. Measured after the fix: the same hub answers in 215 ms with 0 rows and a cursor that keeps moving back in time. Each row carries the funder, its known label and kind (exchange | hub | tip | botfee | router), when and how much it was funded, and the trading stats — which are ABSENT, not zero, when the wallet never traded: 'never entered the market' and 'traded to a wash' are different facts and flattening them would hide exactly what separates a dormant fleet from an active one. Example: `GET /wallets?funder=5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9&creator=no&traded=1&limit=2` ```json { "data": [ { "wallet": "Cvv7YuJV6REYwJN6p2Hi3Ttc8w52fw5yX3ABby1QReqY", "funder": "5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9", "funder_label": "Binance", "funder_kind": "exchange", "funded_at": "2026-09-03T15:15:34.274244Z", "funded_lamports": "7271490600", "source": "sol", "trades": 1, "realized_pnl": "0", "sol_invested": "250000000", "first_trade_at": "2026-09-03T15:16:02Z", "last_trade_at": "2026-09-03T15:16:02Z" } ], "next_cursor": "2026-09-03T15:15:34.274244Z|Cvv7YuJV6REYwJN6p2Hi3Ttc8w52fw5yX3ABby1QReqY" } ``` #### `GET /creators` ALL token creators with their full creator_stats card, paginated. Default sort=recent = composite keyset on (last_created_at, creator): pass next_cursor back verbatim (opaque "timestamp|creator" — the creator tiebreak makes bulk export lossless even when many creators share the same second). Use it to bulk-export the ~3.4M creators or pull everyone active in a window. Ranked sorts: sort=score|tokens|grads with dir=asc|desc and offset (max 100000; use sort=recent + cursor for full exports). Filters: min_tokens (cut 1-token spam), min_score / max_score on dev_score (note: -1 = not yet scored). Rows are the same schema as /creators/{addr}/stats minus the manual label fields (fetch the single-creator card for those). The launch-bundle fields (dev_in_bundle_count, bundled_launch_count, the bundle_dev flag) are defined under /creators/{addr}/stats. Example: `GET /creators?sort=recent&limit=2&min_tokens=3` ```json { "data": [ { "creator": "5Q5q…Funr", "dev_score": 62, "flags": [ { "id": "bundle_dev", "name": "Dev in launch bundle", "category": "launch" } ], "token_count": 14, "tokens_30d": 6, "tokens_per_day_30d": 0.2, "max_burst_10m": 2, "median_gap_s": 86400, "distinct_symbols": 14, "distinct_names": 14, "graduated_count": 2, "grad_rate": 0.14, "dead_count": 8, "doa_count": 3, "abandoned_count": 1, "survival_rate": 0.29, "median_lifespan_s": 5400, "dev_dump_count": 0, "full_exit_count": 1, "held_clean_count": 9, "rug_events": 0, "bundled_launch_count": 1, "dev_in_bundle_count": 1, "wallet_age_days": 212.4, "funder": "Cb3f…g9rE", "funder_kind": "cex", "shared_funder_degree": 3, "sibling_creators": 2, "rotation_count_30d": 0, "fanout_degree_30d": 1, "first_created_at": "2025-12-02T10:11:02Z", "last_created_at": "2026-07-01T18:40:11Z", "last_active_at": "2026-07-02T09:13:44Z", "updated_at": "2026-07-02T09:14:02Z" }, { "creator": "9aQx…R2vD", "dev_score": -1, "flags": [], "token_count": 3, "graduated_count": 0, "last_created_at": "2026-07-01T18:39:58Z", "updated_at": "2026-07-02T09:14:02Z" } ], "next_cursor": "2026-07-01T18:39:58Z|9aQx…R2vD" } ``` #### `GET /creators/{addr}` Everything about a creator — dev score, risk flags, funding origin, and every token launched Example: `GET /creators/5Q5q…Funr` ```json { "creator": "5Q5q…Funr", "stats": { "creator": "5Q5q…Funr", "dev_score": 38, "flags": [ { "id": "dev_dump", "name": "Dev dumped after launch", "category": "dev-rug" }, { "id": "fresh_wallet", "name": "Throwaway creator wallet", "category": "sybil" } ], "label": "creator_blocked", "token_count": 27, "tokens_30d": 14, "tokens_per_day_30d": 0.47, "max_burst_10m": 3, "median_gap_s": 5400, "distinct_symbols": 19, "distinct_names": 22, "graduated_count": 1, "grad_rate": 0.037, "dead_count": 18, "doa_count": 9, "abandoned_count": 6, "survival_rate": 0.11, "median_lifespan_s": 21600, "dev_dump_count": 4, "full_exit_count": 2, "held_clean_count": 3, "rug_events": 4, "bundled_launch_count": 5, "dev_in_bundle_count": 2, "wallet_age_days": 1.8, "funder": "Gm4w…9xZ2", "funder_kind": "exchange", "funder_label": "Coinbase", "shared_funder_degree": 31, "sibling_creators": 12, "rotation_count_30d": 3, "fanout_degree_30d": 7, "first_created_at": "2026-05-02T14:08:31Z", "last_active_at": "2026-06-26T22:13:05Z", "updated_at": "2026-06-27T03:11:47Z" }, "funding": { "funder": "Gm4w…9xZ2", "funder_label": "Coinbase", "funder_kind": "exchange", "funded_at": "2026-05-02T13:55:12Z", "funded_lamports": 488888889, "funder_is_hub": true }, "tokens": [ { "mint": "9xQm…pump", "symbol": "WAGMI", "name": "We All Gonna Make It", "status": "bonding", "created_at": "2026-06-26T18:42:09Z", "last_price": "0.00000042", "dev_hold_pct": 2.35, "dev_realized_pnl": "1284500000", "dumped": true, "ath": "0.00000311" } ] } ``` #### `GET /creators/{addr}/stats` Dev score card — score 0–100 (−1 unknown), tripped risk flags, all creator metrics. The launch bundle of a token is the bundle in its creation slot: two or more landed transactions on the token at adjacent block positions (block_index ±1, the same rule as the bundled flag on swaps; the legs of one transaction count once, reverted attempts and other tokens' swaps never count). dev_in_bundle_count = tokens where the creator's own buy is inside that bundle — it trips the bundle_dev flag. The dev buy always lands in the creation slot; it counts only when another landed transaction on the token sits right next to it. bundled_launch_count = tokens whose launch bundle bought at least 30% of the supply (1 billion tokens, or 2 billion for mayhem tokens). Both are counted per token once its creation slot is in, so a fresh launch shows up within a few minutes. Example: `GET /creators/5Q5q…Funr/stats` ```json { "creator": "5Q5q…Funr", "dev_score": 34, "flags": [ { "id": "dev_dump", "name": "Dev dumped after launch", "category": "dev-rug" }, { "id": "fresh_wallet", "name": "Throwaway creator wallet", "category": "sybil" } ], "label": "creator_blocked", "token_count": 87, "tokens_30d": 41, "tokens_per_day_30d": 1.3666666666666667, "max_burst_10m": 6, "median_gap_s": 1840, "distinct_symbols": 52, "distinct_names": 61, "graduated_count": 3, "grad_rate": 0.034482758620689655, "dead_count": 70, "doa_count": 44, "abandoned_count": 12, "survival_rate": 0.08045977011494253, "median_lifespan_s": 5400, "dev_dump_count": 23, "full_exit_count": 9, "held_clean_count": 4, "rug_events": 11, "bundled_launch_count": 5, "dev_in_bundle_count": 3, "wallet_age_days": 6.4, "funder": "5Q5q…Funr", "funder_kind": "exchange", "funder_label": "Binance", "shared_funder_degree": 18, "sibling_creators": 7, "rotation_count_30d": 2, "fanout_degree_30d": 14, "first_created_at": "2026-04-02T11:08:33Z", "last_active_at": "2026-06-26T19:54:07Z", "updated_at": "2026-06-27T03:15:42Z" } ``` ### xStocks #### `GET /equities` Tokenized-equity universe with USD snapshot + 24h stats and sparklines Example: `GET /equities` ```json { "data": [ { "mint": "Xeq…AAPL", "symbol": "AAPLx", "underlying": "AAPL", "name": "Apple xStock", "decimals": 8, "image": "https://cdn.raiden.wtf/xstocks/aaplx.png", "supply": 1250000.5, "last_price_usd": "243.17", "last_trade_at": "2026-06-27T09:41:14Z", "change_24h": 1.83, "vol_usd_24h": 88421.92, "trades_24h": 412, "spark": [241.02, 241.55, 240.88, 242.1, 242.74, 243.01, 242.66, 243.19, 243.88, 243.4, 243.05, 243.17], "spark_prev": [238.44, 238.9, 239.51, 239.1, 240.22, 240.88, 240.31, 239.95, 240.6, 241.12, 240.77, 238.83] } ] } ``` #### `GET /equities/{mint}` A single xStock (same shape as an /equities row). Chart via /tokens/{mint}/candles Example: `GET /equities/Xeq…AAPL` ```json { "mint": "Xeq…AAPL", "symbol": "AAPLx", "underlying": "AAPL", "name": "Apple xStock", "decimals": 6, "image": "https://static.raiden.wtf/xstocks/AAPLx.png", "supply": 18450.372515, "last_price_usd": "0.00000042", "last_trade_at": "2026-06-27T09:41:14Z", "change_24h": 2.3147, "vol_usd_24h": 184562.71, "trades_24h": 412, "spark": [ 211.84, 212.05, 211.6, 213.12, 214.07, 213.55, 215.2, 216.41, 215.98, 217.3, 218.02, 217.45, 216.9, 218.77, 219.4, 218.85, 220.13, 221.06, 220.5, 219.92, 221.78, 222.4, 221.95, 223.31 ], "spark_prev": [ 205.12, 205.88, 206.4, 205.95, 207.2, 208.05, 207.6, 209.11, 210.02, 209.5, 208.97, 210.4, 211.25, 210.8, 212.06, 211.55, 210.99, 212.4, 213.1, 212.65, 211.9, 213.27, 214.02, 213.6 ] } ``` ### Wallet groups & favorites #### `GET /wallet-groups` Your wallet groups (named lists). Add ?members=1 to include members. Owner = your session wallet or the wallet bound to your API key. Example: `GET /wallet-groups?members=1` ```json { "data": [ { "id": "smart-money-sol", "name": "Smart Money SOL", "count": 2, "created_at": "2026-06-21T09:41:14Z", "updated_at": "2026-06-27T12:03:55Z", "members": [ { "wallet": "8psN…VRtf", "added_at": "0001-01-01T00:00:00Z" }, { "wallet": "Cb3f…g9rE", "added_at": "0001-01-01T00:00:00Z" } ] } ] } ``` #### `POST /wallet-groups` Create a group. Optional "id" lets you supply your own (else generated). Example: `POST /wallet-groups` ```json { "id": "grp_5f3a…", "name": "Snipers", "count": 0, "created_at": "2026-06-25T10:00:00Z", "updated_at": "2026-06-25T10:00:00Z", "members": [] } ``` #### `GET /wallet-groups/{id}` A single group with its members. Example: `GET /wallet-groups/grp_5f3a…` ```json { "id": "smart-money-watch", "name": "Smart Money Watch", "count": 2, "created_at": "2026-06-21T09:41:14Z", "updated_at": "2026-06-24T17:03:52Z", "members": [ { "wallet": "8psN…VRtf", "note": "early sniper, high win-rate", "added_at": "2026-06-24T17:03:52Z" }, { "wallet": "Cb3f…g9rE", "added_at": "2026-06-21T09:42:10Z" } ] } ``` #### `PUT /wallet-groups/{id}` Rename a group. Example: `PUT /wallet-groups/grp_5f3a…` ```json { "ok": true } ``` #### `DELETE /wallet-groups/{id}` Delete a group (members are removed too). Example: `DELETE /wallet-groups/grp_5f3a…` ```json { "ok": true } ``` #### `POST /wallet-groups/{id}/wallets` Add wallets (idempotent). Or {"wallet":"…","note":"…"} for one. Max 1000 per group. Example: `POST /wallet-groups/grp_5f3a…/wallets` ```json { "ok": true, "added": 2 } ``` #### `DELETE /wallet-groups/{id}/wallets/{wallet}` Remove a wallet from a group. Example: `DELETE /wallet-groups/grp_5f3a…/wallets/8psN…VRtf` ```json { "ok": true } ``` #### `GET /wallet-favorites` Your ★ favorite wallets (and aliases) — the built-in list, shared with the in-app ☆. Example: `GET /wallet-favorites` ```json { "data": [ { "wallet": "8psN…VRtf", "alias": "Cb3f…g9rE" } ] } ``` #### `POST /wallet-favorites` Star a wallet (alias optional). Example: `POST /wallet-favorites` ```json { "ok": true } ``` #### `DELETE /wallet-favorites/{wallet}` Unstar a wallet. Example: `DELETE /wallet-favorites/8psN…VRtf` ```json { "ok": true } ``` ### Streams (WebSocket) #### `GET /ws-subscriptions` Your custom realtime streams. Each stream picks WHAT to receive (kinds) and its wallet/dev filters are sourced from your wallet lists (see Wallet groups) — never typed inline. Example: `GET /ws-subscriptions` ```json { "data": [ { "id": 2, "token": "sub_e63097916cf0…", "name": "whales", "active": true, "kinds": ["swaps", "feed"], "wallet_list_id": "grp_5f3a…", "dev_list_id": "", "wallets": ["8psN…VRtf", "Cb3f…g9rE"], "devs": [], "min_sol": "3000000000", "created_at": "2026-07-13T09:00:00Z", "updated_at": "2026-07-13T09:00:00Z" } ] } ``` #### `POST /ws-subscriptions` Create a stream (limit: 3 per account; setting streams up is free, connecting uses credits — see the WebSocket entry below). kinds: swaps (needs wallet_list_id) · creations (dev_list_id — omit for ALL new tokens) · dev_score · grad · feed (min_sol lamports, default 3e9). Returns an opaque token you connect to over WebSocket. Example: `POST /ws-subscriptions` ```json { "id": 3, "token": "sub_a1b2c3…", "name": "whales", "active": true, "kinds": ["swaps", "feed"], "wallet_list_id": "grp_5f3a…", "dev_list_id": "", "wallets": ["8psN…VRtf", "Cb3f…g9rE"], "devs": [], "min_sol": "3000000000", "created_at": "2026-07-13T09:00:00Z", "updated_at": "2026-07-13T09:00:00Z" } ``` #### `PUT /ws-subscriptions/{id}` Update a stream (re-resolves the lists) — or just flip active to turn it on/off without touching your other streams. Example: `PUT /ws-subscriptions/3` ```json { "id": 3, "token": "sub_a1b2c3…", "active": false, "kinds": ["swaps"], "wallet_list_id": "grp_5f3a…", "wallets": ["8psN…VRtf", "Cb3f…g9rE"], "devs": [] } ``` #### `DELETE /ws-subscriptions/{id}` Delete a stream. Example: `DELETE /ws-subscriptions/3` ```json { "ok": true } ``` #### `WS /ws?key={API_KEY}&sub={token}` Connect to a stream. Authenticates with your API key (the key query parameter, or an X-API-Key header, which keeps the key out of URL logs); only events matching that stream's kinds + filters are pushed. Use the opaque sub token (not the numeric id); disabled streams (active=false) refuse the connection. Each pushed event carries a type: swap · token · graduate · dev_score. A swap event has the same fields as a swap row of the REST endpoints, as JSON numbers instead of strings; fields that are zero or empty are left out. BILLING: each open connection costs 1 credit per started minute from the key's pool (general or dedicated): 1 credit is reserved before the upgrade (without credits the handshake answers HTTP 402 with the usual JSON body), then 1 more at the start of every following minute. LIMITS: at most 2 × your stream limit connections open at once per account (6 with the default 3 streams; 429 ws_connection_limit) and 20 per IP address (429 too_many_connections); neither sends Retry-After, so close a connection before opening another. Close codes: 4402 = out of credits (reconnect once you have credits again), 4401 = the key was revoked or rotated (do not reconnect with it), 4403 = the key or the account is suspended, 4404 = the stream was turned off or deleted (turn it back on, then reconnect), 1013 = credits are temporarily unavailable (reconnect after a short wait), 1001 = the server is restarting (reconnect). A refused handshake answers HTTP with the usual JSON body: 403 invalid_api_key for an unknown key (or api_key_revoked, api_key_suspended, account_suspended, account_banned, account_not_ready), 401 invalid_stream for an unknown or inactive stream token, 503 keys_unavailable or credits_unavailable with Retry-After. The website's own live feed is free. Example: `WS wss://terminal.raiden.wtf/ws?key=$RAIDEN_KEY&sub=sub_a1b2c3…` ```json { "topic": "sub:3", "type": "swap", "time": "2026-07-13T09:01:22.400Z", "mint": "…pump", "trader": "8psN…VRtf", "is_buy": true, "sol_amount": 4200000000, "token_amount": 191833, "price": "0.0000041", "sig": "…", "ix_index": 0, "slot": 351902144, "block_index": 214, "tip": 100000, "tip_wallet": "96gY…Mq5c", "fee": 39900000, "creator_fee": 12600000, "creator": "C9Ua…So2X", "v_sol_reserves": 41150000000, "v_token_reserves": 782265000000000, "real_sol_reserves": 11150000000, "real_token_reserves": 502365000000000, "fee_payer": "8psN…VRtf", "cu_price": 1500000, "cu_limit": 200000, "priority_fee": 300000, "router": "GMgnVFR8Jb39LoXsEVzb3DvBy3ywCmdmJquHUy1Lrkqb", "router_name": "GMGN" } ``` ### Aggregated data #### `GET /aggregates/serial-ruggers` Serial ruggers ranked by DAMAGE: SOL extracted (dev realized PnL, net of ALL fees), rug/dump/full-exit counts, survival rate, tripped flags. sort = extracted (default) | rugs | dumps | tokens; min_tokens (default 3); limit/offset. as_of = when this snapshot was computed (RFC3339). Example: `GET /aggregates/serial-ruggers?sort=extracted&min_tokens=3&limit=50` ```json { "as_of": "2026-07-22T14:03:00Z", "sort": "extracted", "min_tokens": 3, "data": [ { "creator": "bwamJz…SXa", "dev_score": 0, "flags": ["spam_rate","serial_count","burst","ticker_recycle","dev_dump","full_exit"], "token_count": 29408, "graduated_count": 12, "grad_rate": 0.0004, "rug_events": 28441, "dev_dump_count": 2033, "full_exit_count": 26408, "dead_count": 27100, "survival_rate": 0.02, "sol_extracted": 34937.86, "funder": "9xQm…pump", "funder_kind": "exchange", "first_created_at": "2026-05-01T10:00:00Z", "last_active_at": "2026-07-20T11:00:00Z" } ] } ``` #### `GET /aggregates/rug-wallets` Browse ALL wallets flagged as rug participants (co-dumpers) — the counterpart of serial-ruggers, which ranks the devs. A wallet is flagged only if it SOLD within [dev dump slot, +2 slots] (~800ms): dumping alongside the dev or shred-sniping the dump. Buyers are never counted. sort = rugs (default) | same_slot | extracted | recent; min_rugs (default 1), min_same_slot; limit/offset (max 50000). seen_in is a SAMPLE (up to 20 stored per wallet), not the full list; counters update every minute, so rows can shift while paginating. sol_extracted in SOL. as_of = when this snapshot was computed (RFC3339). API key only: on the website, without a key, it answers 403 api_key_required. Example: `GET /aggregates/rug-wallets?sort=rugs&min_rugs=2&limit=50` ```json { "as_of": "2026-07-22T14:03:00Z", "total": 526861, "sort": "rugs", "min_rugs": 2, "min_same_slot": 0, "limit": 50, "offset": 0, "data": [ { "wallet": "6hh9…Nfew", "rug_count": 1087, "same_slot_count": 611, "as_operator": 0, "as_sniper": 786, "sol_extracted": 8.4, "seen_in": ["$Gentlemen", "$Mosquito", "$Groundhog", "$Tilly", "$Khajiit"], "seen_in_more": 15, "first_seen": "2026-05-02T09:14:33Z", "last_seen": "2026-07-21T13:05:11Z" } ] } ``` #### `GET /aggregates/landing-conditions` Live landing-cost gauge — what to bid RIGHT NOW to land a buy. Land-rate + tip / priority-fee percentiles over a recent window, comparing LANDED buys (swaps) to FAILED ones (failed_swaps — the lost bids no one else indexes). lookback = 5m | 15m (default) | 60m; venue = 0|1|2. Tip and priority amounts in lamports (priority = priority_fee as described under /tokens/{mint}/swaps: the total paid for v1 transactions, the runtime's charge for the ComputeBudget instructions otherwise — rounded up, limit capped at 1,400,000, floor and uncapped on rows indexed before this rule was deployed on 26 October 2026 — and 0 when no explicit CU limit was set); cu_price_p50 is micro-lamports per compute unit and leaves out v1 transactions with budget_source 2, whose CU price is unknown, while the tip and priority percentiles cover every row. PumpSwap (venue 1) and xStocks (venue 2) buys record no compute budget (their CU price and priority fee are 0, not measured): without venue=0 they are inside cu_price_p50 and the landed priority percentiles, so pass venue=0 to read pump.fun bonding-curve bids only. as_of = when this snapshot was computed (RFC3339). Example: `GET /aggregates/landing-conditions?lookback=15m` ```json { "as_of": "2026-07-22T14:03:00Z", "lookback_min": 15, "landed_buys": 33150, "failed_buys": 161090, "land_rate": 0.171, "congestion_index": 82.9, "landed": { "tip_p50": 0, "tip_p90": 0, "priority_p50": 0, "priority_p90": 210471, "cu_price_p50": 0 }, "failed": { "tip_p50": 4020202, "tip_p90": 70000000, "priority_p50": 16, "priority_p90": 14678, "cu_price_p50": 0 } } ``` #### `GET /aggregates/funded-by` All wallets first-funded BY a given wallet (any wallet, or a CEX hot wallet) within a time range. Keyset-paginated on (first_time, wallet); pass next_cursor back. first_lamports = size of the first funding. funder_label set when the funder is a known entity. funder required; from/to RFC3339 optional. Example: `GET /aggregates/funded-by?funder=5tzF…uAi9&from=2026-07-13T00:00:00Z&limit=100` ```json { "funder": "5tzF…uAi9", "funder_label": "Binance", "funder_kind": "exchange", "count": 100, "data": [ { "wallet": "Bgb…VnBv", "first_time": "2026-07-20T11:11:55Z", "first_lamports": "19000000", "source": "helius" } ], "next_cursor": "2026-07-20T11:11:46.951127Z|5w2q…HWEz" } ``` #### `GET /aggregates/routers` Router / bot-aggregator flow-share: volume, swaps, unique traders, buy/sell split, tip-attach %, plus direct-vs-routed share of the window. router "" = direct (no custom contract; is_direct=true). platform names the trading platform that owns the program (Axiom, GMGN, Trojan, Photon, Padre, Bloom, Banana Gun, Maestro, BonkBot) and is absent for programs outside the registry. Precomputed by cron (~30min refresh). window = 1h | 24h; sort = vol | swaps | traders; include_direct=1. Example: `GET /aggregates/routers?window=24h&sort=vol` ```json { "window": "24h", "updated_at": "2026-07-20T12:24:00Z", "direct_share_pct": 49.8, "routed_share_pct": 50.2, "total_vol_sol": 2915322, "data": [ { "router": "FLASHX8DrLbgeR8FcfNV1F5krxYcYMUdBkrP1EPBtxB9", "platform": "Axiom", "is_direct": false, "swaps": 1152802, "traders": 31580, "vol_sol": 536462, "buys": 601000, "sells": 551802, "tip_attach_pct": 11.2, "avg_tip_sol": 0.0021, "updated_at": "2026-07-20T12:24:00Z" } ] } ``` #### `GET /aggregates/pulse-history` Hourly time-series of ecosystem macro metrics — new tokens, graduations, grad-rate, SOL volume, unique traders, tips. One row per hour, built forward from incremental snapshots. from/to RFC3339 optional. Example: `GET /aggregates/pulse-history?limit=168` ```json { "interval": "1h", "data": [ { "ts": "2026-07-20T11:00:00Z", "new_tokens": 1326, "graduations": 22, "grad_rate": 0.0166, "sol_volume": 130494.0, "swaps": 890210, "unique_traders": 37346, "tips_total_sol": 52.0, "tipped_swaps": 41880 } ] } ``` #### `GET /aggregates/tip-market` Hourly tip-market time-series per provider (jito, helius, astralane, nozomi, 0slot, bloxroute, falcon, …, plus terminal-run landing services such as axiom, gmgn, trojan and photon; their percentage fees are not tips): total tip (SOL), tip tx count, and p50/p90 tip (lamports). Built from incremental hourly snapshots. from/to RFC3339 and provider optional. Example: `GET /aggregates/tip-market?provider=jito&limit=168` ```json { "interval": "1h", "data": [ { "ts": "2026-07-20T11:00:00Z", "provider": "jito", "tip_sol": 6.8, "tip_txs": 6533, "tip_p50": 100000, "tip_p90": 1000000 } ] } ``` ### Credits & balance #### `GET /account/balance` Free balance check for the key you send: what is left on its pool (the general pool, or the key's dedicated monthly budget), the plan and the next renewal (null on the free trial, which doesn't renew). It costs 0 credits and answers even at 0 credits, so a bot can check before a batch. warning = used_50 | used_80 | used_95 | exhausted. Example: `GET /account/balance` ```json { "pool": "general", "key_id": 57, "remaining": 183400, "capacity": 200000, "pct_used": 8, "warning": null, "plan": "trial", "reset_at": null, "rate_limit": { "rps": 20, "burst": 40 }, "enforced": true } ``` #### `GET /credits/costs` The price of every endpoint in credits. Public and free: no key needed. routes is keyed by "METHOD /path": default = the price with no query parameters, rule = how the parameters change it (L = the limit parameter), pack = priced on the parts that succeeded. The same table is rendered under Credits per endpoint at the top of this page. Example: `GET /credits/costs` ```json { "version": 4, "cost_version": 4, "unit": "Credits charged per request made with an API key. The price is set by the route and its query parameters before the request runs; the response status can lower it (see status). Browsing the website is free.", "routes": { "GET /tokens": { "rule": "2 + 3*ceil(max(0, L-20)/50), L 100/500", "default": 8, "params": [{ "name": "limit", "default": 100, "max": 500 }] }, "GET /tokens/{mint}/pack": { "rule": "ceil(40*ok/9), 0 when no part succeeds", "default": 40, "pack": true } } } ``` ## Recipes **Export every token created on a UTC day** (keyset pagination): ```bash FROM=2026-06-30T00:00:00Z; TO=2026-07-01T00:00:00Z; CURSOR="" while : ; do URL="https://terminal.raiden.wtf/api/tokens?sort=newest&limit=500&from=$FROM&to=$TO" [ -n "$CURSOR" ] && URL="$URL&cursor=$CURSOR" RESP=$(curl -s "$URL" -H "X-API-Key: $RAIDEN_KEY") echo "$RESP" | jq -c '.data[]' CURSOR=$(echo "$RESP" | jq -r '.next_cursor // empty') [ -z "$CURSOR" ] && break done ``` - **Wallet due-diligence:** `/wallets/{addr}/stats` → `/wallets/{addr}/funding-chain` → `/wallets/{addr}/window-stats?w=7d`. - **Insider / bundle check:** `/tokens/{mint}/launch` + `/tokens/{mint}/funding-clusters` + `/tokens/{mint}/holder-stats`. - **Sniper speed:** `/versus?w=WALLET_A,WALLET_B&n=100`. ## Notes - Never parse string-typed integer fields as float — use BigInt/decimal. - `failed` swaps landed on-chain but reverted; dropped/mempool-only attempts are not observable. - `/leaders` is current-epoch only. - Read-only except wallet-groups / favorites / ws-subscriptions CRUD (scoped to your key's owner). No trading endpoints. - **Streams (WebSocket):** filters (wallets/devs) are sourced from your wallet lists; up to 3 streams per account. Each open connection costs 1 credit per started minute (1 reserved at connect, then 1 at the start of every following minute; no credits → HTTP `402` at the handshake). At most 2 × your stream limit keyed connections open at once (6 by default; `429 ws_connection_limit`) and 20 per IP (`429 too_many_connections`), both without `Retry-After`. Close codes: `4402` out of credits, `4401` key revoked or rotated (don't reconnect with it), `4403` key or account suspended, `4404` stream turned off or deleted, `1013` credits temporarily unavailable (reconnect after a short wait), `1001` server restarting (reconnect). An unknown or invalid key is refused with HTTP `403` `invalid_api_key`; an unknown or inactive stream token with `401` `invalid_stream`. Events carry a `type`: swap · token · graduate · dev_score. - **Bulk exports spend credits:** watch `X-Credits-Remaining` and stop on `402`.