{"openapi":"3.1.0","info":{"title":"Metastreams API","description":"The Metastreams market-data API. Amounts are decimal strings, timestamps are Unix milliseconds, and every field name is camelCase.","license":{"name":"Proprietary"},"version":"1.0.0"},"servers":[{"url":"https://{host}","variables":{"host":{"default":"api.metastreams.io","description":"API host."}}}],"paths":{"/v1/balances":{"get":{"tags":["wallets"],"summary":"The latest balance of each named wallet, per chain and asset.","description":"`wallets` names 1 to 100 addresses. Each costs one credit.\n`chains` narrows the scope, and every spot chain is\nread when it is absent. Each row holds the balance after the last transaction that moved\nit. A few movements write no row, such as Solana rent, so a balance can lag until the\nnext one. Each `wallet` comes back in canonical form: base58 on Solana, lowercase hex on\nEVM chains.","operationId":"wallet_balances","parameters":[{"name":"wallets","in":"query","description":"Wallet addresses, CSV; one to 100.","required":true,"schema":{"type":"string"},"example":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"}],"responses":{"200":{"description":"The latest balance of each named wallet and asset. A pair with no observed balance has no row, which is not a zero.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiWalletBalances"}}}},"400":{"description":"Unsupported chain, a malformed wallet address, a wallet count outside 1-100, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/discovery":{"post":{"tags":["discovery"],"summary":"The discovery boards.","description":"One request names the chains and the columns it wants. Each column is\nranked and filtered on its own, and answers with its whole ranked set.","operationId":"discovery_board","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotPulseSubscriptionConfig"}}},"required":true},"responses":{"200":{"description":"One snapshot per requested column, in page order.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotPulseUpdate"}}}}},"400":{"description":"Unsupported chain, no chain or column requested, or a malformed body.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/holders":{"get":{"tags":["tokens"],"summary":"Each named token's current holders, largest balance first, optionally narrowed to wallet\nclassifications.","description":"`tokens` names 1 to 10 addresses, and each costs one credit. A token reads on every chain in\nscope of its address family. Each chain that holds it answers one series, and a token no\nchain in scope holds answers none. Pools and lockers rank here and carry their\nflag. `holderCount` stays the token's total under `flags`. `limit` sizes each series' page,\nand `cursor` reads a series' next page. A holder whose balance changes between two pages can\nmove across the page boundary.","operationId":"holder_series","parameters":[{"name":"tokens","in":"query","description":"Token addresses, CSV; one to 10. Each reads on every chain in scope of its address family.","required":true,"schema":{"type":"string"},"example":"So11111111111111111111111111111111111111112"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"},{"name":"limit","in":"query","description":"Holders per token, clamped to 1-150; 30 when absent.","required":false,"schema":{"type":"integer","format":"int32","maximum":150,"minimum":1}},{"name":"flags","in":"query","description":"Wallet classifications to keep, comma-separated. Absent or empty keeps every holder.","required":false,"schema":{"type":"string"},"example":"bundler,insider"},{"name":"period","in":"query","description":"Span the trading figures cover; `lifetime` when absent.","required":false,"schema":{"$ref":"#/components/schemas/HolderPeriod"}},{"name":"cursor","in":"query","description":"A series' `nextCursor`, to read its next page. The request names that series' token in\n`tokens`, and its chain in `chains` when the token's address family spans several.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One series per chain each named token trades on, in the order the request named them, each with one page of its current holders, largest balance first.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiHolderSeries"}}}}},"400":{"description":"Unsupported chain, a malformed token address, a token count outside 1-10, an unknown flag or period, a cursor sent with other tokens or chains than its own series, a cursor under other options, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/native-prices":{"get":{"tags":["prices"],"summary":"The newest USD price of each chain's gas asset: SOL, ETH or BNB.","description":"`chains` narrows the scope. Without it, the read covers every spot chain.\n`chain.nativePrices` streams each new price.","operationId":"native_prices","parameters":[{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"}],"responses":{"200":{"description":"The newest price of each chain in scope. A chain with no price yet has no row, which is not a zero.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiNativePrice"}}}}},"400":{"description":"Unsupported chain, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/ohlcv":{"get":{"tags":["ohlcv"],"summary":"OHLCV candles at one timeframe for each named token, oldest first.","description":"`tokens` names 1 to 10 addresses, and each costs one credit. A token reads on every chain in\nscope of its address family. Each chain where it has candles in the window answers one\nseries, and a token with none answers no series.\n`countBack` asks for a bar count and supersedes `from`. `to` and `timeframe` still apply. A\npage holds the newest candles of the window: `countBack` of them, else 5000 after `from`, else\n500. `cursor` reads a series' older candles.","operationId":"candle_series","parameters":[{"name":"tokens","in":"query","description":"Token addresses, CSV; one to 10. Each reads on every chain in scope of its address family.","required":true,"schema":{"type":"string"},"example":"So11111111111111111111111111111111111111112"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"},{"name":"pool","in":"query","description":"Pool address. When present, the read takes this pool's candles, and `tokens` names its\ntoken alone. When absent, each token reads across all of its pools.","required":false,"schema":{"type":"string"},"example":"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"},{"name":"timeframe","in":"query","description":"Candle bucket size; defaults to `1m`.","required":false,"schema":{"type":"string","description":"Candle bucket size; defaults to `1m`.","default":"1m","enum":["1s","5s","15s","30s","1m","3m","5m","15m","30m","1h","4h","6h","12h","1d","7d"]}},{"name":"metric","in":"query","description":"OHLC metric, `price` or `marketCap`; defaults to `marketCap`.","required":false,"schema":{"type":"string","default":"marketCap"}},{"name":"denomination","in":"query","description":"OHLC denomination; defaults to `usd`.","required":false,"schema":{"type":"string","default":"usd"}},{"name":"from","in":"query","description":"Window start, inclusive; ignored when `countBack` is set. A window holding\nmore candles than the cap keeps the newest.","required":false,"schema":{"$ref":"#/components/schemas/UnixMilliseconds"}},{"name":"to","in":"query","description":"Window end, exclusive.","required":false,"schema":{"$ref":"#/components/schemas/UnixMilliseconds"}},{"name":"countBack","in":"query","description":"`TradingView` bar count per series: the most recent N buckets at or before `to`.\nTakes priority over `from`.","required":false,"schema":{"type":"integer","format":"int32","maximum":5000,"minimum":1}},{"name":"cursor","in":"query","description":"A series' `nextCursor`, to read its next, older page. The request names that series' token\nin `tokens`, and its chain in `chains` when the token's address family spans several.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One series per chain where each named token, or its `pool`, has candles in the window, in the order the request named them. Each holds one page of candles, one per bucket that traded, oldest first.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiCandleSeries"}}}}},"400":{"description":"Unsupported chain, a malformed token address, a token count outside 1-10, a `pool` beside more than one token, a `pool` of another address format than its token, a `pool` at the zero address, an unknown timeframe, an inverted range, a `countBack` outside 1-5000, a cursor sent with other tokens or chains than its own series, a cursor under other options, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/portfolio":{"get":{"tags":["wallets"],"summary":"The summed spot holdings of the named wallets, per chain, with each wallet's share.","description":"`wallets` names 1 to 100 addresses. Each costs one credit.\nAn EVM address counts on every EVM chain in scope, and\na Solana address on Solana. `chains` narrows the scope, and without it the read covers every\nspot chain. A value is the gas and stablecoin balances plus the open positions at each\ntoken's latest price. An open position in a stablecoin that a balance row can hold counts at\n$1 where no balance row holds it. A position without a price adds nothing. Neither does one\nworth more than its token's market cap. Neither does one whose token has no known market cap\nand under $1,000 of liquidity. `hideLowLiquidity=true` drops an open position on a thin token\nfrom the values and the stats. A thin token has under $1,000 of liquidity, or none known. A\nstablecoin that a balance row can hold is never thin.\n`include=stats` adds performance over the standard timeframes, for the portfolio and for each\nwallet.","operationId":"wallet_portfolio","parameters":[{"name":"wallets","in":"query","description":"Wallet addresses, CSV; one to 100.","required":true,"schema":{"type":"string"},"example":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"},{"name":"include","in":"query","description":"Optional sections to compute, CSV; only `stats`. Absent returns none of them.","required":false,"schema":{"type":"string"},"example":"stats"},{"name":"hideLowLiquidity","in":"query","description":"Drop open positions whose token liquidity is below the low-liquidity floor, or not known.\nA position in a stablecoin that a balance row can hold never drops.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"The named wallets' spot holdings. A gas balance without a price has a `null` USD value, which no total counts.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiPortfolioResponse"}}}},"400":{"description":"Unsupported chain, a malformed wallet address, a wallet count outside 1-100, an unknown `include` section, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/positions":{"get":{"tags":["wallets"],"summary":"One page of the named wallets' spot positions.","description":"`wallets` names 1 to 100 addresses. Each costs one credit.\n`lifecycle` picks open or closed positions, and\n`chain` with `token` narrows the page to one token. Values and PnL use each token's latest\nprice. The cost basis is the average cost of the tokens held. A token that arrives without\na buy costs nothing, and fees never enter PnL. Page with `cursor` until `hasMore` is\nfalse; a cursor continues only the filters and sort that made it.","operationId":"wallet_positions","parameters":[{"name":"wallets","in":"query","description":"Wallet addresses, CSV; one to 100.","required":true,"schema":{"type":"string"},"example":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"},{"name":"lifecycle","in":"query","description":"Lifecycle to list; `open` when absent.","required":false,"schema":{"$ref":"#/components/schemas/Lifecycle"}},{"name":"hideLowLiquidity","in":"query","description":"Drop open positions whose token liquidity is below the low-liquidity floor.","required":false,"schema":{"type":"boolean","default":true}},{"name":"hideDust","in":"query","description":"Drop open positions whose remaining value is below the dust floor.","required":false,"schema":{"type":"boolean"}},{"name":"hideTransfers","in":"query","description":"Drop positions never acquired through a buy.","required":false,"schema":{"type":"boolean"}},{"name":"chain","in":"query","description":"Exact-token drill-down chain; requires `token`.","required":false,"schema":{"type":"string"},"example":"solana"},{"name":"token","in":"query","description":"Exact-token drill-down address; requires `chain`.","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Case-insensitive substring of the token symbol or name.","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"Sort field and direction, `field:asc|desc`. `value:desc` when absent, `closedAt:desc` for closed.","required":false,"schema":{"type":"string"},"example":"value:desc"},{"name":"limit","in":"query","description":"Rows per page, clamped to 1-100; 50 when absent.","required":false,"schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"cursor","in":"query","description":"Opaque cursor from the previous page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"One page of the named wallets' positions. The price-derived fields are `null` for a token without a price.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiSpotPositions"}}}},"400":{"description":"Unsupported chain, a malformed wallet or token address, a wallet count outside 1-100, an unpaired drill-down, a bad sort, a cursor of other filters, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/search":{"get":{"tags":["search"],"summary":"Assets matching a text query.","description":"Token hits rank by relevance. A `sortBy` attribute orders the whole candidate set instead.\nA text finds a token by its symbol or name. It finds no token whose liquidity is under\n1,000 USD or whose market cap is over 100 billion USD. A pasted token or pool address finds\nthat token alone, at any size.\n\nA text also finds a wallet by an identity name: a handle, a display name or a label. A text\nthat equals a name adds up to three wallets after the first token. A text that opens with\n`@` answers the wallets whose name starts with it, and no token. So does `kind=spotWallet`.\n`kind=spotToken` searches tokens alone, even when the text opens with `@`.\n\nA pasted address that is no token answers its wallet on each chain where it has a position.\n`limit` does not cut these wallets, so they can exceed it.","operationId":"asset_search","parameters":[{"name":"q","in":"query","description":"Search text: a symbol, a name, a pasted token, pool or wallet address, or a wallet\nidentity name. A leading `@` searches wallet names alone, unless `kind=spotToken`.","required":true,"schema":{"type":"string"}},{"name":"kind","in":"query","description":"Scope hits to one asset kind. Omit to search every kind.","required":false,"schema":{"$ref":"#/components/schemas/SearchKind"},"example":"spotToken"},{"name":"chain","in":"query","description":"Scope hits to one chain. Omit to search every served chain.","required":false,"schema":{"$ref":"#/components/schemas/SpotChain"},"example":"bsc"},{"name":"chains","in":"query","description":"Scope hits to these chains, CSV of the chain slugs. Omit to search every served\nchain. Combined with `chain` when both are set.","required":false,"schema":{"type":"string"},"example":"robinhood,bsc"},{"name":"limit","in":"query","description":"Hits returned, clamped to 1-20; 10 when absent. The wallets of a pasted address can\nexceed it.","required":false,"schema":{"type":"integer","format":"int32","default":10,"maximum":20,"minimum":1}},{"name":"graduated","in":"query","description":"Scope hits to tokens that have left their launchpad (`true`) or have not (`false`).\n`false` also admits tokens that never launched through one. Needs `kind=spotToken`.","required":false,"schema":{"type":"boolean"}},{"name":"sortBy","in":"query","description":"Order hits by this attribute over the whole candidate set, instead of by relevance.\nAn attribute other than `relevance` needs `kind=spotToken`.","required":false,"schema":{"$ref":"#/components/schemas/SearchSortField"},"example":"volume24h"},{"name":"sortDirection","in":"query","description":"Direction for `sortBy`; `desc` when omitted.","required":false,"schema":{"$ref":"#/components/schemas/SearchSortDirection"}}],"responses":{"200":{"description":"Matching assets, tagged by kind. Up to `limit`, 10 by default. The wallets of a pasted address can exceed `limit`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiAssetSearchHit"}}}}},"400":{"description":"Blank text, an unsupported chain, a token filter or sort without `kind=spotToken`, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/session-tokens":{"post":{"tags":["sessionTokens"],"summary":"Mint a session token for a browser or app user.","description":"A backend calls this with its API key, once per signed-in user, and hands the token to\nthe page. The page then calls the API directly, from the named origins, until the token\nexpires. Nothing refreshes a token, so mint the next one before the current one expires.\nA token spends its key's credits within its key's limits. Revoking the key ends every\ntoken it minted.","operationId":"session_token_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionTokenRequest"}}},"required":true},"responses":{"201":{"description":"The token, and when it expires. Present it as `Authorization: Bearer <token>`, or on the stream handshake in `Sec-WebSocket-Protocol` beside `metastreams.v1`, from one of its origins.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiSessionToken"}}}},"400":{"description":"An origin count, `subject` or `ttlSeconds` outside the bounds the request schema gives, or an origin a browser never sends as `Origin`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Only a key mints: a session token answers `FORBIDDEN`, or `ORIGIN_NOT_ALLOWED` from an origin it does not name.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/stream/connect":{"post":{"tags":["stream"],"summary":"Issue a direct stream URL and a connect token.","description":"A backend calls this with its API key. It then opens the stream socket at `url` before\n`expiresAt`, with `token` as its bearer credential. The socket connects to the server that\nanswered the call, with no proxy between. Its frames, limits and billing are those of\n`GET /v1/stream`. One token opens sockets until it expires, within the key's socket limit.","operationId":"stream_connect","responses":{"201":{"description":"The direct stream URL, and the token that opens a socket there within 30 seconds. The call costs no credit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiStreamConnection"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Only a key asks: a session token answers `FORBIDDEN`, or `ORIGIN_NOT_ALLOWED` from an origin it does not name. A key whose plan sells no streams answers `FORBIDDEN` too.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"The site has no direct stream; open `GET /v1/stream`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/tokens":{"get":{"tags":["tokens"],"summary":"Token details for each named token.","description":"`tokens` names 1 to 100 addresses, and each costs one credit. A token reads on every chain in\nscope of its address family. Each chain that holds it answers one object, and a token no\nchain in scope holds answers none. One object holds the token's identity,\nlaunch, price, market cap and liquidity. It also carries the top pools, the trailing-window\nstats, and the holder, security, fee and metadata readings.","operationId":"token_list","parameters":[{"name":"tokens","in":"query","description":"Token addresses, CSV; one to 100. Each reads on every chain in scope of its address family.","required":true,"schema":{"type":"string"},"example":"So11111111111111111111111111111111111111112"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"}],"responses":{"200":{"description":"One token per chain each named address trades on, in the order the request named them.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotToken"}}}}},"400":{"description":"Unsupported chain, a malformed token address, a token count outside 1-100, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/trades":{"get":{"tags":["trades"],"summary":"Recent trades, newest first: the named tokens', the named wallets', or a notable identity's.","description":"Name `tokens` (1 to 10), `wallets` (1 to 100) or both, or name `identity` alone. Each named\ntoken and wallet costs one credit, and an `identity` read costs one. An address reads on\nevery chain in scope of its address family. `tokens` and `wallets` together keep the named\nwallets' trades on the named tokens. A read that names `wallets` serves 90 days of trades.\n`flags` keeps the trades whose trader matches any named classification, and takes `tokens`\nwithout `wallets`. `side` takes `wallets`. `identity` names a feed: `kol` for curated\nwallets, and `fomo` for wallets with a fomo.family identity. Page with `cursor` until\n`hasMore` is false. A cursor continues only the query that made it.","operationId":"trade_list","parameters":[{"name":"identity","in":"query","description":"Identity feed to read. A read that names it names no `tokens` or `wallets`.","required":false,"schema":{"$ref":"#/components/schemas/IdentityFeed"}},{"name":"tokens","in":"query","description":"Token addresses, CSV; one to 10. Each reads on every chain in scope of its address family.","required":false,"schema":{"type":"string"},"example":"So11111111111111111111111111111111111111112"},{"name":"wallets","in":"query","description":"Wallet addresses, CSV; one to 100. Each reads on every chain in scope of its address family.","required":false,"schema":{"type":"string"},"example":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"},{"name":"chains","in":"query","description":"Chains to scope to, CSV of the chain slugs. Absent means every spot chain.","required":false,"schema":{"type":"string"},"example":"solana,bsc"},{"name":"flags","in":"query","description":"Wallet classifications to keep, comma-separated. Absent or empty keeps every trade.","required":false,"schema":{"type":"string"},"example":"bundler,insider"},{"name":"side","in":"query","description":"Keep only this side of the book.","required":false,"schema":{"$ref":"#/components/schemas/TradeDirection"}},{"name":"limit","in":"query","description":"Rows per page, clamped to 1-100; 20 when absent.","required":false,"schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"cursor","in":"query","description":"Opaque cursor from the previous page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recent trades, newest first; a token or wallet with no trades adds none.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiSpotTrades"}}}},"400":{"description":"No `tokens`, `wallets` or `identity`, `identity` beside a list, a token count outside 1-10, a wallet count outside 1-100, an option the read does not take, an unsupported chain, a malformed address, an unknown flag or identity feed, a cursor of another query, or a malformed parameter.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["trades"],"summary":"Trade history under any `spot.trades` filter, newest first or ranked by a value.","description":"`stream-protocol.md`, \"The same filter over history\", states each read's window. A page can be\nshort, or empty, while `hasMore` is true. Page with `cursor` until `hasMore` is false.","operationId":"trade_search","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeSearch"}}},"required":true},"responses":{"200":{"description":"The trades the filter keeps, in the requested order.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiSpotTrades"}}}},"400":{"description":"A filter no trade can match, more addresses than a read names, a ranking with no `fromAt` or a window wider or older than it ranks, an `asc` timestamp order, a cursor of another search, or a malformed body.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/trending":{"post":{"tags":["trending"],"summary":"The trending board.","description":"One request names the chains, the window and the filters. The tokens rank by\nthe trending score over every chain as one set, and the board answers whole.","operationId":"trending_board","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpotTrendingFilter"}}},"required":true},"responses":{"200":{"description":"The ranked board, rank 1 first.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotTrendingDelta"}}}}},"400":{"description":"Unsupported chain, no chain requested, or a malformed body.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing or invalid credential: an API key, or a session token a key minted.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"402":{"description":"The organization's credits this billing period reach its plan's limit.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"A key whose plan excludes this endpoint gets `FORBIDDEN`. A session token from an\norigin it does not name gets `ORIGIN_NOT_ALLOWED`.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limit exceeded.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."},"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Unexpected server failure.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"Dependency down or maintenance.","headers":{"X-Credits-Cost":{"schema":{"type":"integer"},"description":"Credits charged for this request. Zero on any non-2xx. Sent on a metered tier only."},"X-Credits-Remaining":{"schema":{"type":"integer"},"description":"Credit balance after this request. Sent on a metered tier only."},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left in the bucket this request spent from. Not sent with a 401."},"X-Request-ID":{"schema":{"type":"string"},"description":"This request's trace ID. Echoed from the request, or generated when it sent none."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}},"components":{"schemas":{"AnchorToken":{"type":"string","description":"The quote asset a token's deepest pool prices against.","enum":["native","usdc","usdt","usd1","busd","uusd","usdg","unknown"]},"CreateSessionTokenRequest":{"type":"object","description":"The body of `POST /v1/session-tokens`.","required":["origins"],"properties":{"origins":{"type":"array","items":{"type":"string"},"description":"The origins the token may be presented from, 1 to 10, each as a browser sends `Origin`.","example":["https://app.example.com"],"maxItems":10,"minItems":1},"subject":{"type":["string","null"],"description":"Who the token is for, in the caller's own terms: at most 128 characters, no control characters.","example":"user-42","maxLength":128},"ttlSeconds":{"type":["integer","null"],"format":"int32","description":"How long the token lives, 60 to 3600 seconds; 900 when absent.","example":900,"maximum":3600,"minimum":60}},"additionalProperties":false},"Decimal":{"type":"string","format":"decimal","description":"An exact decimal, as a string.","example":"123.456789"},"DiscoverySortField":{"type":"string","description":"The field a discovery column ranks on.","enum":["createdAt","volume24hUsd","marketCapUsd","liquidityUsd","holdersCount","tradeCount24h","bondingCurvePct","bondingCurveActivity","graduatedAt"]},"DiscoveryTokenFilters":{"type":"object","description":"Filters over a discovery column. Every range is inclusive on both ends, and an absent bound is unbounded.","properties":{"ageMinutes":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"Minutes since the token was created."}],"description":"Minutes since the token was created."},"anchorSymbols":{"type":["array","null"],"items":{"type":"string"},"description":"Keep tokens whose deepest pool prices against any of these quote assets, such as `WSOL`, `USDC` or `WBNB`, ignoring case."},"bondingCurvePercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_f64","description":"Bonding-curve completion, 0-100. A token with no bonding curve passes."}],"description":"Bonding-curve completion, 0-100. A token with no bonding curve passes."},"bundlerSupplyPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"Share of supply bundler wallets hold, 0-100."}],"description":"Share of supply bundler wallets hold, 0-100."},"buys":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"Buys over the last 24 hours."}],"description":"Buys over the last 24 hours."},"devHoldingPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_f64","description":"Share of supply the creator holds, 0-100."}],"description":"Share of supply the creator holds, 0-100."},"devTokensCreated":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"How many tokens the creator has deployed. A bound excludes a token with no count."}],"description":"How many tokens the creator has deployed. A bound excludes a token with no count."},"devTokensMigrated":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"How many of the creator's tokens graduated. A bound excludes a token with no count."}],"description":"How many of the creator's tokens graduated. A bound excludes a token with no count."},"dexPaid":{"type":["boolean","null"],"description":"`true` keeps tokens with a paid DexScreener profile; `false` keeps tokens without one."},"excludeAnnotations":{"type":["array","null"],"items":{"$ref":"#/components/schemas/TokenAnnotation"},"description":"Drop tokens that carry any of these annotations, each written as `{\"kind\": \"mayhem_mode\"}`."},"excludeDevAddresses":{"type":["array","null"],"items":{"type":"string"},"description":"Drop tokens created by any of these wallets."},"excludeFundingAddresses":{"type":["array","null"],"items":{"type":"string"},"description":"Drop tokens whose creator was funded by any of these wallets."},"excludeHighSellTax":{"type":["boolean","null"],"description":"Drop tokens whose sell pays 50% or more in total. A token with no sell reading stays, and `false` adds no condition."},"excludeSymbolOrName":{"type":["array","null"],"items":{"type":"string"},"description":"Drop tokens whose symbol or name contains any of these words, ignoring case. A word shaped like an address drops that token instead."},"excludeTwitter":{"type":["array","null"],"items":{"type":"string"},"description":"Drop tokens whose X handle matches any entry, as a handle or a URL."},"excludeWebsites":{"type":["array","null"],"items":{"type":"string"},"description":"Drop tokens whose website host matches any entry, as a URL or a bare domain."},"globalFeesPaidNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The fees `globalFeesPaidUsd` counts, in the chain's native asset."}],"description":"The fees `globalFeesPaidUsd` counts, in the chain's native asset."},"globalFeesPaidUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"All-time USD fees traders paid: transaction, validator and platform fees on Solana, and venue fees on other chains."}],"description":"All-time USD fees traders paid: transaction, validator and platform fees on Solana, and venue fees on other chains."},"holderCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"Current holders."}],"description":"Current holders."},"insiderSupplyPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"Share of supply insider wallets hold, 0-100."}],"description":"Share of supply insider wallets hold, 0-100."},"lastActivityMinutes":{"type":["integer","null"],"format":"int64","description":"Keep tokens updated within this many minutes. Any change to the token counts as an update, such as a trade.","minimum":0},"liquidityUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"USD liquidity."}],"description":"USD liquidity."},"marketCapUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"USD market cap."}],"description":"USD market cap."},"maxGraduationStaleMinutes":{"type":["integer","null"],"format":"int32","description":"Drop tokens with no update within this many minutes, unless they are at 99.5% of their bonding curve or more.","minimum":0},"proTraderCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"Wallets that traded the token through a known trading terminal."}],"description":"Wallets that traded the token through a known trading terminal."},"protocols":{"type":["array","null"],"items":{"type":"string"},"description":"Keep tokens from any of these launchpads, such as `pumpfun`. The value `mayhem_mode` keeps Pump.fun Mayhem Mode tokens."},"sells":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"Sells over the last 24 hours."}],"description":"Sells over the last 24 hours."},"snipersSupplyPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_f64","description":"Share of supply sniper wallets hold, 0-100."}],"description":"Share of supply sniper wallets hold, 0-100."},"symbolOrName":{"type":["array","null"],"items":{"type":"string"},"description":"Keep tokens whose symbol or name contains any of these words, ignoring case. A word shaped like an address matches the token's address instead."},"taxPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The total fee of the costlier side, in percent, launchpad and pool fees included. A bound excludes a token with no reading, which includes every untaxed token."}],"description":"The total fee of the costlier side, in percent, launchpad and pool fees included. A bound excludes a token with no reading, which includes every untaxed token."},"taxToBurnPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The percent of the tax the token burns. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."}],"description":"The percent of the tax the token burns. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."},"taxToDevPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The percent of the tax paid to the creator's own address. A tax wallet that is not the creator counts toward no filter. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."}],"description":"The percent of the tax paid to the creator's own address. A tax wallet that is not the creator counts toward no filter. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."},"taxToDividendsPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The percent of the tax paid to holders as a dividend. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."}],"description":"The percent of the tax paid to holders as a dividend. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."},"taxToLiquidityPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The percent of the tax added to the token's liquidity. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."}],"description":"The percent of the tax added to the token's liquidity. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."},"taxToVaultPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"The percent of the tax paid into the launch's revenue vault. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."}],"description":"The percent of the tax paid into the launch's revenue vault. A bound excludes a token with no split. Only a token whose contract sets a buy or sell tax has a split."},"top10HoldersPercent":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_f64","description":"Share of supply the 10 largest holders hold, 0-100."}],"description":"Share of supply the 10 largest holders hold, 0-100."},"twitterReuseCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"How many other tokens claimed the same X account. Not yet counted, so every token passes."}],"description":"How many other tokens claimed the same X account. Not yet counted, so every token passes."},"txns":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_u64","description":"Buys plus sells over the last 24 hours."}],"description":"Buys plus sells over the last 24 hours."},"volumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FilterRange_Decimal","description":"USD volume over the last 24 hours."}],"description":"USD volume over the last 24 hours."},"withAtLeastOneSocial":{"type":["boolean","null"],"description":"`true` keeps tokens with at least one social link; `false` applies no condition."}},"additionalProperties":false},"ErrorCode":{"type":"string","description":"Every wire error code the API can return.\n\nAppend-only: a new code is non-breaking, since clients fall back on the\nHTTP status for one they do not recognize, and a published code is never\nrenamed or removed.","enum":["UNAUTHORIZED","FORBIDDEN","VALIDATION_ERROR","UNSUPPORTED_CHAIN","NOT_FOUND","RATE_LIMITED","CREDITS_EXHAUSTED","INTERNAL_ERROR","SERVICE_UNAVAILABLE","RANGE_TOO_LARGE","INVALID_CREDENTIALS","ORIGIN_NOT_ALLOWED","NOT_ORG_MEMBER","MEMBERSHIP_INACTIVE","EMAIL_NOT_VERIFIED","EMAIL_TAKEN","ALREADY_MEMBER","INVITATION_ALREADY_SENT","INVITATION_ALREADY_ACCEPTED","LAST_ADMIN","CANNOT_REMOVE_SELF","KEY_LIMIT_REACHED","TOKEN_EXPIRED","PAYLOAD_TOO_LARGE","UNSUPPORTED_MEDIA_TYPE","IMAGE_TOO_LARGE","DEMO_LIMIT_REACHED","DEMO_BUILD_IN_FLIGHT","DEMO_CHALLENGE_FAILED","STAFF_ADMIN_REQUIRED","DEMO_PUBLISH_LIMIT_REACHED"]},"ErrorDetail":{"type":"object","description":"The `error` object inside the envelope.","required":["code","message"],"properties":{"code":{"$ref":"#/components/schemas/ErrorCode","description":"Stable, machine-readable. Clients switch on this, never on `message`."},"details":{"description":"Optional; shape is fixed per code."},"message":{"type":"string","description":"Human-readable, written for the integrating developer:\n`[What happened]. [What to do next — if actionable].`"}}},"ErrorEnvelope":{"type":"object","description":"The complete error response body — every error is exactly this.","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail","description":"The error."}}},"FieldError":{"type":"object","description":"One invalid field, as carried in a `VALIDATION_ERROR`'s `details`.","required":["field","message"],"properties":{"field":{"type":"string","description":"The offending field or query parameter, in its wire (camelCase) form."},"message":{"type":"string","description":"What is wrong with it, and what a valid value looks like."}}},"FilterRange_Decimal":{"type":"object","description":"An inclusive range of decimal strings; an absent bound is unbounded.","properties":{"max":{"type":"string","format":"decimal","description":"Largest value kept, inclusive; absent means unbounded.","example":"123.456789"},"min":{"type":"string","format":"decimal","description":"Smallest value kept, inclusive; absent means unbounded.","example":"123.456789"}}},"FilterRange_f64":{"type":"object","description":"An inclusive range of numbers; an absent bound is unbounded.","properties":{"max":{"type":"number","format":"double","description":"Largest value kept, inclusive; absent means unbounded."},"min":{"type":"number","format":"double","description":"Smallest value kept, inclusive; absent means unbounded."}}},"FilterRange_u64":{"type":"object","description":"An inclusive range of counts; an absent bound is unbounded.","properties":{"max":{"type":"integer","format":"int64","description":"Largest value kept, inclusive; absent means unbounded.","minimum":0},"min":{"type":"integer","format":"int64","description":"Smallest value kept, inclusive; absent means unbounded.","minimum":0}}},"FundingSourceKind":{"type":"string","description":"Whether a known exchange or another wallet funded the creator.","enum":["cex","wallet"]},"FundingStatus":{"type":"string","description":"Whether the creator wallet's funding lookup has settled.","enum":["unresolved","resolved"]},"GraduationStage":{"type":"string","description":"A launchpad token's stage, from launch to its DEX listing.","enum":["newly_created","about_to_graduate","graduated"]},"HolderPeriod":{"type":"string","description":"The span a holder row's trading figures cover: `lifetime`, every round trip, or `cycle`, the open one. `lifetime` when absent.","enum":["cycle","lifetime"]},"IdentityFeed":{"type":"string","description":"A cross-token feed of trades by a notable identity.","enum":["kol","fomo"]},"Lifecycle":{"type":"string","description":"A position's current-cycle lifecycle.","enum":["open","closed"]},"MultiChainAddress":{"type":"string","description":"An address: base58 on Solana, `0x`-hex on an EVM chain.","examples":["So11111111111111111111111111111111111111112"]},"Product":{"type":"string","description":"The product a position belongs to.","enum":["spot","perps","prediction_markets"]},"PulseColumn":{"type":"string","description":"One of the three discovery columns.","enum":["newPairs","graduating","graduated"]},"Range_Decimal":{"type":"object","description":"An inclusive range of decimal strings; an absent bound is unbounded.","properties":{"max":{"type":"string","format":"decimal","description":"Largest value kept, inclusive; absent means unbounded.","example":"123.456789"},"min":{"type":"string","format":"decimal","description":"Smallest value kept, inclusive; absent means unbounded.","example":"123.456789"}},"additionalProperties":false},"Range_u64":{"type":"object","description":"An inclusive range of counts; an absent bound is unbounded.","properties":{"max":{"type":"integer","format":"int64","description":"Largest value kept, inclusive; absent means unbounded.","minimum":0},"min":{"type":"integer","format":"int64","description":"Smallest value kept, inclusive; absent means unbounded.","minimum":0}},"additionalProperties":false},"SearchKind":{"type":"string","description":"The asset kinds a search can be scoped to. Metastreams is spot only, so both are spot kinds.","enum":["spotToken","spotWallet"]},"SearchSortDirection":{"type":"string","description":"Sort direction.","enum":["asc","desc"]},"SearchSortField":{"type":"string","description":"Sort field for search results.","enum":["relevance","volume24h","marketCap","liquidity","createdAt"]},"Social":{"type":"string","description":"A social link a token can carry.","enum":["twitter","telegram","website","discord"]},"SortOrder":{"type":"string","description":"Rank direction; descending when absent.","enum":["asc","desc"]},"SpotChain":{"type":"string","description":"Chain slug. One spelling per chain, in paths and bodies alike. Only a chain with spot data is published.","enum":["solana","bsc","robinhood","elysium","ethereum","base"]},"SpotPulseColumnConfig":{"type":"object","description":"How one discovery column is ranked and filtered.","properties":{"filters":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DiscoveryTokenFilters","description":"Filters over the column. They add to the column's own defaults and never loosen them."}],"description":"Filters over the column. They add to the column's own defaults and never loosen them."},"limit":{"type":["integer","null"],"format":"int32","description":"Ranked-set size, clamped to 1-100; 20 when absent.","minimum":0},"order":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SortOrder","description":"Rank direction; descending when absent."}],"description":"Rank direction; descending when absent."},"sortBy":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DiscoverySortField","description":"Field to rank on; the column's default when absent."}],"description":"Field to rank on; the column's default when absent."}}},"SpotPulseSubscriptionConfig":{"type":"object","description":"A discovery request: one or more chains, up to three columns.","required":["chains"],"properties":{"chains":{"type":"array","items":{"$ref":"#/components/schemas/SpotChain"},"description":"Chains every column ranks over, as one mixed set."},"graduated":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SpotPulseColumnConfig","description":"Graduated column; omitted means not requested."}],"description":"Graduated column; omitted means not requested."},"graduating":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SpotPulseColumnConfig","description":"Graduating column; omitted means not requested."}],"description":"Graduating column; omitted means not requested."},"newPairs":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SpotPulseColumnConfig","description":"New-pairs column; omitted means not requested."}],"description":"New-pairs column; omitted means not requested."}}},"SpotTrendingFilter":{"type":"object","description":"A trending request: one or more chains, one window, and the filters the board must satisfy.","required":["chains"],"properties":{"chains":{"type":"array","items":{"$ref":"#/components/schemas/SpotChain"},"description":"Chains the board ranks over, as one mixed set."},"filters":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DiscoveryTokenFilters","description":"Filters the ranked tokens must satisfy; absent ranks every candidate."}],"description":"Filters the ranked tokens must satisfy; absent ranks every candidate."},"limit":{"type":["integer","null"],"format":"int32","description":"Ranked-set size, clamped to 1-100; 100 when absent.","minimum":0},"window":{"$ref":"#/components/schemas/TrendingWindow","description":"Window the score reads; `24h` when absent."}},"additionalProperties":false},"StatsFilter":{"type":"object","description":"Activity filters for one rolling window.","properties":{"buyVolumeNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Buy volume in the chain's gas asset."}],"description":"Buy volume in the chain's gas asset."},"buyVolumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Buy volume in USD."}],"description":"Buy volume in USD."},"buys":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of buys."}],"description":"Number of buys."},"netBuyVolumeNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Buy volume less sell volume, in the chain's gas asset."}],"description":"Buy volume less sell volume, in the chain's gas asset."},"netBuyVolumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Buy volume less sell volume, in USD."}],"description":"Buy volume less sell volume, in USD."},"priceChangePct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Signed percent change of the price."}],"description":"Signed percent change of the price."},"sellVolumeNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Sell volume in the chain's gas asset."}],"description":"Sell volume in the chain's gas asset."},"sellVolumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Sell volume in USD."}],"description":"Sell volume in USD."},"sells":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of sells."}],"description":"Number of sells."},"txns":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of buys and sells."}],"description":"Number of buys and sells."},"volumeNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Volume in the chain's gas asset."}],"description":"Volume in the chain's gas asset."},"volumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Volume in USD."}],"description":"Volume in USD."}},"additionalProperties":false},"TokenAnnotation":{"oneOf":[{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["mayhem_mode"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["cashback_coin"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["anchor"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["x_mode"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["tax_token"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["stock_quote"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["stock_dividend"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["ai_vault"]}}},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which annotation this is.","enum":["tax_vault"]}}}],"description":"A platform-scoped flag the launch carried, tagged by `kind`."},"TokenExclude":{"type":"object","description":"Values that drop a token. Each list drops a token that matches any of its values.","properties":{"anchors":{"type":"array","items":{"$ref":"#/components/schemas/AnchorToken"},"description":"Quote assets to drop."},"annotations":{"type":"array","items":{"type":"string"},"description":"Annotation kinds to drop, each written as its bare `kind`.","example":["mayhem_mode","cashback_coin"]},"chains":{"type":"array","items":{"$ref":"#/components/schemas/SpotChain"},"description":"Chains to drop."},"devAddresses":{"type":"array","items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Creator wallets to drop."},"dexes":{"type":"array","items":{"type":"string"},"description":"Pool venues to drop."},"fundingAddresses":{"type":"array","items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Creator funders to drop."},"fundingKinds":{"type":"array","items":{"$ref":"#/components/schemas/FundingSourceKind"},"description":"Kinds of creator funding source to drop."},"graduatedToDexes":{"type":"array","items":{"type":"string"},"description":"Graduation venues to drop."},"protocols":{"type":"array","items":{"type":"string"},"description":"Launchpads to drop."},"socials":{"type":"array","items":{"$ref":"#/components/schemas/Social"},"description":"Social links whose presence drops a token."},"stages":{"type":"array","items":{"$ref":"#/components/schemas/GraduationStage"},"description":"Launchpad stages to drop."},"symbolOrName":{"type":"array","items":{"type":"string"},"description":"Symbol or name substrings to drop."},"tokens":{"type":"array","items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Token addresses to drop."},"twitter":{"type":"array","items":{"type":"string"},"description":"X handles to drop."},"websites":{"type":"array","items":{"type":"string"},"description":"Website hosts to drop."}},"additionalProperties":false},"TokenFilter":{"type":"object","description":"A predicate on one token's current state.","properties":{"ageMs":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Time since creation."}],"description":"Time since creation."},"anchors":{"type":"array","items":{"$ref":"#/components/schemas/AnchorToken"},"description":"Quote assets the token trades against."},"annotations":{"type":"array","items":{"type":"string"},"description":"Annotation kinds the token carries, each written as its bare `kind`.","example":["mayhem_mode","cashback_coin"]},"athMarketCapNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time-high market cap in the chain's gas asset."}],"description":"All-time-high market cap in the chain's gas asset."},"athMarketCapUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time-high market cap in USD."}],"description":"All-time-high market cap in USD."},"bondingCurvePct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of the bonding curve filled."}],"description":"Percent of the bonding curve filled."},"bundlerCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of bundler wallets."}],"description":"Number of bundler wallets."},"bundlerSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply bundlers hold."}],"description":"Percent of supply bundlers hold."},"buyTaxBps":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Buy tax in basis points."}],"description":"Buy tax in basis points."},"chains":{"type":"array","items":{"$ref":"#/components/schemas/SpotChain"},"description":"Chains to keep; empty keeps every chain."},"devAddresses":{"type":"array","items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Creator wallets to keep."},"devHoldingPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply the creator holds."}],"description":"Percent of supply the creator holds."},"dexPaid":{"type":["boolean","null"],"description":"Whether the token paid for a DEX Screener profile."},"dexes":{"type":"array","items":{"type":"string"},"description":"Venues of any of the token's pools."},"drawdownFromAthPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent the USD market cap sits below its all-time high."}],"description":"Percent the USD market cap sits below its all-time high."},"exclude":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TokenExclude","description":"Values that drop a token that matches any of them."}],"description":"Values that drop a token that matches any of them."},"feesDexNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time DEX fees in the chain's gas asset."}],"description":"All-time DEX fees in the chain's gas asset."},"feesDexUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time DEX fees in USD."}],"description":"All-time DEX fees in USD."},"feesPlatformNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time platform fees in the chain's gas asset."}],"description":"All-time platform fees in the chain's gas asset."},"feesPlatformUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time platform fees in USD."}],"description":"All-time platform fees in USD."},"feesValidatorNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time validator fees in the chain's gas asset."}],"description":"All-time validator fees in the chain's gas asset."},"feesValidatorUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time validator fees in USD."}],"description":"All-time validator fees in USD."},"fomoCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of fomo traders."}],"description":"Number of fomo traders."},"fomoSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply fomo traders hold."}],"description":"Percent of supply fomo traders hold."},"freshWalletCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of fresh wallets."}],"description":"Number of fresh wallets."},"freshWalletSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply fresh wallets hold."}],"description":"Percent of supply fresh wallets hold."},"fundedByCexPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of holders an exchange funded."}],"description":"Percent of holders an exchange funded."},"fundingAddresses":{"type":"array","items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Wallets that funded the creator."},"fundingKinds":{"type":"array","items":{"$ref":"#/components/schemas/FundingSourceKind"},"description":"Kinds of source that funded the creator."},"graduatedToDexes":{"type":"array","items":{"type":"string"},"description":"Venues the token graduated to."},"holderCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of holders."}],"description":"Number of holders."},"insiderCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of insider wallets."}],"description":"Number of insider wallets."},"insiderSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply insiders hold."}],"description":"Percent of supply insiders hold."},"lastActivityMs":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Time since the token's state last changed."}],"description":"Time since the token's state last changed."},"liquidityNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Liquidity in the chain's gas asset."}],"description":"Liquidity in the chain's gas asset."},"liquidityUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Liquidity in USD."}],"description":"Liquidity in USD."},"lpBurntPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of LP tokens burnt."}],"description":"Percent of LP tokens burnt."},"marketCapNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Market cap in the chain's gas asset."}],"description":"Market cap in the chain's gas asset."},"marketCapUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Market cap in USD."}],"description":"Market cap in USD."},"mintDisabled":{"type":["boolean","null"],"description":"Whether minting is disabled."},"phishingCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of phishing wallets."}],"description":"Number of phishing wallets."},"phishingSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply phishing wallets hold."}],"description":"Percent of supply phishing wallets hold."},"priceNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Price in the chain's gas asset."}],"description":"Price in the chain's gas asset."},"priceUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Price in USD."}],"description":"Price in USD."},"proTraderCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of pro traders."}],"description":"Number of pro traders."},"proTraderSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply pro traders hold."}],"description":"Percent of supply pro traders hold."},"protocols":{"type":"array","items":{"type":"string"},"description":"Launchpads the token launched on."},"sellTaxBps":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Sell tax in basis points."}],"description":"Sell tax in basis points."},"sinceGraduationMs":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Time since graduation."}],"description":"Time since graduation."},"sniperCount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Number of sniper wallets."}],"description":"Number of sniper wallets."},"snipersSupplyPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply snipers hold."}],"description":"Percent of supply snipers hold."},"socials":{"type":"array","items":{"$ref":"#/components/schemas/Social"},"description":"Social links the token must carry at least one of."},"stages":{"type":"array","items":{"$ref":"#/components/schemas/GraduationStage"},"description":"Launchpad stages; a token with no launchpad has no stage."},"stats":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/WindowStatsFilter","description":"Rolling-window activity."}],"description":"Rolling-window activity."},"supply":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Supply in whole tokens."}],"description":"Supply in whole tokens."},"symbolOrName":{"type":"array","items":{"type":"string"},"description":"Substrings of the symbol or name; an address-shaped value matches the token address exactly."},"tokens":{"type":["array","null"],"items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Token addresses to keep, 1 to 100 of them."},"top10HoldersPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent of supply the ten largest holders hold."}],"description":"Percent of supply the ten largest holders hold."},"totalVolumeNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time volume in the chain's gas asset."}],"description":"All-time volume in the chain's gas asset."},"totalVolumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"All-time volume in USD."}],"description":"All-time volume in USD."},"transferBlockable":{"type":["boolean","null"],"description":"Whether an authority can block transfers."},"transferFeeBps":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_u64","description":"Transfer fee in basis points."}],"description":"Transfer fee in basis points."}},"additionalProperties":false},"TradeDirection":{"type":"string","description":"Which way the traded token moved: `buy` or `sell`.","enum":["buy","sell"]},"TradeExclude":{"type":"object","description":"Values that drop a trade. Each list drops a trade that matches any of its values.","properties":{"flags":{"type":"array","items":{"$ref":"#/components/schemas/WalletFilter"},"description":"Trader classifications to drop."},"platforms":{"type":"array","items":{"type":"string"},"description":"Trading terminals to drop."},"wallets":{"type":"array","items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Trader wallets to drop."}},"additionalProperties":false},"TradeFilter":{"type":"object","description":"A predicate on one trade. Different keys are ANDed; values in one list are ORed.","properties":{"amount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Token units traded."}],"description":"Token units traded."},"anchors":{"type":"array","items":{"$ref":"#/components/schemas/AnchorToken"},"description":"Quote assets the trade priced against."},"chains":{"type":"array","items":{"$ref":"#/components/schemas/SpotChain"},"description":"Chains to keep; empty keeps every chain."},"dexes":{"type":"array","items":{"type":"string"},"description":"Venues the trade executed on."},"exclude":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TradeExclude","description":"Values that drop a trade that matches any of them."}],"description":"Values that drop a trade that matches any of them."},"feesPlatformNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"The trading terminal's cut, in the chain's gas asset."}],"description":"The trading terminal's cut, in the chain's gas asset."},"feesPlatformUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"The trading terminal's cut, in USD."}],"description":"The trading terminal's cut, in USD."},"feesValidatorNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Validator tips and MEV bribes, in the chain's gas asset."}],"description":"Validator tips and MEV bribes, in the chain's gas asset."},"feesValidatorUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Validator tips and MEV bribes, in USD."}],"description":"Validator tips and MEV bribes, in USD."},"flags":{"type":"array","items":{"$ref":"#/components/schemas/WalletFilter"},"description":"Trader classifications to keep."},"fullExit":{"type":["boolean","null"],"description":"Whether the trade is a sell that leaves the trader none of the token."},"launchpads":{"type":"array","items":{"type":"string"},"description":"Launchpads the traded token launched on."},"liquidityNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Pool liquidity at the trade, in the chain's gas asset."}],"description":"Pool liquidity at the trade, in the chain's gas asset."},"liquidityUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Pool liquidity at the trade, in USD."}],"description":"Pool liquidity at the trade, in USD."},"marketCapNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Market cap at the fill price, in the chain's gas asset."}],"description":"Market cap at the fill price, in the chain's gas asset."},"marketCapUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Market cap at the fill price, in USD."}],"description":"Market cap at the fill price, in USD."},"platforms":{"type":"array","items":{"type":"string"},"description":"Trading terminals the trade routed through."},"pools":{"type":["array","null"],"items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Pools or markets to keep; absent keeps every pool."},"priceImpactPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Percent the fill price moved from the price before the trade."}],"description":"Percent the fill price moved from the price before the trade."},"priceNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Fill price in the chain's gas asset."}],"description":"Fill price in the chain's gas asset."},"priceUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Fill price in USD."}],"description":"Fill price in USD."},"side":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TradeDirection","description":"Buy or sell."}],"description":"Buy or sell."},"token":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TokenFilter","description":"The traded token's current state, as a `spot.tokens` filter tests it."}],"description":"The traded token's current state, as a `spot.tokens` filter tests it."},"tokens":{"type":["array","null"],"items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Traded tokens to keep; absent keeps every token."},"traderSources":{"type":"array","items":{"$ref":"#/components/schemas/TraderSource"},"description":"What named the trader of an EVM trade. A Solana trade has none."},"volumeNative":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Trade value in the chain's gas asset."}],"description":"Trade value in the chain's gas asset."},"volumeUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Range_Decimal","description":"Trade value in USD."}],"description":"Trade value in USD."},"wallets":{"type":["array","null"],"items":{"$ref":"#/components/schemas/MultiChainAddress"},"description":"Trader wallets to keep; absent keeps every wallet."}},"additionalProperties":false},"TradeSearch":{"type":"object","description":"The body of `POST /v1/trades`: trade history under any `spot.trades` filter.\n\n`filter` takes every key a `spot.trades` subscription takes. A `timestamp` order reads newest\nfirst and pages back through history. Any other order ranks one window of trades by that\nvalue, and needs `fromAt`.","properties":{"cursor":{"type":["string","null"],"description":"Opaque cursor from the previous page."},"filter":{"$ref":"#/components/schemas/TradeFilter","description":"The trades to keep, as a `spot.trades` subscription names them."},"fromAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"Window start, inclusive. A ranking needs it."}],"description":"Window start, inclusive. A ranking needs it."},"limit":{"type":["integer","null"],"format":"int32","description":"Trades per page, 20 when absent. A value outside 1–100 is clamped into it.","minimum":0},"order":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SortOrder","description":"`desc` when absent. A `timestamp` order is always `desc`."}],"description":"`desc` when absent. A `timestamp` order is always `desc`."},"sortBy":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TradeSortField","description":"The value that orders the trades; `timestamp` when absent."}],"description":"The value that orders the trades; `timestamp` when absent."},"toAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"Window end, exclusive. When absent, a feed ends at now. A ranking ends at its widest\nwindow past `fromAt`, or at now when that is earlier."}],"description":"Window end, exclusive. When absent, a feed ends at now. A ranking ends at its widest\nwindow past `fromAt`, or at now when that is earlier."}},"additionalProperties":false},"TradeSortField":{"type":"string","description":"The value a trade search orders by. Each value but `timestamp` is a range key of the filter.","enum":["timestamp","volumeUsd","volumeNative","amount","priceUsd","priceNative","marketCapUsd","marketCapNative","liquidityUsd","liquidityNative","feesValidatorUsd","feesValidatorNative","feesPlatformUsd","feesPlatformNative"]},"TraderSource":{"type":"string","description":"What named the trader of an EVM trade.","enum":["swap_recipient","tx_origin","launchpad_buyer","settlement_endpoint","authority7702","user_op_sender","relay_caller","pool_caller","net_principal","net_sender","net_payer","unresolved","cycle_sender","native_out_sender","contract_caller","net_holder","net_receiver","token_funded"]},"TrendingWindow":{"type":"string","description":"Window the trending score's volume and velocity terms read; `24h` when absent.","enum":["1m","5m","30m","1h","6h","24h"]},"UiAssetSearchHit":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/UiSpotToken","description":"A spot token: the object `GET /v1/tokens` answers."},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which asset kind this hit is.","enum":["spotToken"]}}}],"description":"A spot token: the object `GET /v1/tokens` answers."},{"allOf":[{"$ref":"#/components/schemas/UiSpotSearchWallet","description":"A wallet."},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","description":"Which asset kind this hit is.","enum":["spotWallet"]}}}],"description":"A wallet."}],"description":"One search hit. `GET /v1/search` answers an array of them. Tokens keep the order of\n`sortBy`, or of relevance when it is absent."},"UiCandle":{"type":"object","description":"One chart OHLC bucket. The request's metric decides whether the values are\nprices or market caps, and its denomination decides what they are denominated in.\n\nValues are JSON numbers, the one amount on this surface that is: a chart\nclient consumes them as floats, and every OHLCV feed it already reads is\nshaped this way. A bucket with no trades in it is not emitted, so a series\nis sparse.","required":["time","open","high","low","close","volume"],"properties":{"close":{"type":"number","format":"double","description":"Closing value.","example":0.7},"high":{"type":"number","format":"double","description":"Highest value.","example":2.0},"low":{"type":"number","format":"double","description":"Lowest value.","example":0.5},"open":{"type":"number","format":"double","description":"Opening value.","example":1.0},"time":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Candle open time."},"volume":{"type":"number","format":"double","description":"Traded volume, in the requested denomination.","example":1000.0}}},"UiCandleSeries":{"type":"object","description":"One token's candle buckets on one chain, an element of the `GET /v1/ohlcv` response.","required":["chain","address","candles","hasMore"],"properties":{"address":{"type":"string","description":"Token address."},"candles":{"type":"array","items":{"$ref":"#/components/schemas/UiCandle"},"description":"Buckets on this page, oldest first."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the token trades on."},"hasMore":{"type":"boolean","description":"Whether this series has older candles in the window."},"nextCursor":{"type":["string","null"],"description":"The cursor of this series' next, older page when `hasMore` is `true`; `null` on its last\npage."}}},"UiDevFunding":{"type":"object","description":"The creator wallet's first inbound funding.\n\n`status` separates a lookup still in flight from one that settled on a wallet with no\nfunder to name. Every other field is `null` in both cases.","required":["status"],"properties":{"address":{"type":["string","null"],"description":"Funder wallet or exchange address."},"amount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"Amount the first funding moved, in the chain's native asset."}],"description":"Amount the first funding moved, in the chain's native asset."},"fundedAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the first funding executed."}],"description":"When the first funding executed."},"sourceKind":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FundingSourceKind","description":"What the funder is (exchange, bridge, wallet, …)."}],"description":"What the funder is (exchange, bridge, wallet, …)."},"sourceLabel":{"type":["string","null"],"description":"Display label for the funder, e.g. an exchange name."},"status":{"$ref":"#/components/schemas/FundingStatus","description":"Whether the lookup has settled."}}},"UiFeeAsset":{"type":"object","description":"An asset a fee is charged or paid in.","required":["address"],"properties":{"address":{"type":"string","description":"The asset's contract address."},"symbol":{"type":["string","null"],"description":"Its display symbol; `null` where none is known."}}},"UiHolderCohortStats":{"type":"object","description":"Balance-weighted entry and exit prices across a holder cohort.","properties":{"avgEntryPrice":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Balance-weighted entry price across the cohort; `null` when no holder has one."}],"description":"Balance-weighted entry price across the cohort; `null` when no holder has one."},"avgExitPrice":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Balance-weighted exit price across the cohort; `null` when no holder has one."}],"description":"Balance-weighted exit price across the cohort; `null` when no holder has one."}}},"UiHolderSeries":{"type":"object","description":"One token's current holders on one chain, an element of the `GET /v1/holders` response.","required":["chain","address","holders","holderCount","hasMore"],"properties":{"address":{"type":"string","description":"Token address."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the token trades on."},"hasMore":{"type":"boolean","description":"Whether this series has another page."},"holderCount":{"type":"integer","format":"int64","description":"The token's own holder total, whatever the `limit` and any `flags` filter. It counts\ntrading wallets only, so it can run below a full listing that includes pool vaults.","minimum":0},"holders":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotHolder"},"description":"Holders on this page, largest balance first."},"nextCursor":{"type":["string","null"],"description":"The cursor of this series' next page when `hasMore` is `true`; `null` on its last page."},"top10":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiHolderCohortStats","description":"Balance-weighted entry and exit prices across the first 10 holders; the filtered cohort\nunder `flags`. `null` on every page after the first."}],"description":"Balance-weighted entry and exit prices across the first 10 holders; the filtered cohort\nunder `flags`. `null` on every page after the first."}}},"UiMoney":{"type":"object","description":"A chain-denominated value with its USD equivalent. The enclosing object carries the\n`chain` that names `native`'s unit.","required":["native"],"properties":{"native":{"$ref":"#/components/schemas/Decimal","description":"Value in the owning chain's gas asset."},"usd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"Value in USD; `null` when the native asset is unpriced."}],"description":"Value in USD; `null` when the native asset is unpriced."}}},"UiNativePrice":{"type":"object","description":"One chain's gas asset, priced in USD.","required":["chain","asset","price","observedAt"],"properties":{"asset":{"type":"string","description":"The chain's gas asset. This is an open enumeration: keep a value you do not recognize.","examples":["SOL","ETH","BNB"]},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain whose gas asset this prices."},"observedAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"The instant the price source reports the rate was true."},"price":{"$ref":"#/components/schemas/UiMoney","description":"One whole unit of `asset`; `native` is always 1."}}},"UiPlatform":{"oneOf":[{"type":"object","description":"fomo.family, the terminal that routed the trade. The trader's profile is the `fomo`\nelement of `identities`.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["fomo"]}}},{"type":"object","description":"A token's DexScreener listing; present only while its profile is paid.","required":["isPaid","platform"],"properties":{"isPaid":{"type":"boolean","description":"Whether the token's DexScreener profile is paid."},"paidAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"Earliest profile payment time."}],"description":"Earliest profile payment time."},"platform":{"type":"string","description":"Which platform this is.","enum":["dexScreener"]}}},{"type":"object","description":"Axiom.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["axiom"]}}},{"type":"object","description":"\"Banana Gun\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["bananaGun"]}}},{"type":"object","description":"Bloom.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["bloom"]}}},{"type":"object","description":"\"BONKbot\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["bonkbot"]}}},{"type":"object","description":"BtcTurk.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["btcTurk"]}}},{"type":"object","description":"BullX.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["bullX"]}}},{"type":"object","description":"Click.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["click"]}}},{"type":"object","description":"\"GMGN\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["gmgn"]}}},{"type":"object","description":"\"Lucky Block\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["luckyBlock"]}}},{"type":"object","description":"Maestro.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["maestro"]}}},{"type":"object","description":"\"Manifold Trading\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["manifoldTrading"]}}},{"type":"object","description":"\"MEVX\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["mevx"]}}},{"type":"object","description":"Mintech.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["mintech"]}}},{"type":"object","description":"Nighthawk.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["nighthawk"]}}},{"type":"object","description":"Nova.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["nova"]}}},{"type":"object","description":"\"OX.FUN\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["oxFun"]}}},{"type":"object","description":"Padre.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["padre"]}}},{"type":"object","description":"PepeBoost.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["pepeBoost"]}}},{"type":"object","description":"Phantom.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["phantom"]}}},{"type":"object","description":"Photon.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["photon"]}}},{"type":"object","description":"SexBotSolana.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["sexBotSolana"]}}},{"type":"object","description":"Shuriken.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["shuriken"]}}},{"type":"object","description":"\"SOL Sniper Bot\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["solSniperBot"]}}},{"type":"object","description":"\"Sol Trading Bot\".","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["solTradingBot"]}}},{"type":"object","description":"Trojan.","required":["platform"],"properties":{"platform":{"type":"string","description":"Which platform this is.","enum":["trojan"]}}}],"description":"A platform attached to a token, a wallet, or a trade.\n\nThe fieldless variants are trading terminals, each described by its display name."},"UiPnlBuckets":{"type":"object","description":"Positions per realized-PnL tier within a timeframe.","required":["moonshot","pump","win","loss","rekt"],"properties":{"loss":{"type":"integer","format":"int64","description":"Realized down to -50%.","minimum":0},"moonshot":{"type":"integer","format":"int64","description":"Realized 5x or better.","minimum":0},"pump":{"type":"integer","format":"int64","description":"Realized 2x to 5x.","minimum":0},"rekt":{"type":"integer","format":"int64","description":"Realized worse than -50%.","minimum":0},"win":{"type":"integer","format":"int64","description":"Realized 1x to 2x.","minimum":0}}},"UiPoolQuote":{"type":"object","description":"The asset a pool quotes its token in.","required":["address"],"properties":{"address":{"type":"string","description":"Quote asset's address."},"symbol":{"type":["string","null"],"description":"Quote asset's display symbol; `null` where none is known."}}},"UiPortfolioResponse":{"type":"object","description":"The summed spot holdings of the named wallets.","required":["totalValueUsd","asOf","wallets","spot"],"properties":{"asOf":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Serve-time snapshot instant."},"spot":{"$ref":"#/components/schemas/UiSpotPortfolio","description":"Spot holdings of every named wallet."},"stats":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiPortfolioStats","description":"Timeframe performance; present only under `include=stats`."}],"description":"Timeframe performance; present only under `include=stats`."},"totalValueUsd":{"$ref":"#/components/schemas/Decimal","description":"Sum of every product's value; spot is the only product."},"wallets":{"type":"array","items":{"$ref":"#/components/schemas/UiWalletDescriptor"},"description":"Each named wallet's share, in request order. The shares sum to the matching total.\nTheir `stats` sum to `stats`."}}},"UiPortfolioStats":{"type":"object","description":"`include=stats`: performance over the four standard timeframes. A position joins a\ntimeframe by the age of its first purchase, never its last activity.","required":["oneDay","sevenDays","thirtyDays","max"],"properties":{"max":{"$ref":"#/components/schemas/UiTimeframeStats","description":"Every position in scope."},"oneDay":{"$ref":"#/components/schemas/UiTimeframeStats","description":"Positions whose first purchase falls in the last day."},"sevenDays":{"$ref":"#/components/schemas/UiTimeframeStats","description":"Positions whose first purchase falls in the last seven days."},"thirtyDays":{"$ref":"#/components/schemas/UiTimeframeStats","description":"Positions whose first purchase falls in the last thirty days."}}},"UiPositionCounts":{"type":"object","description":"Per-product position counts.","required":["spot"],"properties":{"spot":{"$ref":"#/components/schemas/UiSpotCounts","description":"Spot counts."}}},"UiPositionLifetime":{"type":"object","description":"Aggregates across every open/close cycle a wallet has had in one token.","required":["invested","received","realizedPnl","fees","buyCount","sellCount","cycleCount","winningCycleCount","tokensBought","tokensSold"],"properties":{"buyCount":{"type":"integer","format":"int64","description":"Buy-side trade count across every cycle.","minimum":0},"cycleCount":{"type":"integer","format":"int64","description":"Number of cycles opened.","minimum":0},"fees":{"$ref":"#/components/schemas/UiMoney","description":"Total fees paid across every cycle."},"invested":{"$ref":"#/components/schemas/UiMoney","description":"Total spent across every cycle."},"realizedPnl":{"$ref":"#/components/schemas/UiMoney","description":"Total realized PnL across every cycle."},"received":{"$ref":"#/components/schemas/UiMoney","description":"Total received from sells across every cycle."},"sellCount":{"type":"integer","format":"int64","description":"Sell-side trade count across every cycle.","minimum":0},"tokensBought":{"$ref":"#/components/schemas/Decimal","description":"Tokens bought across every cycle."},"tokensSold":{"$ref":"#/components/schemas/Decimal","description":"Tokens sold across every cycle."},"winningCycleCount":{"type":"integer","format":"int64","description":"Number of cycles closed with positive realized PnL.","minimum":0}}},"UiPositionToken":{"type":"object","description":"A position's token. Every field but `chain` and `address` is `null` for a token without data.","required":["chain","address"],"properties":{"address":{"type":"string","description":"Token address."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the token trades on."},"decimals":{"type":["integer","null"],"format":"int32","description":"Token decimals.","minimum":0},"logoUrl":{"type":["string","null"],"description":"Token artwork URL."},"marketCap":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Current market cap."}],"description":"Current market cap."},"name":{"type":["string","null"],"description":"Token name."},"price":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Current price."}],"description":"Current price."},"symbol":{"type":["string","null"],"description":"Token symbol."}}},"UiSessionToken":{"type":"object","description":"A session token as the mint answers it.","required":["token","expiresAt"],"properties":{"expiresAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"When it stops authenticating."},"token":{"type":"string","description":"The token, presented as `Authorization: Bearer <token>`, or on the stream handshake in `Sec-WebSocket-Protocol`."}}},"UiSpotCounts":{"type":"object","description":"Spot position counts across the named wallets.","required":["open","closed"],"properties":{"closed":{"type":"integer","format":"int64","description":"Closed positions.","minimum":0},"open":{"type":"integer","format":"int64","description":"Open positions.","minimum":0}}},"UiSpotHolder":{"type":"object","description":"One wallet's holding and trading figures on one token.\n\nVolumes, token totals, trade counts, entry and exit prices and realized PnL cover the\n`period` that the read or the `spot.holders` subscription names.","required":["address","balance","supplyPct","buyVolume","tokensBought","buyCount","sellVolume","tokensSold","sellCount","realizedPnl","remainingPct","funding"],"properties":{"address":{"type":"string","description":"Wallet address."},"avgEntryMarketCap":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Size-weighted market cap across the wallet's buys; `null` when none was recorded."}],"description":"Size-weighted market cap across the wallet's buys; `null` when none was recorded."},"avgEntryPrice":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Entry price per token over the period; `null` before the period's first buy. `cycle`\nreads the open position's cost basis, and `lifetime` averages every buy."}],"description":"Entry price per token over the period; `null` before the period's first buy. `cycle`\nreads the open position's cost basis, and `lifetime` averages every buy."},"avgExitMarketCap":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Size-weighted market cap across the wallet's sells; `null` when none was recorded."}],"description":"Size-weighted market cap across the wallet's sells; `null` when none was recorded."},"avgExitPrice":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Volume-weighted exit price over the period; `null` until the wallet sells in it."}],"description":"Volume-weighted exit price over the period; `null` until the wallet sells in it."},"balance":{"$ref":"#/components/schemas/Decimal","description":"Token units the wallet holds now."},"buyCount":{"type":"integer","format":"int32","description":"Buy trades over the period.","minimum":0},"buyVolume":{"$ref":"#/components/schemas/UiMoney","description":"Spent buying this token over the period."},"firstPurchaseAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"The wallet's first buy of this token; `null` for a wallet that only received transfers."}],"description":"The wallet's first buy of this token; `null` for a wallet that only received transfers."},"flags":{"type":"array","items":{"type":"string","description":"A flag the classifier put on the wallet. This is an open enumeration: the classifier learns new flags, so keep a value you do not recognize.","examples":["bundler","sniper","insider","dev","fresh","whale","kol","liquidity_pool","locker","pro_trader","system","fomo","phishing","marketplace","proxima"]},"description":"Classifications the wallet carries."},"funding":{"$ref":"#/components/schemas/UiWalletFunding","description":"The wallet's first inbound funding. Always present; its status says whether the lookup\nhas settled."},"identities":{"type":"array","items":{"$ref":"#/components/schemas/UiWalletIdentity"},"description":"The wallet's resolved identities, one element per source."},"nativeBalance":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"The wallet's balance of the chain's native asset; `null` until the chain reports one."}],"description":"The wallet's balance of the chain's native asset; `null` until the chain reports one."},"platforms":{"type":"array","items":{"$ref":"#/components/schemas/UiPlatform"},"description":"The wallet's trading-platform identities."},"rank":{"type":["integer","null"],"format":"int64","description":"1-based rank in the requested ordering; a `flags` filter ranks within the filtered\ncohort. Absent on live `spot.holders` updates.","minimum":0},"realizedPnl":{"$ref":"#/components/schemas/UiMoney","description":"Profit or loss the wallet locked in by selling over the period."},"remainingPct":{"$ref":"#/components/schemas/Decimal","description":"Share of its peak holdings the wallet still holds, 0-100."},"sellCount":{"type":"integer","format":"int32","description":"Sell trades over the period.","minimum":0},"sellVolume":{"$ref":"#/components/schemas/UiMoney","description":"Received from selling this token over the period."},"supplyPct":{"$ref":"#/components/schemas/Decimal","description":"Share of total supply the wallet holds, 0-100."},"tokensBought":{"$ref":"#/components/schemas/Decimal","description":"Token units bought over the period, including any sold since."},"tokensSold":{"$ref":"#/components/schemas/Decimal","description":"Token units sold over the period."}}},"UiSpotPortfolio":{"type":"object","description":"Spot holdings per chain: gas and stablecoin balances plus open positions.","required":["valueUsd","balancesValueUsd","positionsValueUsd","chains"],"properties":{"balancesValueUsd":{"$ref":"#/components/schemas/Decimal","description":"Sum of every chain's priced native and stable balances."},"chains":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotPortfolioChain"},"description":"Per-chain cells. The whole portfolio has one per chain in scope, zeroed where it holds\nnothing. A wallet's share has only the cells it holds."},"positionsValueUsd":{"$ref":"#/components/schemas/Decimal","description":"Sum of every chain's priced open-position value."},"valueUsd":{"$ref":"#/components/schemas/Decimal","description":"`balancesValueUsd + positionsValueUsd`."}}},"UiSpotPortfolioChain":{"type":"object","description":"One chain's balance and open-position value.","required":["chain","nativeBalance","stableBalanceUsd","positionsValue","valueUsd"],"properties":{"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain this cell covers."},"nativeBalance":{"$ref":"#/components/schemas/UiMoney","description":"The chain's gas asset balance; zero when no balance row exists."},"positionsValue":{"$ref":"#/components/schemas/UiMoney","description":"Sum over open positions of `holdings × token price`."},"stableBalanceUsd":{"$ref":"#/components/schemas/Decimal","description":"Sum of the stablecoin balances other than the gas asset, priced 1:1."},"valueUsd":{"$ref":"#/components/schemas/Decimal","description":"`nativeBalance.usd + stableBalanceUsd + positionsValue.usd`, priced components only."}}},"UiSpotPosition":{"type":"object","description":"One wallet's spot position in one token, priced at the token's latest price.","required":["product","chain","walletAddress","token","status","isTransfer","isStablecoin","holdings","holdingsPctSupply","avgCost","invested","received","realizedPnl","fees","buyCount","sellCount","tokensBought","tokensSold","openedAt","updatedAt","version","lifetime","funding"],"properties":{"avgCost":{"$ref":"#/components/schemas/UiMoney","description":"Per-token average entry cost."},"avgEntryMarketCap":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Size-weighted market cap across the position's buys; `null` when none was recorded."}],"description":"Size-weighted market cap across the position's buys; `null` when none was recorded."},"avgExitMarketCap":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Size-weighted market cap across the position's sells; `null` when none was recorded."}],"description":"Size-weighted market cap across the position's sells; `null` when none was recorded."},"buyCount":{"type":"integer","format":"int64","description":"Buy-side trade count this cycle.","minimum":0},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the position is on."},"closedAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the current cycle closed; `null` while open."}],"description":"When the current cycle closed; `null` while open."},"fees":{"$ref":"#/components/schemas/UiMoney","description":"Fees paid this cycle."},"funding":{"$ref":"#/components/schemas/UiWalletFunding","description":"The wallet's first inbound funding. Every position of one wallet carries the same value."},"holdings":{"$ref":"#/components/schemas/Decimal","description":"Current token balance."},"holdingsPctSupply":{"$ref":"#/components/schemas/Decimal","description":"Current holdings as a percent of token supply."},"identities":{"type":"array","items":{"$ref":"#/components/schemas/UiWalletIdentity"},"description":"The holder's resolved identities, one element per source."},"invested":{"$ref":"#/components/schemas/UiMoney","description":"Spent acquiring the current cycle's holdings."},"isStablecoin":{"type":"boolean","description":"Whether the token is a known USD stablecoin; clients render its value but suppress PnL."},"isTransfer":{"type":"boolean","description":"Whether every unit came without a buy (airdrop, transfer-in)."},"lifetime":{"$ref":"#/components/schemas/UiPositionLifetime","description":"Aggregates across every open/close cycle for this `(chain, wallet, token)`."},"openedAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the current cycle opened."},"pnlPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"`totalPnl.usd` as a percent of `invested.usd`; `null` without a cost basis or `totalPnl`."}],"description":"`totalPnl.usd` as a percent of `invested.usd`; `null` without a cost basis or `totalPnl`."},"product":{"$ref":"#/components/schemas/Product","description":"Always `spot` today."},"realizedPnl":{"$ref":"#/components/schemas/UiMoney","description":"Realized PnL this cycle."},"received":{"$ref":"#/components/schemas/UiMoney","description":"Received from sells this cycle."},"sellCount":{"type":"integer","format":"int64","description":"Sell-side trade count this cycle.","minimum":0},"status":{"$ref":"#/components/schemas/Lifecycle","description":"This cycle's lifecycle."},"token":{"$ref":"#/components/schemas/UiPositionToken","description":"The held token."},"tokensBought":{"$ref":"#/components/schemas/Decimal","description":"Tokens bought this cycle."},"tokensSold":{"$ref":"#/components/schemas/Decimal","description":"Tokens sold this cycle."},"totalPnl":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Realized plus unrealized PnL; `null` when `unrealizedPnl` is."}],"description":"Realized plus unrealized PnL; `null` when `unrealizedPnl` is."},"unrealizedPnl":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Unrealized PnL on current holdings; `null` when unpriced."}],"description":"Unrealized PnL on current holdings; `null` when unpriced."},"updatedAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Block time of the position's last update. Updates in one second share it."},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiMoney","description":"Current value (`holdings × price`); `null` when unpriced."}],"description":"Current value (`holdings × price`); `null` when unpriced."},"version":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Reconciliation key. A client keeps the highest value per position and discards lower ones."},"walletAddress":{"type":"string","description":"The wallet holding this position, lowercase on EVM chains."}}},"UiSpotPositions":{"type":"object","description":"One page of the named wallets' positions.","required":["positions","hasMore","asOf","counts"],"properties":{"asOf":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Serve-time snapshot timestamp."},"counts":{"$ref":"#/components/schemas/UiPositionCounts","description":"Per-product counts, taken before the lifecycle, display, search and drill-down filters."},"hasMore":{"type":"boolean","description":"Whether a next page exists."},"nextCursor":{"type":["string","null"],"description":"Cursor for the next page; `null` on the last page."},"positions":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotPosition"},"description":"Positions on this page."}}},"UiSpotPulseDelta":{"type":"object","description":"One token's place on a ranked board.","required":["chain","address"],"properties":{"address":{"type":"string","description":"Token address."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the token trades on; with `address` it keys the row."},"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiSpotPulseToken","description":"Token state; absent on eviction."}],"description":"Token state; absent on eviction."},"rank":{"type":["integer","null"],"format":"int32","description":"1-indexed rank; `null` drops the token off the board.","minimum":0}}},"UiSpotPulseToken":{"type":"object","description":"A token's market state, without its decimals and supply. A discovery column serves it.","required":["chain","address","name","symbol","logo","creator","devFunding","createdAt","dexes","price","marketCap","liquidity","ath","stats","totals","holders","security","metadata","updatedAt"],"properties":{"address":{"type":"string","description":"Token address."},"anchorAddress":{"type":["string","null"],"description":"Address of the quote asset in the token's deepest pool; `null` where it is not known."},"anchorSymbol":{"type":["string","null"],"description":"Display symbol of that quote asset, on `anchorAddress`'s terms."},"annotations":{"type":"array","items":{"$ref":"#/components/schemas/TokenAnnotation"},"description":"Platform-scoped quirk flags the launch carried.","example":[{"kind":"mayhem_mode"}]},"ath":{"$ref":"#/components/schemas/UiTokenAth","description":"All-time-high price and market cap."},"bondingCurvePct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"Bonding-curve completion, 0-100; `null` off launchpad curves."}],"description":"Bonding-curve completion, 0-100; `null` off launchpad curves."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the token trades on."},"createdAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Creation timestamp."},"creator":{"type":"string","description":"Creator address."},"devFunding":{"$ref":"#/components/schemas/UiDevFunding","description":"The creator wallet's first inbound funding. Always present; its status says whether the\nlookup has settled."},"dexes":{"type":"array","items":{"type":"string"},"description":"Venues the token's top pools trade on, deepest first.","example":["pumpswap","raydium"]},"fees":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiTokenTradeFees","description":"What a trade costs here and where the tax goes; absent where no source states either."}],"description":"What a trade costs here and where the tax goes; absent where no source states either."},"graduatedAt":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the token graduated off its launchpad; `null` until graduation."}],"description":"When the token graduated off its launchpad; `null` until graduation."},"graduatedToDex":{"type":["string","null"],"description":"Venue the graduation pool trades on; `null` until graduation."},"graduatedToPool":{"type":["string","null"],"description":"Pool the launchpad pool migrated into; `null` until graduation."},"holders":{"$ref":"#/components/schemas/UiTokenHolders","description":"Holder-risk breakdown."},"launchpad":{"type":["string","null"],"description":"Launchpad the token launched through; `null` for non-launchpad tokens."},"liquidity":{"$ref":"#/components/schemas/UiMoney","description":"Current liquidity."},"logo":{"$ref":"#/components/schemas/UiTokenLogo","description":"Token artwork on the CDN."},"marketCap":{"$ref":"#/components/schemas/UiMoney","description":"Current market cap."},"metadata":{"$ref":"#/components/schemas/UiTokenMetadata","description":"Off-chain project metadata."},"name":{"type":"string","description":"Token name."},"platforms":{"type":"array","items":{"$ref":"#/components/schemas/UiPlatform"},"description":"The token's external-platform listings."},"pools":{"type":"array","items":{"$ref":"#/components/schemas/UiTokenPool"},"description":"The token's top pools by liquidity, deepest first."},"price":{"$ref":"#/components/schemas/UiMoney","description":"Current price."},"security":{"$ref":"#/components/schemas/UiTokenSecurity","description":"On-chain security flags."},"stats":{"$ref":"#/components/schemas/UiTokenStats","description":"Trailing-window stats, one key per rolling window."},"symbol":{"type":"string","description":"Token symbol."},"totals":{"$ref":"#/components/schemas/UiTokenTotals","description":"All-time volume and fee totals."},"updatedAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Last update timestamp."}}},"UiSpotPulseUpdate":{"type":"object","description":"One column's ranked tokens.","required":["column","deltas"],"properties":{"column":{"$ref":"#/components/schemas/PulseColumn","description":"Column these deltas apply to."},"deltas":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotPulseDelta"},"description":"The rows to apply in order: the whole column at first, then only the rows that changed."}}},"UiSpotSearchWallet":{"type":"object","description":"One wallet hit — the same identity a holders row carries.","required":["chain","address","identities"],"properties":{"address":{"type":"string","description":"Wallet address on `chain`."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the wallet lives on."},"identities":{"type":"array","items":{"$ref":"#/components/schemas/UiWalletIdentity"},"description":"Who the wallet is, one entry per source that named it; empty when no source did."}}},"UiSpotToken":{"allOf":[{"$ref":"#/components/schemas/UiSpotPulseToken","description":"The token's market state."},{"type":"object","required":["decimals","supply"],"properties":{"decimals":{"type":"integer","format":"int32","description":"Token decimals.","minimum":0},"supply":{"$ref":"#/components/schemas/Decimal","description":"Total supply."}}}],"description":"One token: its market state, decimals and supply. `GET /v1/tokens` answers an array of them."},"UiSpotTrade":{"type":"object","description":"One executed swap on the token.","required":["id","chain","token","name","symbol","trader","transactionHash","side","amount","price","volume","marketCap","timestamp"],"properties":{"amount":{"$ref":"#/components/schemas/Decimal","description":"Token units traded."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the trade executed on."},"flags":{"type":"array","items":{"type":"string","description":"A flag the classifier put on the wallet. This is an open enumeration: the classifier learns new flags, so keep a value you do not recognize.","examples":["bundler","sniper","insider","dev","fresh","whale","kol","liquidity_pool","locker","pro_trader","system","fomo","phishing","marketplace","proxima"]},"description":"Classifications the wallet carries."},"id":{"type":"string","description":"Stable identity for this trade, opaque to the caller. One transaction can settle several\ntrades on a token, so this is not a transaction hash — never parse it."},"identities":{"type":"array","items":{"$ref":"#/components/schemas/UiWalletIdentity"},"description":"Trader's resolved identities, one element per source."},"marketCap":{"$ref":"#/components/schemas/UiMoney","description":"Token market cap at execution."},"name":{"type":"string","description":"Traded token's name; empty until the token's metadata resolves."},"platforms":{"type":"array","items":{"$ref":"#/components/schemas/UiPlatform"},"description":"Terminals this trade routed through. A trader's profile is an element of\n`identities`."},"price":{"$ref":"#/components/schemas/UiMoney","description":"Token price at execution."},"side":{"$ref":"#/components/schemas/TradeDirection","description":"Buy or sell."},"symbol":{"type":"string","description":"Traded token's symbol; empty until the token's metadata resolves."},"timestamp":{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the trade executed."},"token":{"type":"string","description":"Traded token's address."},"trader":{"type":"string","description":"Wallet that sent the swap."},"transactionHash":{"type":"string","description":"On-chain transaction hash."},"volume":{"$ref":"#/components/schemas/UiMoney","description":"Trade value."}}},"UiSpotTrades":{"type":"object","description":"A page of trades, newest first.","required":["trades","hasMore"],"properties":{"hasMore":{"type":"boolean","description":"Whether a next page exists."},"nextCursor":{"type":["string","null"],"description":"Cursor for the next page; `null` on the last page."},"trades":{"type":"array","items":{"$ref":"#/components/schemas/UiSpotTrade"},"description":"Trades on the requested page, newest first."}}},"UiSpotTrendingDelta":{"type":"object","description":"One token's place on a trending board.","required":["chain","address"],"properties":{"address":{"type":"string","description":"Token address."},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the token trades on; with `address` it keys the row."},"data":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiSpotToken","description":"Token state; absent on eviction."}],"description":"Token state; absent on eviction."},"rank":{"type":["integer","null"],"format":"int32","description":"1-indexed rank; `null` drops the token off the board.","minimum":0}}},"UiStreamConnection":{"type":"object","description":"Where to open the stream socket directly, and the token that opens it.","required":["url","token","expiresAt"],"properties":{"expiresAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the token stops opening sockets."},"token":{"type":"string","description":"The token that opens sockets at `url`, as `Authorization: Bearer <token>`."},"url":{"type":"string","description":"The answering site's direct stream URL.","example":"wss://stream-<region>.metastreams.io:9443/v1/stream"}}},"UiTimeframeChainStats":{"type":"object","description":"One chain's PnL within a timeframe.","required":["chain","open","unrealized","realized"],"properties":{"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain this cell covers."},"open":{"type":"integer","format":"int64","description":"Open positions on this chain, priced or not.","minimum":0},"realized":{"$ref":"#/components/schemas/UiMoney","description":"Realized PnL across every cycle, from open and closed positions alike."},"unrealized":{"$ref":"#/components/schemas/UiMoney","description":"Unrealized PnL on what is still held."}}},"UiTimeframeStats":{"type":"object","description":"One timeframe's aggregate over the positions inside it.","required":["open","unrealizedUsd","realizedUsd","trades","buckets","chains"],"properties":{"buckets":{"$ref":"#/components/schemas/UiPnlBuckets","description":"Positions per realized-PnL tier."},"chains":{"type":"array","items":{"$ref":"#/components/schemas/UiTimeframeChainStats"},"description":"Per-chain PnL. The whole portfolio has one per chain in scope, zeroed where it has no\nposition. A wallet's share has only the chains it has a position on."},"open":{"type":"integer","format":"int64","description":"Open positions in this timeframe, priced or not.","minimum":0},"realizedUsd":{"$ref":"#/components/schemas/Decimal","description":"Sum of every chain's realized PnL in USD."},"trades":{"$ref":"#/components/schemas/UiTradeCounts","description":"Trade counts across every cycle."},"unrealizedUsd":{"$ref":"#/components/schemas/Decimal","description":"Sum of every chain's unrealized PnL in USD."}}},"UiTokenAth":{"type":"object","description":"All-time-high price and market cap, each with the timestamp it was set.","required":["price","priceAt","marketCap","marketCapAt"],"properties":{"marketCap":{"$ref":"#/components/schemas/UiMoney","description":"All-time-high market cap."},"marketCapAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the all-time-high market cap was set."},"price":{"$ref":"#/components/schemas/UiMoney","description":"All-time-high price."},"priceAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the all-time-high price was set."}}},"UiTokenFeeAllocation":{"type":"object","description":"Where a token's tax goes, and to whom.","required":["kind"],"properties":{"kind":{"$ref":"#/components/schemas/UiTokenFeeAllocationKind","description":"What the recipients are."},"recipients":{"type":"array","items":{"$ref":"#/components/schemas/UiTokenFeeRecipient"},"description":"Who is paid, and what share each takes."}}},"UiTokenFeeAllocationKind":{"type":"string","description":"What a venue does with the tax it takes.","enum":["holders_dividend","creator","custom_wallet","staking","lottery","buyback","protocol","none"]},"UiTokenFeeComponent":{"type":"object","description":"One layer of a total: who charges it, and what each side pays.","required":["kind"],"properties":{"asset":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiFeeAsset","description":"The asset the layer is charged in, where it is not the traded token."}],"description":"The asset the layer is charged in, where it is not the traded token."},"buyBps":{"type":["integer","null"],"format":"int32","description":"Taken from a buy, in basis points. A layer that varies states its floor here.","example":0,"minimum":0},"buyBpsMax":{"type":["integer","null"],"format":"int32","description":"The most a varying buy layer takes. A fixed layer leaves this unset.","example":1000,"minimum":0},"kind":{"$ref":"#/components/schemas/UiTokenFeeKind","description":"Which layer this is."},"sellBps":{"type":["integer","null"],"format":"int32","description":"Taken from a sell, in basis points. A layer that varies states its floor here.","example":100,"minimum":0},"sellBpsMax":{"type":["integer","null"],"format":"int32","description":"The most a varying sell layer takes. A fixed layer leaves this unset.","example":1000,"minimum":0}}},"UiTokenFeeKind":{"type":"string","description":"The layers a venue can charge.","enum":["protocol_fee","creator_tax","quote_token_fee","pool_fee","dex_protocol_fee","hook_fee","snipe_tax","transfer_fee","creator_fee","holder_fee"]},"UiTokenFeeRecipient":{"type":"object","description":"One party a token's tax is paid to.","properties":{"address":{"type":["string","null"],"description":"The address paid. Absent where the venue names a payout without naming who holds it."},"payoutAsset":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiFeeAsset","description":"The asset this recipient is paid in."}],"description":"The asset this recipient is paid in."},"shareBps":{"type":["integer","null"],"format":"int32","description":"This recipient's share of the tax, in basis points; `10000` is all of it.","example":10000,"minimum":0}}},"UiTokenFeeRewards":{"type":"object","description":"What a wallet holds to qualify for a payout.","required":["minHolding"],"properties":{"minHolding":{"$ref":"#/components/schemas/Decimal","description":"The qualifying balance, in whole tokens of the taxed token."},"minHoldingUsd":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"That balance at the token's current price. `null` until the token prices."}],"description":"That balance at the token's current price. `null` until the token prices."}}},"UiTokenFees":{"type":"object","description":"All-time fee totals by kind.","required":["transaction","validator","platform"],"properties":{"dex":{"$ref":"#/components/schemas/UiMoney","description":"Venue fees: what traders paid the pools and launchpads."},"platform":{"$ref":"#/components/schemas/UiMoney","description":"Platform fees."},"transaction":{"$ref":"#/components/schemas/UiMoney","description":"Transaction fees. On some older Solana trades, this also holds the venue fee."},"validator":{"$ref":"#/components/schemas/UiMoney","description":"Validator fees."}}},"UiTokenHolders":{"type":"object","description":"Holder-risk breakdown. Every `*Pct` field is a percent.","required":["count","top10Pct","devPct","sniperPct","sniperCount","bundlerPct","bundlerCount","insiderPct","insiderCount","phishingPct","phishingCount","freshWalletPct","freshWalletCount","fomoPct","fomoCount","proTraderPct","proTraderCount","fundedByCexPct"],"properties":{"bundlerCount":{"type":"integer","format":"int64","description":"Bundler wallet count.","minimum":0},"bundlerPct":{"$ref":"#/components/schemas/Decimal","description":"Bundler wallets' share of supply."},"count":{"type":"integer","format":"int64","description":"Current holder count.","minimum":0},"devPct":{"$ref":"#/components/schemas/Decimal","description":"Dev wallet's share of supply."},"fomoCount":{"type":"integer","format":"int64","description":"fomo.family wallet count.","minimum":0},"fomoPct":{"$ref":"#/components/schemas/Decimal","description":"fomo.family wallets' share of supply."},"freshWalletCount":{"type":"integer","format":"int64","description":"Fresh wallet count.","minimum":0},"freshWalletPct":{"$ref":"#/components/schemas/Decimal","description":"Fresh-wallet share of supply."},"fundedByCexPct":{"$ref":"#/components/schemas/Decimal","description":"Share of current holders a known exchange funded, 0-100. Counted against every holder,\nso a token with funding lookups still in flight reads low rather than absent."},"insiderCount":{"type":"integer","format":"int64","description":"Insider wallet count.","minimum":0},"insiderPct":{"$ref":"#/components/schemas/Decimal","description":"Insider wallets' share of supply."},"phishingCount":{"type":"integer","format":"int64","description":"Wallets that ever traded this token while carrying a malicious-actor label. The count\nnever falls, unlike `phishingPct`.","minimum":0},"phishingPct":{"$ref":"#/components/schemas/Decimal","description":"Phishing wallets' share of supply."},"proTraderCount":{"type":"integer","format":"int64","description":"Pro-trader wallet count.","minimum":0},"proTraderPct":{"$ref":"#/components/schemas/Decimal","description":"Pro-trader wallets' share of supply."},"sniperCount":{"type":"integer","format":"int64","description":"Sniper wallet count.","minimum":0},"sniperPct":{"$ref":"#/components/schemas/Decimal","description":"Sniper wallets' share of supply."},"top10Pct":{"$ref":"#/components/schemas/Decimal","description":"Share of supply held by the top 10 current holders."}}},"UiTokenLogo":{"type":"object","description":"A token's artwork on the CDN, one URL per size. Each answers 404 while the CDN holds no\nartwork for the token.","required":["small","medium","large"],"properties":{"large":{"type":"string","description":"The artwork at full size.","examples":["https://cdn.example.com/So11111111111111111111111111111111111111112.webp"]},"medium":{"type":"string","description":"60×60 pixels, for list rows.","examples":["https://cdn.example.com/So11111111111111111111111111111111111111112_60x60.webp"]},"small":{"type":"string","description":"16×16 pixels, for inline icons.","examples":["https://cdn.example.com/So11111111111111111111111111111111111111112_16x16.webp"]}}},"UiTokenMetadata":{"type":"object","description":"Off-chain project metadata; every field nullable.","required":["twitterReuseCount"],"properties":{"description":{"type":["string","null"],"description":"Project description."},"discord":{"type":["string","null"],"description":"Project Discord invite URL."},"telegram":{"type":["string","null"],"description":"Project Telegram handle or URL."},"twitter":{"type":["string","null"],"description":"Project Twitter/X handle or URL."},"twitterReuseCount":{"type":"integer","format":"int64","description":"How many other tokens have claimed the same Twitter/X account; above zero, the handle\nis recycled. Not yet counted, so always `0`.","minimum":0},"website":{"type":["string","null"],"description":"Project website."}}},"UiTokenPool":{"type":"object","description":"One of a token's top pools.","required":["pool","dex","liquidity"],"properties":{"dex":{"type":"string","description":"Venue the pool trades on."},"liquidity":{"$ref":"#/components/schemas/UiMoney","description":"Pool liquidity."},"pool":{"type":"string","description":"Pool address; the `pool` parameter of the candles endpoint."},"quote":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiPoolQuote","description":"The asset the pool quotes the token in; `null` until a swap names it."}],"description":"The asset the pool quotes the token in; `null` until a swap names it."}}},"UiTokenSecurity":{"type":"object","description":"Contract-security flags. Solana reads them on-chain; a contract scan reads them on the EVM\nchains.","required":["mintDisabled","transferBlockable","rugPct"],"properties":{"buyTaxBps":{"type":["integer","null"],"format":"int32","description":"The token contract's own cut of a buy, in basis points; one layer of `totalBuyBps`.\n`null` when the launchpad states no rate.","example":100,"minimum":0},"dividendMinHolding":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"Balance of this token a wallet holds to qualify for a payout, in whole tokens."}],"description":"Balance of this token a wallet holds to qualify for a payout, in whole tokens."},"dividendToken":{"type":["string","null"],"description":"Address of the asset the token pays its tax back to holders in.\n`null` where no holder payout is known; it does not prove the token pays none."},"lpBurntPct":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"LP permanently unavailable (burnt + locked), 0-100."}],"description":"LP permanently unavailable (burnt + locked), 0-100."},"mintDisabled":{"type":"boolean","description":"Mint authority revoked."},"rugPct":{"$ref":"#/components/schemas/Decimal","description":"Share of supply held by wallets scored as rug risks, 0-100."},"sellTaxBps":{"type":["integer","null"],"format":"int32","description":"The token contract's own cut of a sell, in basis points; see `buyTaxBps`.","example":200,"minimum":0},"totalBuyBps":{"type":["integer","null"],"format":"int32","description":"What a buy costs in total, in basis points — every fee layer the token's venue charges,\nsummed. `null` when no source states a rate.","example":100,"minimum":0},"totalSellBps":{"type":["integer","null"],"format":"int32","description":"What a sell costs in total, in basis points; see `totalBuyBps`.","example":200,"minimum":0},"transferBlockable":{"type":"boolean","description":"Freeze authority present."},"transferFeeBps":{"type":["integer","null"],"format":"int32","description":"Transfer fee the token's own contract charges, in basis points — `250` is 2.50%.\n`null` when no source has scored the contract.","example":250,"minimum":0}}},"UiTokenStats":{"type":"object","description":"Trade stats over a trailing window that ends now, not a calendar bucket.","required":["5m","30m","1h","6h","24h"],"properties":{"1h":{"$ref":"#/components/schemas/UiTokenWindowStats","description":"Trailing 1 hour."},"24h":{"$ref":"#/components/schemas/UiTokenWindowStats","description":"Trailing 24 hours."},"30m":{"$ref":"#/components/schemas/UiTokenWindowStats","description":"Trailing 30 minutes."},"5m":{"$ref":"#/components/schemas/UiTokenWindowStats","description":"Trailing 5 minutes."},"6h":{"$ref":"#/components/schemas/UiTokenWindowStats","description":"Trailing 6 hours."}}},"UiTokenTotals":{"type":"object","description":"All-time trade volume and fee totals.","required":["volume","fees"],"properties":{"fees":{"$ref":"#/components/schemas/UiTokenFees","description":"All-time fee totals by kind."},"volume":{"$ref":"#/components/schemas/UiMoney","description":"All-time trade volume."}}},"UiTokenTradeFees":{"type":"object","description":"What a trade at this token's venue costs, and where its tax goes.","properties":{"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiTokenFeeAllocation","description":"Where the tax goes. Absent where the venue states nothing."}],"description":"Where the tax goes. Absent where the venue states nothing."},"breakdown":{"type":"array","items":{"$ref":"#/components/schemas/UiTokenFeeComponent"},"description":"The layers the totals are made of. A layer nobody states is absent, never zero."},"rewards":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiTokenFeeRewards","description":"What a wallet holds to qualify for a payout. Absent at a venue gating on nothing."}],"description":"What a wallet holds to qualify for a payout. Absent at a venue gating on nothing."},"totalBuyBps":{"type":["integer","null"],"format":"int32","description":"What a buy costs in total, in basis points — every layer below, summed.","example":25,"minimum":0},"totalSellBps":{"type":["integer","null"],"format":"int32","description":"What a sell costs in total, in basis points; see `totalBuyBps`.","example":125,"minimum":0}}},"UiTokenWindowStats":{"type":"object","description":"Trade activity over one trailing window.","required":["priceChangePct","volume","buyCount","sellCount","buyVolume","sellVolume"],"properties":{"buyCount":{"type":"integer","format":"int64","description":"Buy-side trade count.","minimum":0},"buyVolume":{"$ref":"#/components/schemas/UiMoney","description":"Buy-side volume."},"priceChangePct":{"$ref":"#/components/schemas/Decimal","description":"Price change over the window, percent."},"sellCount":{"type":"integer","format":"int64","description":"Sell-side trade count.","minimum":0},"sellVolume":{"$ref":"#/components/schemas/UiMoney","description":"Sell-side volume."},"volume":{"$ref":"#/components/schemas/UiMoney","description":"Trade volume over the window."}}},"UiTradeCounts":{"type":"object","description":"Trade counts within a timeframe, over every cycle each position has had.","required":["total","buys","sells"],"properties":{"buys":{"type":"integer","format":"int64","description":"Buy-side trades.","minimum":0},"sells":{"type":"integer","format":"int64","description":"Sell-side trades.","minimum":0},"total":{"type":"integer","format":"int64","description":"`buys + sells`.","minimum":0}}},"UiWalletAddresses":{"type":"object","description":"A wallet's per-family addresses. A named wallet has one family, so the other is absent.","properties":{"evm":{"type":["string","null"],"description":"EVM `0x` address, lowercase."},"solana":{"type":["string","null"],"description":"Solana base58 address."}}},"UiWalletBalance":{"type":"object","description":"One wallet's balance of one asset, as of the transaction that last moved it.","required":["chain","wallet","asset","balance","trigger","blockNumber","signature","txIndex","updatedAt"],"properties":{"asset":{"type":"string","description":"The asset the balance is in. This is an open enumeration: keep a value you do not recognize.","examples":["SOL","ETH","BNB","POL","USDC","TRX","USDT","USDG","PUSD","HYPE"]},"balance":{"$ref":"#/components/schemas/Decimal","description":"Post-transaction balance, human units."},"blockNumber":{"type":"integer","format":"int64","description":"Block or Solana slot where the balance was observed.","minimum":0},"chain":{"$ref":"#/components/schemas/SpotChain","description":"Chain the balance lives on."},"signature":{"type":"string","description":"Transaction that moved it."},"trigger":{"type":"string","description":"What moved the balance. This is an open enumeration: keep a value you do not recognize.","examples":["trade","deposit","withdrawal","failed_tx","account_close"]},"txIndex":{"type":"integer","format":"int64","description":"Transaction index within the observed block or slot.","minimum":0},"updatedAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Block time of the transaction that moved it."},"wallet":{"type":"string","description":"Wallet holding it."}}},"UiWalletBalances":{"type":"array","items":{"$ref":"#/components/schemas/UiWalletBalance"},"description":"The latest balance of each wallet and asset a read named, ordered by chain, wallet, then\nasset. The wire form is a bare array."},"UiWalletDescriptor":{"type":"object","description":"One named wallet and its share of the portfolio.","required":["addresses","spot"],"properties":{"addresses":{"$ref":"#/components/schemas/UiWalletAddresses","description":"The wallet's address, under its family."},"spot":{"$ref":"#/components/schemas/UiSpotPortfolio","description":"This wallet's spot holdings."},"stats":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UiPortfolioStats","description":"This wallet's timeframe performance; present only under `include=stats`."}],"description":"This wallet's timeframe performance; present only under `include=stats`."}}},"UiWalletFunding":{"type":"object","description":"A wallet's first inbound funding.","required":["status"],"properties":{"address":{"type":["string","null"],"description":"Funder wallet or exchange address."},"amount":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Decimal","description":"Amount received, denominated in `asset`."}],"description":"Amount received, denominated in `asset`."},"asset":{"type":["string","null"],"description":"Asset the funding moved; `null` for the chain's native asset."},"sourceKind":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FundingSourceKind","description":"What the funder is (exchange, bridge, wallet, …)."}],"description":"What the funder is (exchange, bridge, wallet, …)."},"sourceLabel":{"type":["string","null"],"description":"Display label for the funder, e.g. an exchange name."},"status":{"$ref":"#/components/schemas/FundingStatus","description":"Whether the lookup has settled."},"symbol":{"type":["string","null"],"description":"Display ticker of `asset`."},"timestamp":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UnixMilliseconds","description":"When the funding transfer occurred."}],"description":"When the funding transfer occurred."},"tx":{"type":["string","null"],"description":"The funding transaction's signature or hash."}}},"UiWalletIdentity":{"type":"object","description":"One source's resolved profile for a trade's trader.","required":["source"],"properties":{"avatar":{"type":["string","null"],"description":"CDN URL of the avatar to render; `null` until the picture is mirrored."},"displayName":{"type":["string","null"],"description":"Human-readable name to render."},"farcaster":{"type":["string","null"],"description":"The wallet's Farcaster handle, where the source links one."},"handle":{"type":["string","null"],"description":"The wallet's handle on the source."},"source":{"type":"string","description":"Who resolved a trader's identity. This is an open enumeration: keep a value you do not recognize.","examples":["codex","fomo","pump","gmgn","axiom","arkham","registry","unknown"]},"telegram":{"type":["string","null"],"description":"The wallet's Telegram handle, where the source links one."},"twitter":{"type":["string","null"],"description":"The wallet's bare X handle, where the source links one."}}},"UnixMilliseconds":{"type":"integer","format":"int64","description":"An instant, as milliseconds since the Unix epoch."},"WalletFilter":{"type":"string","description":"A wallet classification a trade or holder filter selects on.","enum":["dev","sniper","insider","bundler","fresh","whale","kol","pro_trader","fomo","phishing"]},"WindowStatsFilter":{"type":"object","description":"Activity filters per rolling window.","properties":{"1h":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/StatsFilter","description":"The last hour."}],"description":"The last hour."},"24h":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/StatsFilter","description":"The last 24 hours."}],"description":"The last 24 hours."},"30m":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/StatsFilter","description":"The last 30 minutes."}],"description":"The last 30 minutes."},"5m":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/StatsFilter","description":"The last 5 minutes."}],"description":"The last 5 minutes."},"6h":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/StatsFilter","description":"The last 6 hours."}],"description":"The last 6 hours."}},"additionalProperties":false}},"securitySchemes":{"bearerKey":{"type":"http","scheme":"bearer","description":"Send an API key, or a session token a key minted, as `Authorization: Bearer <credential>`. A browser opening `/v1/stream` offers its session token in `Sec-WebSocket-Protocol` instead."}}},"security":[{"bearerKey":[]}]}