openapi: 3.1.0
info:
  title: Chainmetric API
  version: 2.0.0
  summary: Token, wallet and launch data on EVM chains and Solana.
  description: |
    The Chainmetric API answers questions about tokens, wallets and new launches on Ethereum, BNB Chain, Base and Solana.
    Every native data route takes the chain id and an address in the path.
    Every answer is JSON in one envelope: `kind`, `chain_id`, `address`, `lane`, `commitment`, `seq`, `updated_us` and `data`.
    Live updates use server-sent events on `/v2/stream/...` routes, in the same envelope.
    Send the key bare in the `Authorization` header: `Authorization: <key>`.
    A `Bearer <key>` header is refused with `403`.
  contact:
    name: Chainmetric
    url: https://chainmetric.com
servers:
  - url: https://api.chainmetric.io
security:
  - apiKey: []
tags:
  - name: Tokens
  - name: Wallets
  - name: Launches
  - name: Streams
  - name: Utility
paths:
  /v2/token/{chain_id}/{address}/stats:
    get:
      operationId: get-token-stats
      summary: Token stats
      tags:
        - Tokens
      description: |
        Returns one token's current price, market cap, supply, volume, trade counts, price change and holder make-up in one document.
        Use it to answer "what is this token worth right now and how active is it".
        Windowed fields exist for 1m, 5m, 15m, 1h, 4h, 6h, 12h and 24h, for example `price_change_1h_pct`, `trades_24h` and `buys_5m`.
        A value that cannot be computed exactly is `null`, never `0`.
        There is no stream of this document; poll it. For live trades, use `GET /v2/stream/token/{chain_id}/{address}/replay`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
      responses:
        '200':
          description: The token's stats document.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/TokenStats'
              examples:
                weth:
                  $ref: '#/components/examples/token-stats-eth-weth'
                  summary: WETH on Ethereum
                solana:
                  $ref: '#/components/examples/token-stats-sol'
                  summary: A Solana token
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/token/{chain_id}/{address}/trades:
    get:
      operationId: get-token-trades
      summary: Token trades
      tags:
        - Tokens
      description: |
        Returns the latest swaps in one token, newest first by default, optionally in one pool.
        Use it to answer "who bought or sold this token recently, at what price".
        Each trade carries the wallet (`maker`), pool, exchange, side, amounts, USD value, block and transaction id.
        Page forward in time with `sortOrder=asc` and `cursor`.
        EVM chains; Solana support in progress.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - $ref: '#/components/parameters/SortOrder'
        - name: type
          in: query
          description: 'Comma-separated row types to keep: `buy`, `sell`, `deposit`, `withdrawal`. Default all.'
          schema:
            type: string
          example: buy,sell
        - $ref: '#/components/parameters/Pool'
        - $ref: '#/components/parameters/Cursor'
        - name: limit
          in: query
          description: Rows per page. Larger values are clamped to 200.
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 100
          example: 50
      responses:
        '200':
          description: A page of trades.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          trades:
                            type: array
                            items:
                              $ref: '#/components/schemas/Trade'
                          next_cursor:
                            $ref: '#/components/schemas/NextCursor'
              examples:
                weth:
                  $ref: '#/components/examples/token-trades-eth'
                  summary: WETH on Ethereum, limit 3
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/token/{chain_id}/{address}/ohlcv:
    get:
      operationId: get-token-ohlcv
      summary: Token price candles (OHLCV)
      tags:
        - Tokens
      description: |
        Returns price candles for one token at one interval, oldest first.
        Use it to draw a price chart or to read the price at a past time.
        Without `pool`, the series follows the token's main pool.
        A candle exists only for a bucket that had at least one trade; empty buckets are not filled.
        To page back in time, send an earlier `to`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - name: interval
          in: query
          description: Candle width.
          schema:
            type: string
            enum:
              - 1s
              - 5s
              - 15s
              - 30s
              - 1m
              - 5m
              - 15m
              - 30m
              - 1h
              - 4h
              - 6h
              - 12h
              - 1d
              - 1w
            default: 5m
          example: 1h
        - $ref: '#/components/parameters/Pool'
        - name: from
          in: query
          description: Earliest bucket start, Unix microseconds.
          schema:
            type: integer
            format: int64
          example: 1795887600000000
        - name: to
          in: query
          description: Latest bucket start, Unix microseconds, inclusive.
          schema:
            type: integer
            format: int64
          example: 1796037600000000
        - name: limit
          in: query
          description: Candles per answer.
          schema:
            type: integer
            minimum: 1
            maximum: 5000
            default: 500
          example: 500
      responses:
        '200':
          description: The candles.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          interval:
                            type: string
                          candles:
                            type: array
                            items:
                              $ref: '#/components/schemas/Candle'
              examples:
                weth:
                  $ref: '#/components/examples/token-ohlcv-eth'
                  summary: WETH on Ethereum, 5m
                solana:
                  $ref: '#/components/examples/token-ohlcv-sol'
                  summary: A Solana token, 5m
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/token/{chain_id}/{address}/liquidity:
    get:
      operationId: get-token-liquidity
      summary: Token liquidity changes
      tags:
        - Tokens
      description: |
        Returns liquidity adds and removes in the token's pools, newest first by default.
        Use it to answer "who added or pulled liquidity for this token, and how much".
        Each row carries the provider, pool, both token amounts and their USD value.
        EVM chains; Solana support in progress.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - $ref: '#/components/parameters/SortOrder'
        - name: type
          in: query
          description: Comma-separated kinds to keep. Default all.
          schema:
            type: string
          example: deposit,withdrawal
        - $ref: '#/components/parameters/Pool'
        - $ref: '#/components/parameters/Cursor'
        - name: limit
          in: query
          description: Rows per page.
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 100
          example: 50
      responses:
        '200':
          description: A page of liquidity changes.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          liquidity:
                            type: array
                            items:
                              $ref: '#/components/schemas/LiquidityChange'
                          next_cursor:
                            $ref: '#/components/schemas/NextCursor'
              examples:
                weth:
                  $ref: '#/components/examples/token-liquidity-eth'
                  summary: WETH on Ethereum
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
        '504':
          $ref: '#/components/responses/Timeout'
  /v2/token/{chain_id}/{address}/positions:
    get:
      operationId: get-token-positions
      summary: Token holders
      tags:
        - Tokens
      description: |
        Returns the wallets that hold one token, ranked by balance, largest first.
        Use it to answer "who are the top holders of this token and what share do they hold".
        Each row carries the wallet, rank, raw balance and percentage of supply.
        `total_count` is the number of holders.
        EVM chains; Solana support in progress.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - name: sort
          in: query
          description: Ranking. Only `balance` is served today; `realized_pnl` and `last_position_pnl` answer `501`.
          schema:
            type: string
            enum:
              - balance
              - realized_pnl
              - last_position_pnl
            default: balance
          example: balance
        - name: limit
          in: query
          description: Rows per page. Larger values are clamped to 250.
          schema:
            type: integer
            minimum: 1
            maximum: 250
            default: 100
          example: 10
        - name: offset
          in: query
          description: Rows to skip.
          schema:
            type: integer
            minimum: 0
            default: 0
          example: 0
      responses:
        '200':
          description: A page of holders.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/TokenPositions'
              examples:
                weth:
                  $ref: '#/components/examples/token-positions-eth'
                  summary: WETH on Ethereum, limit 3
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '501':
          description: The requested ranking is not served yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/wallet/{chain_id}/{address}/funding:
    get:
      operationId: get-wallet-funding
      summary: Wallet funding
      tags:
        - Wallets
      description: |
        Returns who sent funds to a wallet and whom it sent funds to, and can walk back through the funders.
        Use it to answer "who funded this wallet" or "which wallets share a funding source".
        With `hops=1` the answer is pages of transfers in and out, newest first.
        With `hops` of 2 or more, or `root`, the answer is a graph of `nodes` and `edges` walked backwards.
        A walk stops at 10 hops or 500 addresses and then sets `truncated`.
        Only final blocks are included, so a transfer appears once its block is final.
        `uncovered` lists block ranges not yet indexed; an empty result inside them does not mean there were no transfers.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/WalletAddress'
        - name: direction
          in: query
          description: Which transfers to return. A walk (`hops` above 1) only goes backwards, so `out` needs `hops=1`.
          schema:
            type: string
            enum:
              - in
              - out
              - both
            default: both
          example: in
        - name: tokens
          in: query
          description: '`quote` covers the native currency and the chain''s quote tokens. `all` covers every token.'
          schema:
            type: string
            enum:
              - quote
              - all
            default: quote
          example: quote
        - name: hops
          in: query
          description: '`1` for direct transfers, a number from 2 to 10, or `root` to walk back to the original funders.'
          schema:
            type: string
            default: '1'
          example: root
        - name: limit
          in: query
          description: Transfers per direction per page, with `hops=1` only. Larger values are clamped to 1000.
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 100
          example: 100
        - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: The wallet's funding.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/WalletFunding'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/wallet/{chain_id}/{wallet}/position/{token}:
    get:
      operationId: get-wallet-position
      summary: Wallet position in a token
      tags:
        - Wallets
      description: |
        Returns one wallet's position in one token: balance, its USD value, share of supply, buy and sell counts and volumes, and labels.
        Use it to answer "how much of this token does this wallet hold, and how has it traded it".
        A value that cannot be computed is `null`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - name: wallet
          in: path
          required: true
          description: The wallet. EVM is 40 lowercase hex characters without `0x`; Solana is base58.
          schema:
            type: string
          example: 4d5f47fa6a74757f35c14fd3a6ef8e3c9bc514e8
        - name: token
          in: path
          required: true
          description: The token. Same format as `wallet`.
          schema:
            type: string
          example: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
      responses:
        '200':
          description: The position.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/WalletPosition'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
        '504':
          $ref: '#/components/responses/Timeout'
  /v2/pilot/trenches/{chain_id}:
    get:
      operationId: get-trenches
      summary: New launches (trenches)
      tags:
        - Launches
      description: |
        Returns cards for tokens launching on a chain right now, one view at a time.
        Use it to answer "what launched in the last minutes", "which bonding curves are about to graduate" or "what just graduated".
        `launches` lists new token deploys, `curves` lists bonding curves with their fill in `progress`, `graduated` lists tokens that left their curve, and `pairs` lists new pools.
        Each card carries the token, pool, exchange, launchpad, creator, holder make-up and market figures.
        For a live feed of the same cards, use `GET /v2/stream/pilot/trenches/{chain_id}`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - name: view
          in: query
          required: true
          description: Which list to return.
          schema:
            type: string
            enum:
              - launches
              - curves
              - graduated
              - pairs
          example: launches
        - name: limit
          in: query
          description: Cards to return. Larger values are clamped to 100.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
          example: 20
      responses:
        '200':
          description: The view's cards.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          cards:
                            type: array
                            items:
                              $ref: '#/components/schemas/TrenchCard'
              examples:
                ethereum-launches:
                  $ref: '#/components/examples/trenches-eth-launches'
                  summary: Ethereum, view=launches, limit 3
                solana-curves:
                  $ref: '#/components/examples/trenches-sol-curves'
                  summary: Solana, view=curves, limit 3
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/stream/token/{chain_id}/{address}:
    get:
      operationId: stream-token-live
      summary: Stream live token trades
      tags:
        - Streams
      description: |
        Opens a server-sent event stream of one token's trades as they happen, with no history and no resume.
        Use `GET /v2/stream/token/{chain_id}/{address}/replay` instead when you need to resume after a disconnect or start from a past block.
        The first event is `attached`; every later `frame` event is a `token_trades` envelope.
        This route may be closed at the public edge; `/replay` carries the same trades.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
      responses:
        '200':
          $ref: '#/components/responses/EventStream'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/stream/token/{chain_id}/{address}/ohlcv:
    get:
      operationId: stream-token-ohlcv
      summary: Stream token candles
      tags:
        - Streams
      description: |
        Opens a server-sent event stream of one token's candles at one interval.
        Use it to keep a live chart without polling `GET /v2/token/{chain_id}/{address}/ohlcv`.
        The first event is `attached`; every later `frame` event is an envelope holding one candle in `data.candles`.
        The current candle is sent again each time it changes, until its bucket closes.
        This stream has no resume: after a reconnect, read the missed candles from `GET /v2/token/{chain_id}/{address}/ohlcv`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - name: interval
          in: query
          description: Candle width.
          schema:
            type: string
            enum:
              - 1s
              - 5s
              - 15s
              - 30s
              - 1m
              - 5m
              - 15m
              - 30m
              - 1h
              - 4h
              - 6h
              - 12h
              - 1d
              - 1w
            default: 5m
          example: 1m
        - $ref: '#/components/parameters/Pool'
      responses:
        '200':
          $ref: '#/components/responses/EventStream'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/stream/token/{chain_id}/{address}/replay:
    get:
      operationId: stream-token-trades
      summary: Stream token trades
      tags:
        - Streams
      description: |
        Opens a server-sent event stream of one token's trades.
        Use it to follow every swap in a token as it happens.
        Each event is one trade in the shape of `GET /v2/token/{chain_id}/{address}/trades`.
        A trade withdrawn by a chain reorganisation arrives again with `revoked: true`.
        The first event is `attached`; every later `frame` event is an envelope holding one trade.
        Start from history with `from_block` or `from_seq`; without either the stream is live only.
        Reconnect with `Last-Event-ID` to receive the trades you missed; it wins over `from_block` and `from_seq`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - $ref: '#/components/parameters/LastEventId'
        - $ref: '#/components/parameters/FromBlock'
        - $ref: '#/components/parameters/FromSeq'
      responses:
        '200':
          $ref: '#/components/responses/EventStream'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '410':
          $ref: '#/components/responses/Gone'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/stream/token/{chain_id}/{address}/liquidity/replay:
    get:
      operationId: stream-token-liquidity
      summary: Stream token liquidity changes
      tags:
        - Streams
      description: |
        Opens a server-sent event stream of liquidity adds and removes in one token's pools.
        Each event is one change in the shape of `GET /v2/token/{chain_id}/{address}/liquidity`.
        A change withdrawn by a chain reorganisation arrives again with `revoked: true` and null amounts.
        Events, start parameters and resume work as on the trades replay stream.
        Reconnect with `Last-Event-ID` to receive the changes you missed.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - $ref: '#/components/parameters/TokenAddress'
        - $ref: '#/components/parameters/LastEventId'
        - $ref: '#/components/parameters/FromBlock'
        - $ref: '#/components/parameters/FromSeq'
      responses:
        '200':
          $ref: '#/components/responses/EventStream'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '410':
          $ref: '#/components/responses/Gone'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/stream/pilot/trenches/{chain_id}:
    get:
      operationId: stream-trenches
      summary: Stream new launches
      tags:
        - Streams
      description: |
        Opens a server-sent event stream of launch cards for one chain, across all views.
        Use it for a live launch feed instead of polling `GET /v2/pilot/trenches/{chain_id}`.
        The first event is `snapshot`: `{views: {new, curves, graduated, pairs}}`, each a list of cards.
        The stream calls the launches view `new`, where the REST route calls it `launches`.
        Later events are `card` (a new card, `{views, card}`), `update` (a changed card, `{views, card}`) and `remove` (`{views, pool}`).
        Reconnect with `Last-Event-ID` to resume after the last event you received; an expired id gets a fresh `snapshot`.
      parameters:
        - $ref: '#/components/parameters/ChainId'
        - name: limit
          in: query
          description: Cards per view. Larger values are clamped to 100.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
          example: 50
        - $ref: '#/components/parameters/LastEventId'
      responses:
        '200':
          $ref: '#/components/responses/EventStream'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v2/logo/{hash}/{version}/{file}:
    get:
      operationId: get-logo
      summary: Token logo image
      tags:
        - Utility
      description: |
        Returns a token logo as a WebP image.
        Use the URL found in the `logo` field of other answers; do not build it yourself.
        No key is needed.
        The answer is cached as immutable for one year.
      security: []
      parameters:
        - name: hash
          in: path
          required: true
          description: 64 hex characters.
          schema:
            type: string
            pattern: ^[0-9a-fA-F]{64}$
          example: fa61792e6c9284787a342ad3196fa5b11970f1ed663bfeaf736c94003c26b2cd
        - name: version
          in: path
          required: true
          description: '`v` followed by 1 to 3 digits.'
          schema:
            type: string
            pattern: ^v[0-9]{1,3}$
          example: v1
        - name: file
          in: path
          required: true
          description: The image edge in pixels followed by `.webp`.
          schema:
            type: string
            pattern: ^[0-9]{1,4}\.webp$
          example: 256.webp
      responses:
        '200':
          description: The image.
          content:
            image/webp:
              schema:
                type: string
                contentMediaType: image/webp
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        '502':
          description: The image store failed. Retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /healthz:
    get:
      operationId: get-health
      summary: Health check
      tags:
        - Utility
      description: |
        Returns `{"status":"ok"}` when the API is up.
        No key is needed.
        Use it to check reachability before other calls.
      security: []
      responses:
        '200':
          description: The API is up.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: ok
              examples:
                ok:
                  $ref: '#/components/examples/healthz'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: 'The bare key: `Authorization: <key>`. `Bearer <key>` is refused with `403` at the edge.'
  parameters:
    ChainId:
      name: chain_id
      in: path
      required: true
      description: 'Chain id: `1` Ethereum, `56` BNB Chain, `8453` Base, `1399811149` Solana.'
      schema:
        type: integer
        enum:
          - 1
          - 56
          - 8453
          - 1399811149
      example: 1
    TokenAddress:
      name: address
      in: path
      required: true
      description: Token address. EVM is 40 lowercase hex characters without `0x`; Solana is base58.
      schema:
        type: string
      example: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
    WalletAddress:
      name: address
      in: path
      required: true
      description: Wallet address. EVM is 40 lowercase hex characters without `0x`; Solana is base58.
      schema:
        type: string
      example: 94e13996035c0935f30d930dad4edbcacb8bab45
    Pool:
      name: pool
      in: query
      description: Only this pool's rows. A pool that is not the token's gives an empty answer.
      schema:
        type: string
      example: 88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
    SortOrder:
      name: sortOrder
      in: query
      description: '`desc` is newest first. `asc` is oldest first and pages with `cursor`.'
      schema:
        type: string
        enum:
          - desc
          - asc
        default: desc
      example: desc
    Cursor:
      name: cursor
      in: query
      description: The `next_cursor` of the previous page. Only with `sortOrder=asc` on trades and liquidity.
      schema:
        type: string
      example: '7184150972001'
    LastEventId:
      name: Last-Event-ID
      in: header
      description: The `id` of the last event you received. The stream resumes after it.
      schema:
        type: string
      example: '7184150972001'
    FromBlock:
      name: from_block
      in: query
      description: Start the stream at this block height (Solana slot) and replay history from there. Not with `from_seq`.
      schema:
        type: integer
        format: int64
        minimum: 0
      example: 26527000
    FromSeq:
      name: from_seq
      in: query
      description: Start the stream after this stream sequence. Not with `from_block`. Answers `410` when the sequence is no longer held.
      schema:
        type: integer
        format: int64
        minimum: 1
      example: 7184150972001
  responses:
    Unauthorized:
      description: 'The key is missing (`api key missing`), unknown (`api key unknown`) or revoked (`api key revoked`). Send `Authorization: <key>`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              value:
                error: api key missing
                message: api key missing
                statusCode: 401
    RateLimited:
      description: The key's request rate limit is reached. No `Retry-After` is sent; back off and retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            limited:
              value:
                error: api key rate limit reached
                message: api key rate limit reached
                statusCode: 429
    Timeout:
      description: The read ran past its time limit. Retry later, or narrow the request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Gone:
      description: The `from_seq` sequence is no longer held. Resume with `from_block` instead.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: The request is malformed, for example a bad address, an unknown chain or an out-of-range parameter. Do not retry unchanged.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unknownChain:
              value:
                error: 'blockchain: unknown chain: "ethereum"'
                message: 'blockchain: unknown chain: "ethereum"'
                statusCode: 400
    NotFound:
      description: The chain is not served, or the token or resource is not known.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: The read failed. Retry with backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            solana:
              $ref: '#/components/examples/token-trades-sol'
              summary: Trades on Solana, captured 2026-11-30
    Unavailable:
      description: The service is busy or catching up. Wait for the `Retry-After` header's seconds when present (5 or 10), then retry. Without it, retry with exponential backoff.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unavailable:
              $ref: '#/components/examples/token-positions-sol'
    EventStream:
      description: |
        A server-sent event stream. Each event has an `event:` name and a `data:` line holding one JSON object.
        Resumable streams also send `id:` lines: keep the last `id` and send it as `Last-Event-ID` when you reconnect.
        A `: keepalive` comment arrives every 20 seconds.
      content:
        text/event-stream:
          schema:
            type: string
          examples:
            frame:
              value: |
                event: attached
                data: {"subject":"token_trades.1.c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}

                id: 26527763.112.450.0
                event: frame
                data: {"kind":"token_trades","version":1,"chain_id":1,"address":"c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","lane":"fast","commitment":"confirmed","seq":7184150972001,"data":{"side":"sell","price_usd":1663.47,"block":26527763,"event_index":450}}

                : keepalive
  schemas:
    Error:
      type: object
      description: Every error answer has this shape. `error` and `message` carry the same text.
      required:
        - error
        - message
        - statusCode
      properties:
        error:
          type: string
          description: What went wrong. For 5xx answers this is the status text.
        message:
          type: string
          description: The same text as `error`.
        statusCode:
          type: integer
          description: The HTTP status.
    Envelope:
      type: object
      description: The wrapper around every native answer and every stream frame.
      required:
        - kind
        - version
        - chain_id
        - lane
        - commitment
        - seq
        - data
      properties:
        kind:
          type: string
          description: The document type, for example `token_stats`.
          examples:
            - token_stats
        version:
          type: integer
          description: The document schema version.
        chain_id:
          type: integer
          description: The chain the document is about.
        address:
          type: string
          description: The token or wallet the document is about.
        subject:
          type: string
          description: 'The stream topic of this document: `<kind>.<chain_id>.<address>`.'
        lane:
          type: string
          enum:
            - fast
            - safe
          description: '`fast` data is published as soon as a block is seen. `safe` data is published again once the block is final and replaces it.'
        commitment:
          type: string
          description: 'How settled the data is: `processed` (Solana fast), `confirmed` (EVM fast) or `finalized` (safe).'
          enum:
            - processed
            - confirmed
            - finalized
        as_of:
          type: integer
          format: int64
          description: The block height (or Solana slot) the document reflects.
        seq:
          type: integer
          format: int64
          description: Increases with every newer version of the document. Keep the highest.
        updated_us:
          type: integer
          format: int64
          description: When the document was built, Unix microseconds.
        data:
          type: object
          description: The document body. Its shape depends on `kind`.
    NextCursor:
      type:
        - string
        - 'null'
      description: Pass as `cursor` for the next page. `null` on the last page and on `desc` pages.
    TokenStats:
      type: object
      description: Every number that cannot be computed exactly is `null`, never `0`. Windowed fields exist for `1m`, `5m`, `15m`, `1h`, `4h`, `6h`, `12h` and `24h`.
      properties:
        price_usd:
          type:
            - number
            - 'null'
          description: Current USD price.
        price_quote:
          type:
            - number
            - 'null'
          description: Price in quote-token units, from the latest swap in the price pool.
        price_flagged:
          type: boolean
          description: True when the current price failed a cross-pool agreement check.
        usd_hops:
          type:
            - integer
            - 'null'
          description: Hops in the token-to-USD price path. 0 means the token is itself a price anchor.
        market_cap_usd:
          type:
            - number
            - 'null'
          description: Price times circulating supply, or the fully diluted value when `is_fdv` is true.
        fdv_usd:
          type:
            - number
            - 'null'
          description: Price times total supply.
        is_fdv:
          type: boolean
          description: True when `market_cap_usd` is the fully diluted value.
        total_supply:
          type:
            - number
            - 'null'
          description: Total supply in whole tokens.
        circulating_supply:
          type:
            - number
            - 'null'
          description: Total supply less burned balances, in whole tokens.
        high_24h_usd:
          type:
            - number
            - 'null'
          description: Highest USD price over 24 h.
        low_24h_usd:
          type:
            - number
            - 'null'
          description: Lowest USD price over 24 h.
        volume_24h_usd:
          type:
            - number
            - 'null'
          description: USD volume over 24 h.
        volume_total_usd:
          type:
            - number
            - 'null'
          description: All-time USD volume.
        trades_total:
          type:
            - integer
            - 'null'
          description: All-time trade count.
        price_change_24h_pct:
          type:
            - number
            - 'null'
          description: Price change over 24 h in percent. Same shape for the other windows, for example `price_change_1h_pct`.
        trades_24h:
          type:
            - integer
            - 'null'
          description: Trades over 24 h. Also `buys_24h`, `sells_24h` and the other windows.
        holder_count:
          type:
            - integer
            - 'null'
          description: Number of holders.
        top10_holdings_pct:
          type:
            - number
            - 'null'
          description: Percent of circulating supply held by the 10 largest holders. Also 50, 100 and 200.
        dev_holdings_pct:
          type:
            - number
            - 'null'
          description: Percent of circulating supply held by the deployer.
        snipers_holdings_pct:
          type:
            - number
            - 'null'
          description: Percent of circulating supply held by wallets that bought in the launch block or the 2 blocks after.
        bonding_progress_pct:
          type:
            - number
            - 'null'
          description: Bonding-curve fill from 0 to 100. `null` when the token has no curve.
        first_seen_us:
          type:
            - integer
            - 'null'
          format: int64
          description: First swap time, Unix microseconds.
        last_seen_us:
          type:
            - integer
            - 'null'
          format: int64
          description: Newest swap time, Unix microseconds.
        reference_usd_per_eth:
          type:
            - number
            - 'null'
          description: The chain's wrapped-native USD rate.
        logo:
          type:
            - string
            - 'null'
          format: uri
          description: Logo URL.
        description:
          type:
            - string
            - 'null'
        socials:
          type:
            - array
            - 'null'
          items:
            type: object
            properties:
              kind:
                type: string
                examples:
                  - website
              data:
                type: string
        holders_approximate:
          type:
            - boolean
            - 'null'
          description: True when holder figures may be inexact or stale.
        approximate:
          type: boolean
          description: True when some value is approximate.
    Trade:
      type: object
      properties:
        time_us:
          type: integer
          format: int64
          description: Block time, Unix microseconds.
        commitment:
          type: string
          description: This row's settlement level.
        tx_id:
          type: string
          description: Transaction hash.
        maker:
          type: string
          description: The wallet the trade belongs to.
        pool:
          type: string
          description: The pool of the swap.
        dex:
          type: string
          description: The exchange the pool belongs to.
        side:
          type: string
          enum:
            - buy
            - sell
        amount_token:
          type: number
          description: Token amount in whole units.
        amount_quote:
          type: number
          description: Quote-token amount in whole units.
        price_quote:
          type: number
          description: '`amount_quote` divided by `amount_token`.'
        price_usd:
          type:
            - number
            - 'null'
          description: The token's USD price in this swap.
        value_usd:
          type:
            - number
            - 'null'
          description: The swap's USD value.
        block:
          type: integer
          format: int64
          description: Block height.
        event_index:
          type: integer
          description: Log index within the block.
    Candle:
      type: object
      properties:
        time_us:
          type: integer
          format: int64
          description: Bucket start, Unix microseconds.
        open:
          type: number
          description: Price in quote-token units. Also `high`, `low`, `close`.
        high:
          type: number
        low:
          type: number
        close:
          type: number
        open_usd:
          type:
            - number
            - 'null'
          description: USD price. Also `high_usd`, `low_usd`, `close_usd`.
        high_usd:
          type:
            - number
            - 'null'
        low_usd:
          type:
            - number
            - 'null'
        close_usd:
          type:
            - number
            - 'null'
        volume_token:
          type: number
          description: Volume in whole tokens.
        volume_quote:
          type: number
          description: Volume in whole quote tokens.
        volume_usd:
          type:
            - number
            - 'null'
          description: Volume in USD.
        trades:
          type: integer
          description: Swaps in the bucket.
        pool:
          type: string
          description: The pool the candle was read from.
    LiquidityChange:
      type: object
      properties:
        time_us:
          type: integer
          format: int64
          description: Block time, Unix microseconds.
        commitment:
          type: string
        tx_id:
          type: string
        provider:
          type: string
          description: The transaction sender.
        pool:
          type: string
        dex:
          type: string
        direction:
          type: string
          enum:
            - add
            - remove
        token0:
          type: string
          description: The pool's first token. The native currency is an empty string.
        token1:
          type: string
        amount0_raw:
          type:
            - string
            - 'null'
          description: Raw integer amount of `token0`.
        amount1_raw:
          type:
            - string
            - 'null'
        amount0:
          type:
            - number
            - 'null'
          description: '`token0` amount in whole units.'
        amount1:
          type:
            - number
            - 'null'
        lp_amount_raw:
          type:
            - string
            - 'null'
          description: LP tokens minted or burned. `null` when the pool issues none.
        amount0_usd:
          type:
            - number
            - 'null'
        amount1_usd:
          type:
            - number
            - 'null'
        value_usd:
          type:
            - number
            - 'null'
          description: Total USD value. `null` unless both sides are priced.
        block:
          type: integer
          format: int64
        event_index:
          type: integer
    TokenPositions:
      type: object
      properties:
        chain_id:
          type: integer
        token:
          type: string
        sort:
          type: string
        total_count:
          type: integer
          description: Number of ranked holders.
        total_count_approximate:
          type:
            - boolean
            - 'null'
        positions:
          type: array
          items:
            type: object
            properties:
              wallet:
                type: string
              rank:
                type: integer
                description: 1-based rank, offset included.
              balance:
                type: string
                description: Raw integer balance in the token's smallest unit.
              supply_pct:
                type: number
                description: Percent of supply held.
              block:
                type: integer
                format: int64
                description: Block the balance was read at.
              approximate:
                type: boolean
    FundingEdge:
      type: object
      properties:
        wallet:
          type: string
        counterparty:
          type: string
          description: The other end of the transfer.
        direction:
          type: string
          enum:
            - in
            - out
        token:
          type: string
          description: The token sent. Empty string for the native currency.
        value:
          type: string
          description: Raw integer amount, no decimals applied.
        tx_id:
          type: string
        tx_from:
          type: string
          description: Who started the transaction.
        time_us:
          type: integer
          format: int64
        entity_name:
          type: string
          description: The counterparty's known entity, for example an exchange. Absent when unknown.
        entity_type:
          type: string
    WalletFunding:
      type: object
      properties:
        chain_id:
          type: integer
        wallet:
          type: string
        first_funding:
          oneOf:
            - $ref: '#/components/schemas/FundingEdge'
            - type: 'null'
          description: The earliest native transfer into the wallet.
        edges_in:
          type: array
          items:
            $ref: '#/components/schemas/FundingEdge'
        edges_out:
          type: array
          items:
            $ref: '#/components/schemas/FundingEdge'
        next_cursor:
          $ref: '#/components/schemas/NextCursor'
        nodes:
          type: array
          description: Walk only. The addresses reached.
          items:
            type: object
            properties:
              address:
                type: string
              depth:
                type: integer
                description: 0 for the wallet itself.
              stop:
                type: string
                enum:
                  - entity
                  - distributor
                  - root
                  - uncovered
                  - limit
                description: Why the walk did not go further from this address.
              entity_name:
                type: string
        edges:
          type: array
          description: Walk only. The transfers that reached each node.
          items:
            $ref: '#/components/schemas/FundingEdge'
        truncated:
          type: boolean
          description: Walk only. True when a cap ended the walk.
        uncovered:
          type: array
          description: Block ranges not yet indexed.
          items:
            type: object
            properties:
              low_block:
                type: integer
                format: int64
              high_block:
                type: integer
                format: int64
    WalletPosition:
      type: object
      properties:
        chain_id:
          type: integer
        wallet:
          type: string
        token:
          type: string
        balance:
          type: string
          description: Balance in the token's smallest unit, as an integer string.
        balance_usd:
          type:
            - number
            - 'null'
          description: Balance value in USD.
        price_flagged:
          type: boolean
          description: True when the token's price failed a cross-pool agreement check.
        supply_pct:
          type:
            - number
            - 'null'
          description: Percent of total supply held.
        circulating_supply_pct:
          type:
            - number
            - 'null'
          description: Percent of circulating supply held.
        buys:
          type: integer
          description: Buy count.
        sells:
          type: integer
          description: Sell count.
        volume_buy_token:
          type:
            - number
            - 'null'
          description: Tokens bought, in whole units.
        volume_sell_token:
          type:
            - number
            - 'null'
          description: Tokens sold, in whole units.
        volume_buy_usd:
          type:
            - number
            - 'null'
          description: USD spent on buys.
        volume_sell_usd:
          type:
            - number
            - 'null'
          description: USD received from sells.
        native_balance:
          type:
            - string
            - 'null'
          description: The wallet's native-currency balance in its smallest unit.
        first_trade_at_us:
          type:
            - integer
            - 'null'
          format: int64
          description: First trade time, Unix microseconds.
        last_activity_at_us:
          type:
            - integer
            - 'null'
          format: int64
          description: Latest activity time, Unix microseconds.
        labels:
          type: array
          description: Wallet labels.
          items:
            type: string
            enum:
              - bundler
              - dev
              - cluster
              - fresh_trader
              - liquidity_pool
        block:
          type: integer
          format: int64
          description: Block the position was read at. Solana answers carry `slot`.
        approximate:
          type: boolean
    TrenchCard:
      type: object
      properties:
        token:
          type: string
        quote:
          type: string
          description: The quote token. The native currency is an empty string.
        pool:
          type: string
        symbol:
          type: string
        name:
          type: string
        decimals:
          type:
            - integer
            - 'null'
        dex:
          type: string
        pool_type:
          type: string
          examples:
            - bonding_curve
        factory:
          type: string
        creator:
          type: string
        launchpad:
          type: string
        progress:
          type:
            - number
            - 'null'
          description: Bonding-curve fill from 0 to 100.
        graduated:
          type: boolean
          description: True when the token left its curve.
        block:
          type: integer
          format: int64
          description: EVM block of the launch. Solana cards carry `slot`.
        time_us:
          type: integer
          format: int64
        commitment:
          type: string
        lane:
          type: integer
          description: 1 for the fast lane, 2 for the safe lane.
        market_cap_usd:
          type:
            - number
            - 'null'
        is_fdv:
          type: boolean
        holder_count:
          type:
            - integer
            - 'null'
        top10_holdings_pct:
          type:
            - number
            - 'null'
        dev_holdings_pct:
          type:
            - number
            - 'null'
        logo:
          type:
            - string
            - 'null'
  examples:
    token-stats-eth-weth:
      value:
        kind: token_stats
        version: 1
        chain_id: 1
        address: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        subject: token_stats.1.c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        lane: fast
        commitment: confirmed
        seq: 0
        updated_us: 1796037735621626
        data:
          updated_at_us: 1796037728122758
          price_usd: 1663.7496576455717
          price_quote: null
          price_flagged: false
          usd_hops: 0
          path_liquidity_usd: null
          high_24h_usd: 1688.7292641404915
          low_24h_usd: 1622.4408085512014
          volume_24h_usd: 194081728.9067369
          volume_total_usd: null
          trades_total: null
          first_seen_us: null
          last_seen_us: null
          reference_usd_per_eth: 1661.489871196804
          total_supply: 2309515.8592081224
          circulating_supply: 2308146.4753398555
          fdv_usd: 3842456220.084532
          market_cap_usd: 3840177908.1425176
          is_fdv: false
          approximate: false
          bonding_progress_pct: null
          logo: https://api.chainmetric.io/v2/logo/fa61792e6c9284787a342ad3196fa5b11970f1ed663bfeaf736c94003c26b2cd/v1/256.webp
          description: null
          socials:
            - kind: website
              data: https://weth.io
          holder_count: null
          top10_holdings_pct: null
          top50_holdings_pct: null
          top100_holdings_pct: null
          top200_holdings_pct: null
          dev_holdings_pct: null
          snipers_holdings_pct: null
          snipers_count: null
          bundlers_holdings_pct: null
          bundlers_count: null
          fresh_traders_holdings_pct: null
          fresh_traders_count: null
          insiders_holdings_pct: null
          insiders_count: null
          smart_traders_holdings_pct: null
          smart_traders_count: null
          pro_traders_holdings_pct: null
          pro_traders_count: null
          holders_approximate: null
          price_change_1m_pct: 0.07088775087611818
          trades_1m: 71
          buys_1m: 28
          sells_1m: 43
          price_change_5m_pct: 0.08514828544997508
          trades_5m: 516
          buys_5m: 219
          sells_5m: 297
          price_change_15m_pct: 0.07736981933658273
          trades_15m: 1370
          buys_15m: 655
          sells_15m: 715
          price_change_1h_pct: 0.3359662222772027
          trades_1h: 5535
          buys_1h: 2880
          sells_1h: 2655
          price_change_4h_pct: -0.41099139989535743
          trades_4h: 23399
          buys_4h: 11205
          sells_4h: 12194
          price_change_6h_pct: -0.860344745119512
          trades_6h: 33583
          buys_6h: 15631
          sells_6h: 17952
          price_change_12h_pct: 1.9233533955417104
          trades_12h: 85080
          buys_12h: 43934
          sells_12h: 41146
          price_change_24h_pct: 2.3928869050483534
          trades_24h: 186534
          buys_24h: 94515
          sells_24h: 92019
    token-stats-sol:
      value:
        kind: token_stats
        version: 1
        chain_id: 1399811149
        address: Fgpu9KDN2zREYHKSvSxp7LyYqUCL4ys8yKLH2v9vHDPe
        subject: token_stats.1399811149.Fgpu9KDN2zREYHKSvSxp7LyYqUCL4ys8yKLH2v9vHDPe
        lane: fast
        commitment: confirmed
        seq: 0
        updated_us: 1796037737091037
        data:
          updated_at_us: 1796037735731196
          price_usd: null
          price_quote: null
          price_flagged: false
          usd_hops: null
          path_liquidity_usd: null
          high_24h_usd: null
          low_24h_usd: null
          volume_24h_usd: 0
          volume_total_usd: null
          trades_total: null
          first_seen_us: null
          last_seen_us: null
          reference_usd_per_eth: 71.51733737523807
          total_supply: null
          circulating_supply: null
          fdv_usd: null
          market_cap_usd: null
          is_fdv: true
          approximate: false
          bonding_progress_pct: null
          logo: null
          description: null
          socials: []
          holder_count: null
          top10_holdings_pct: null
          top50_holdings_pct: null
          top100_holdings_pct: null
          top200_holdings_pct: null
          dev_holdings_pct: null
          snipers_holdings_pct: null
          snipers_count: null
          bundlers_holdings_pct: null
          bundlers_count: null
          fresh_traders_holdings_pct: null
          fresh_traders_count: null
          insiders_holdings_pct: null
          insiders_count: null
          smart_traders_holdings_pct: null
          smart_traders_count: null
          pro_traders_holdings_pct: null
          pro_traders_count: null
          holders_approximate: null
          price_change_1m_pct: null
          trades_1m: null
          buys_1m: null
          sells_1m: null
          price_change_5m_pct: null
          trades_5m: null
          buys_5m: null
          sells_5m: null
          price_change_15m_pct: null
          trades_15m: null
          buys_15m: null
          sells_15m: null
          price_change_1h_pct: null
          trades_1h: null
          buys_1h: null
          sells_1h: null
          price_change_4h_pct: null
          trades_4h: null
          buys_4h: null
          sells_4h: null
          price_change_6h_pct: null
          trades_6h: null
          buys_6h: null
          sells_6h: null
          price_change_12h_pct: null
          trades_12h: null
          buys_12h: null
          sells_12h: null
          price_change_24h_pct: null
          trades_24h: null
          buys_24h: null
          sells_24h: null
    token-positions-sol:
      value:
        error: Service Unavailable
        message: Service Unavailable
        statusCode: 503
    token-trades-eth:
      value:
        kind: token_trades
        version: 1
        chain_id: 1
        address: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        subject: token_trades.1.c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        lane: fast
        commitment: confirmed
        as_of: 26527763
        seq: 7184150972001
        updated_us: 1796037746901662
        data:
          next_cursor: null
          trades:
            - time_us: 1796037743000000
              commitment: confirmed
              tx_id: 8450c2fce2e6439abbf8590fa6e7cbe5d5adc4745c57043f86223fccbf01f472
              maker: 94e13996035c0935f30d930dad4edbcacb8bab45
              pool: 96d26bd94618b3c7648574ae778e942abbcda698
              dex: uniswap_v3
              side: sell
              amount_token: 0.000200658546812349
              amount_quote: 522.4720084838123
              price_quote: 2603786.4660328445
              price_usd: 1663.4658118317714
              value_usd: 0.3337886324741876
              block: 26527763
              event_index: 450
            - time_us: 1796037743000000
              commitment: confirmed
              tx_id: 8450c2fce2e6439abbf8590fa6e7cbe5d5adc4745c57043f86223fccbf01f472
              maker: 94e13996035c0935f30d930dad4edbcacb8bab45
              pool: 5a5c7cab5f55c7ea020e97d4fa6dd5d99270e56ce76afa61d8cbddec0af92060
              dex: uniswap_v4
              side: buy
              amount_token: 0.000200658546812349
              amount_quote: 0.333941
              price_quote: 1664.225149164932
              price_usd: 1663.9755153925573
              value_usd: 0.33389090885
              block: 26527763
              event_index: 445
    token-trades-sol:
      value:
        error: Internal Server Error
        message: Internal Server Error
        statusCode: 500
    token-ohlcv-eth:
      value:
        kind: token_ohlcv
        version: 1
        chain_id: 1
        address: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        subject: token_ohlcv.1.c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.5m
        lane: fast
        commitment: confirmed
        seq: 1796037600000
        updated_us: 1796037750364351
        data:
          candles:
            - time_us: 1795887600000000
              open: 1647.7789049068542
              high: 1648.3065379720567
              low: 1647.4683169924433
              close: 1647.7960438688235
              open_usd: 1647.5482158601671
              high_usd: 1648.0757750567407
              low_usd: 1647.2376714280642
              close_usd: 1647.5653524226818
              volume_token: 30.080292851519083
              volume_quote: 49563.494918
              volume_usd: 49556.55602871148
              trades: 14
              pool: 88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
            - time_us: 1795887900000000
              open: 1647.6538931195128
              high: 1647.6538931195128
              low: 1642.5918730202952
              close: 1643.1482367238566
              open_usd: 1647.423221574476
              high_usd: 1647.423221574476
              low_usd: 1642.3619101580723
              close_usd: 1642.9181959707153
              volume_token: 158.8748922578638
              volume_quote: 261096.127194
              volume_usd: 261059.57373619283
              trades: 28
              pool: 88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
          interval: 5m
    token-ohlcv-sol:
      value:
        kind: token_ohlcv
        version: 1
        chain_id: 1399811149
        address: Fgpu9KDN2zREYHKSvSxp7LyYqUCL4ys8yKLH2v9vHDPe
        subject: token_ohlcv.1399811149.Fgpu9KDN2zREYHKSvSxp7LyYqUCL4ys8yKLH2v9vHDPe.5m
        lane: safe
        commitment: finalized
        seq: 1796037300000
        updated_us: 1796037739027198
        data:
          candles:
            - time_us: 1796037300000000
              open: 0.00000102187505819113
              high: 0.0000011634864587759332
              low: 2.0989355118494913e-10
              close: 2.568621532549536e-9
              open_usd: 0.0000730129495964669
              high_usd: 0.00008313108093777363
              low_usd: 1.4996889444016335e-8
              close_usd: 1.835279499045774e-7
              volume_token: 266289961.295747
              volume_quote: 193.033879168
              volume_usd: 13792.266263012703
              trades: 81
              pool: 388ab497b65abcf6336c5bbc406c23e9d06088e1cccd4b8d617b007f28c84b75
          interval: 5m
    token-liquidity-eth:
      value:
        kind: token_liquidity
        version: 1
        chain_id: 1
        address: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        subject: token_liquidity.1.c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        lane: fast
        commitment: confirmed
        as_of: 26527763
        seq: 7184150972001
        updated_us: 1796037749571000
        data:
          liquidity:
            - time_us: 1796037743000000
              commitment: confirmed
              tx_id: 0f1bc2c29d680f56a2a4cb4e672e3942d1eaf603d6f6bea3986f7b2cf4e74f5c
              provider: 8160a33ecd1b7ef7519bc473ddecb03724a4bb35
              pool: 1281c215bd70bef88430d2000da193cab5e7f87a
              dex: fork_f4fd2e6c_v3
              direction: add
              token0: 1f9840a85d5af5bf1d1762f925bdaddc4201f984
              token1: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
              amount0_raw: '4271244674006792291255'
              amount1_raw: '11212771494190033175'
              amount0: 4271.244674006793
              amount1: 11.212771494190033
              lp_amount_raw: null
              block: 26527763
              event_index: 126
              amount0_usd: 19959.15797652812
              amount1_usd: 18652.062036466967
              value_usd: 38611.22001299509
            - time_us: 1796037743000000
              commitment: confirmed
              tx_id: 15c1747e33fcf7a77fba500b83cf58abc27ab7b9170619deca5b7f35a7bfdf02
              provider: 38c55214fa8953c8277f0262cbf4a0046fcdb5c6
              pool: ba9abfdfb7c28e232d853d85c619e4248971aa31
              dex: fork_f4fd2e6c_v3
              direction: add
              token0: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
              token1: dac17f958d2ee523a2206206994597c13d831ec7
              amount0_raw: '19754560138148917803'
              amount1_raw: '3922575143'
              amount0: 19.754560138148918
              amount1: 3922.575143
              lp_amount_raw: null
              block: 26527763
              event_index: 110
              amount0_usd: 32861.03541758544
              amount1_usd: 3918.8514031909986
              value_usd: 36779.88682077644
          next_cursor: null
    token-positions-eth:
      value:
        kind: token_positions
        version: 1
        chain_id: 1
        address: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
        subject: token_positions.1.c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.balance
        lane: fast
        commitment: confirmed
        as_of: 26527665
        seq: 0
        updated_us: 1796037751920795
        data:
          chain_id: 1
          token: c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
          sort: balance
          total_count: 3332381
          total_count_approximate: false
          positions:
            - wallet: 4d5f47fa6a74757f35c14fd3a6ef8e3c9bc514e8
              rank: 1
              balance: '376351098585663147440537'
              supply_pct: 16.295668654534037
              block: 26527665
              approximate: false
            - wallet: 2f0b23f53734252bda2277357e97e1517d6b042a
              rank: 2
              balance: '297645549425290649621921'
              supply_pct: 12.887788206700987
              block: 26527665
              approximate: false
    trenches-eth-launches:
      value:
        kind: pilot_trenches
        version: 1
        chain_id: 1
        subject: ''
        lane: fast
        commitment: confirmed
        seq: 1796037179000
        updated_us: 1796037727858507
        data:
          cards:
            - decimals: 18
              progress: null
              block: 26527716
              token: 10b07f43c68e732a5a6dbcc017e334949f9c6bb9
              quote: 2260fac5e5542a773aa44fbcfedf7c193bc2c599
              pool: 36618ee313c7fce5baac229cb8be655751d29dc4ade794b5ffedaced914bdfe1
              symbol: XSTR
              name: X Strategy
              name_source: dimension
              dex: sender_v1
              pool_type: bonding_curve
              factory: a6cc4ffa9ebaefd8ab7d3d018b0ae31ec5b760cc
              creator: f77011e5c66815fafed85b8b19e85e45611ed7a5
              commitment: confirmed
              time_us: 1796037179000000
              lane: 1
              launchpad: 90c7fa39a0121a50be9086d46dac36b7323b6cb8
              metadata_uri: ''
              liquidity_usd: null
              liquidity_max_usd: null
              fdv_usd: null
              volume_24h_usd: null
              trades_24h: null
              is_opening_price: false
              market_cap_usd: null
              is_fdv: true
              circulating_supply: null
              total_supply: null
              buys_24h: null
              sells_24h: null
              is_og: null
              security: null
              holder_count: 2
              top10_holdings_pct: 10.02378987406904
              top50_holdings_pct: 10.02378987406904
              top100_holdings_pct: 10.02378987406904
              top200_holdings_pct: 10.02378987406904
              dev_holdings_pct: 10.02378987406904
              snipers_holdings_pct: 0
              snipers_count: 0
              bundlers_holdings_pct: 0
              bundlers_count: 0
              fresh_traders_holdings_pct: 0
              fresh_traders_count: 0
              insiders_holdings_pct: null
              insiders_count: null
              smart_traders_holdings_pct: null
              smart_traders_count: null
              pro_traders_holdings_pct: null
              pro_traders_count: null
              holders_approximate: false
              logo: https://api.chainmetric.io/v2/logo/5199e808a3628b3cfb6aa80150bea73323ae8ae6734e8d4e62bcd95389bb867a/v1/64.webp
              socials: null
              drained: false
            - decimals: 18
              progress: null
              block: 26524489
              token: e167d85ceee15f694dc21081531a95b63c4ab12b
              quote: c9eef266834730340a55b6cc24621b31baf55581
              pool: 9b5206824f34fe11a01d373e13c3b04e567ebbb1c7456985d9d28194f2b70bb6
              symbol: 工业党
              name: 工业党对决情怀党
              name_source: dimension
              dex: sender_v1
              pool_type: bonding_curve
              factory: a6cc4ffa9ebaefd8ab7d3d018b0ae31ec5b760cc
              creator: e2b03c5e7fa25927f92e27a9331e7daf5b72c029
              commitment: finalized
              time_us: 1795998371000000
              lane: 2
              launchpad: 90c7fa39a0121a50be9086d46dac36b7323b6cb8
              metadata_uri: ''
              liquidity_usd: null
              liquidity_max_usd: null
              fdv_usd: null
              volume_24h_usd: null
              trades_24h: null
              is_opening_price: false
              market_cap_usd: null
              is_fdv: true
              circulating_supply: null
              total_supply: null
              buys_24h: null
              sells_24h: null
              is_og: null
              security: null
              holder_count: 2
              top10_holdings_pct: 0.09286474285132754
              top50_holdings_pct: 0.09286474285132754
              top100_holdings_pct: 0.09286474285132754
              top200_holdings_pct: 0.09286474285132754
              dev_holdings_pct: 0
              snipers_holdings_pct: 0
              snipers_count: 0
              bundlers_holdings_pct: 0
              bundlers_count: 0
              fresh_traders_holdings_pct: 0
              fresh_traders_count: 0
              insiders_holdings_pct: 0
              insiders_count: 0
              smart_traders_holdings_pct: null
              smart_traders_count: null
              pro_traders_holdings_pct: null
              pro_traders_count: null
              holders_approximate: false
              logo: https://api.chainmetric.io/v2/logo/af702261bab571d4d43c897761c62bfe64cf25e9260d9d92c3b6aa6392a749d1/v1/64.webp
              socials: null
              drained: false
          view: launches
    trenches-sol-curves:
      value:
        kind: pilot_trenches
        version: 1
        chain_id: 1399811149
        subject: ''
        lane: fast
        commitment: confirmed
        seq: 1796037433000
        updated_us: 1796037726208466
        data:
          cards:
            - decimals: 6
              progress: 100
              slot: 475742049
              token: Fgpu9KDN2zREYHKSvSxp7LyYqUCL4ys8yKLH2v9vHDPe
              quote: So11111111111111111111111111111111111111112
              pool: Ad4GC8BcddwepRn8F7Ytr8LtQfHzhwP49GJtoQoKkECr
              symbol: RIKU
              name: りくくん
              name_source: dimension
              dex: meteora_dbc_v1
              pool_type: bonding_curve
              factory: dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
              creator: AAKFQvC4eD5BTwrhyFhNEUM7EJ76i1PeJWKKxTPuiqbP
              commitment: finalized
              time_us: 1796037433000000
              lane: 2
              graduated: true
              launchpad: dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
              metadata_uri: ''
              liquidity_usd: null
              liquidity_max_usd: null
              fdv_usd: null
              volume_24h_usd: null
              trades_24h: null
              is_opening_price: false
              market_cap_usd: null
              is_fdv: true
              circulating_supply: null
              total_supply: null
              buys_24h: null
              sells_24h: null
              is_og: null
              security: null
              holder_count: 8
              top10_holdings_pct: 100
              top50_holdings_pct: 100
              top100_holdings_pct: 100
              top200_holdings_pct: 100
              dev_holdings_pct: 19.9474924402085
              snipers_holdings_pct: null
              snipers_count: null
              bundlers_holdings_pct: null
              bundlers_count: null
              fresh_traders_holdings_pct: null
              fresh_traders_count: null
              insiders_holdings_pct: null
              insiders_count: null
              smart_traders_holdings_pct: null
              smart_traders_count: null
              pro_traders_holdings_pct: null
              pro_traders_count: null
              holders_approximate: false
              logo: https://api.chainmetric.io/v2/logo/2c2d7a7aec808c1305f72a9f0eb7a4f2dde5f3a01d1da38253c4ff4b0c2e4371/v1/64.webp
              socials: null
              drained: false
            - decimals: 6
              progress: 100
              slot: 475741720
              token: Dr1LmmbBWEWbPjzrAht5mXftU4NSy6cC7cHTkhits8Jz
              quote: So11111111111111111111111111111111111111112
              pool: 7RL2UVuqUhMq1emoM1MYoPwjZaLBHyB7fwMQzsNiYz1G
              symbol: BOUNCE
              name: Bounce Cat
              name_source: dimension
              dex: meteora_dbc_v1
              pool_type: bonding_curve
              factory: dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
              creator: zLdE5JiFjkfWNq3as2VjU3DDKwYCZNhdSeT7hVuMTEB
              commitment: finalized
              time_us: 1796037361000000
              lane: 2
              graduated: true
              launchpad: dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
              metadata_uri: ''
              liquidity_usd: null
              liquidity_max_usd: null
              fdv_usd: null
              volume_24h_usd: null
              trades_24h: null
              is_opening_price: false
              market_cap_usd: null
              is_fdv: true
              circulating_supply: null
              total_supply: null
              buys_24h: null
              sells_24h: null
              is_og: null
              security: null
              holder_count: 26
              top10_holdings_pct: 9.840606262436658
              top50_holdings_pct: 9.848028697936396
              top100_holdings_pct: 9.848028697936396
              top200_holdings_pct: 9.848028697936396
              dev_holdings_pct: 5.523133733717996
              snipers_holdings_pct: 0.3854603225582546
              snipers_count: 4
              bundlers_holdings_pct: null
              bundlers_count: null
              fresh_traders_holdings_pct: null
              fresh_traders_count: null
              insiders_holdings_pct: null
              insiders_count: null
              smart_traders_holdings_pct: null
              smart_traders_count: null
              pro_traders_holdings_pct: null
              pro_traders_count: null
              holders_approximate: true
              logo: https://api.chainmetric.io/v2/logo/2c425b5c3f1aba9b440a9a20c5c0b59cbf1a7bfc3f58922ed82f15a92ab36b3a/v1/64.webp
              socials: null
              drained: false
          view: curves
    healthz:
      value:
        status: ok
