> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# トークン - 流動性スナップショット

> トークンの過去の流動性スナップショットを取得。時間パラメータが指定された場合、その時刻以前の最も近いスナップショットを返します



## OpenAPI

````yaml /jp/api-reference/openapi-data-jp.yaml GET /v2/token/{chain}/{tokenAddress}/liquiditySnapshots
openapi: 3.1.0
info:
  title: Services API
  description: Services API
  contact:
    name: AI
    email: ai@sx.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.chainstream.io
    description: Production
security:
  - bearer_auth: []
  - api_key_auth: []
tags:
  - name: Blockchain
    description: ブロックチェーン関連の操作
  - name: Token
    description: トークン関連の操作
  - name: Trade
    description: 取引関連の操作
  - name: Wallet
    description: ウォレット関連の操作
  - name: Dex
    description: DEX 関連の操作
  - name: Ranking
    description: ランキング関連の操作
  - name: DexPool
    description: DEX プール関連の操作
  - name: Watchlist
    description: ウォッチリスト関連の操作
  - name: KYT
    description: KYT 関連の操作
  - name: Webhook
    description: Webhook 関連の操作
  - name: RedPacket
    description: レッドパケット関連の操作
  - name: IPFS
    description: IPFS 関連の操作
  - name: DexScreener
    description: DexScreener 関連の操作
paths:
  /v2/token/{chain}/{tokenAddress}/liquiditySnapshots:
    get:
      tags:
        - Token
      summary: トークン - 流動性スナップショット
      description: トークンの過去の流動性スナップショットを取得。時間パラメータが指定された場合、その時刻以前の最も近いスナップショットを返します
      operationId: get.token.liquidity.snapshots
      parameters:
        - name: chain
          in: path
          description: サポートされているネットワークに記載されているチェーン名
          required: true
          schema:
            $ref: '#/components/schemas/ChainSymbol'
          example: sol
        - name: tokenAddress
          in: path
          description: トークンのアドレス
          required: true
          schema:
            type: string
          example: 113FvWQTBC7CXtgSvzfxRSedwVkLbmD8WfAjFrbpump
        - name: cursor
          in: query
          description: ページネーションカーソル
          required: false
          schema:
            type: string
          example: eyJpZCI6IjEyMyJ9
        - name: limit
          in: query
          description: ページあたりの結果数
          required: false
          schema:
            type: integer
            format: int64
            default: 20
          example: 20
        - name: direction
          in: query
          description: ページネーション方向（next または prev）
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/PageDirection'
            default: next
          example: next
        - name: time
          in: query
          description: 流動性スナップショット検索対象の Unix タイムスタンプ
          required: false
          schema:
            type: integer
            format: int64
          example: 1770336000000
      responses:
        '200':
          description: 流動性スナップショットを取得
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageResponse_TokenLiquiditySnapshot'
components:
  schemas:
    ChainSymbol:
      type: string
      description: Supported blockchain chains
      enum:
        - sol
        - eth
        - bsc
    PageDirection:
      type: string
      description: Pagination direction
      enum:
        - next
        - prev
    PageResponse_TokenLiquiditySnapshot:
      type: object
      description: Generic pagination response
      required:
        - data
      properties:
        data:
          type: array
          items:
            type: object
            description: Token liquidity snapshot
            required:
              - snapshotTime
              - maxLiquidityPoolAddress
              - maxLiquidityInUsd
              - maxLiquidityInNative
              - totalLiquidityInUsd
              - totalLiquidityInNative
              - poolCount
              - priceUsd
              - priceNative
              - calculatedAt
            properties:
              calculatedAt:
                type: integer
                format: int64
                description: スナップショット算出タイムスタンプ（ミリ秒）
                example: 1705312800000
              maxLiquidityInNative:
                type: string
                description: ネイティブトークン建ての最大プール流動性
                example: '5000.123'
              maxLiquidityInUsd:
                type: string
                description: USD建ての最大プール流動性
                example: '1000000.45'
              maxLiquidityPoolAddress:
                type: string
                description: 最大流動性プールのアドレス
                example: 58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2
              poolCount:
                type: integer
                format: int64
                description: アクティブな流動性プール数
                example: 5
              priceNative:
                type: string
                description: スナップショット時点のネイティブトークン建て価格
                example: '0.005'
              priceUsd:
                type: string
                description: スナップショット時点の USD建てトークン価格
                example: '1.0001'
              snapshotTime:
                type: integer
                format: int64
                description: スナップショットタイムスタンプ（ミリ秒）
                example: 1705312800000
              totalLiquidityInNative:
                type: string
                description: ネイティブトークン建ての全プール合計流動性
                example: '10000.246'
              totalLiquidityInUsd:
                type: string
                description: USD建ての全プール合計流動性
                example: '2000000.90'
          description: Page data
        endCursor:
          type:
            - string
            - 'null'
          description: Cursor for the end of current page
          example: eyJpZCI6ImVuZCJ9
        hasNext:
          type: boolean
          description: Whether there is a next page
          example: false
        hasPrev:
          type: boolean
          description: Whether there is a previous page
          example: false
        startCursor:
          type:
            - string
            - 'null'
          description: Cursor for the start of current page
          example: eyJpZCI6InN0YXJ0In0=
        total:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Total number of items matching the query (not just the current
            page).

            When `None`, the caller should treat it as unknown
            (backward-compatible).
          example: 564094
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    api_key_auth:
      type: apiKey
      in: header
      name: X-API-KEY

````