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

# 查詢 Token Ticker

> 查詢 Token Ticker

查詢 Token Ticker。

> [!NOTE]
>
> 該介面為公開介面，不需要認證。


## OpenAPI

````yaml openapi/event-contracts-zh-TW.yaml GET /api/v4/event_contracts/tokens/{token_id}/ticker
openapi: 3.0.3
info:
  title: DexBuilder Event Contracts API
  version: 1.0.0
  description: DexBuilder 事件合約 REST API
servers:
  - url: https://api.dexbuilder.com
security: []
paths:
  /api/v4/event_contracts/tokens/{token_id}/ticker:
    get:
      summary: 查詢 Token Ticker
      description: 查詢 Token Ticker
      operationId: query_token_ticker
      parameters:
        - name: token_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 請求成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenTickerResponse'
        '400':
          description: 請求參數錯誤
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: 服務暫時不可用
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    TokenTickerResponse:
      type: object
      properties:
        best_ask:
          type: string
          nullable: true
        best_bid:
          type: string
          nullable: true
        last_price:
          type: string
          nullable: true
        timestamp:
          type: integer
          nullable: true
        token_id:
          type: string
      description: 回應物件。
    Error:
      type: object
      description: 錯誤回應。
      properties:
        label:
          type: string
          example: INVALID_ARGUMENT
        message:
          type: string
          example: invalid request

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.