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

# Get latest market stats by symbol

> Handles `GET /v1/market/{symbol}/stats/latest` via `get.v1.market.by_symbol.stats.latest`.



## OpenAPI

````yaml /openapi/phoenix-public-api.json get /v1/market/{symbol}/stats/latest
openapi: 3.1.0
info:
  title: Phoenix Eternal API
  description: >-
    RESTful API for accessing Phoenix Eternal perpetual trading data. Provides
    real-time orderbook levels, asset information, and market metadata.
  termsOfService: https://www.phoenix.trade/terms-of-service
  contact:
    name: Phoenix Development Team
    url: https://github.com/Ellipsis-Labs/phoenix
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://perp-api.phoenix.trade
    description: Phoenix Eternal Perp API
security: []
tags:
  - name: Auth
    description: Wallet and session authentication.
  - name: Exchange
    description: Exchange, market, candle, and no-referral register-instruction workflows.
  - name: Invite
    description: Invite validation, referral activation, and wallet allowlist checks.
  - name: Notifications
    description: Trader notification reads and acknowledgement helpers.
  - name: Trader
    description: Trader state, account history, and transaction builders.
externalDocs:
  url: https://docs.phoenix.trade
  description: Phoenix developer documentation
paths:
  /v1/market/{symbol}/stats/latest:
    get:
      tags:
        - Exchange
      summary: Get latest market stats by symbol
      description: >-
        Handles `GET /v1/market/{symbol}/stats/latest` via
        `get.v1.market.by_symbol.stats.latest`.
      operationId: get.v1.market.by_symbol.stats.latest
      parameters:
        - name: symbol
          in: path
          description: Market symbol
          required: true
          schema:
            type: string
          example: SOL-PERP
      responses:
        '200':
          description: Successfully retrieved latest market stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LatestMarketStatsResponse'
        '404':
          $ref: '#/components/responses/ErrorResponse'
        '503':
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    LatestMarketStatsResponse:
      type: object
      description: Latest in-memory market stats snapshot for one market.
      required:
        - symbol
        - timestamp_ms
        - mark_price
        - oracle_price
        - prev_day_mark_price
        - open_interest
        - day_volume_usd
        - day_volume_base
        - current_funding_rate
        - eight_hour_funding_rate
        - annualized_funding_rate
      properties:
        annualized_funding_rate:
          $ref: '#/components/schemas/CompactJsonFloat'
        circulating_supply:
          type:
            - number
            - 'null'
          format: double
          description: |-
            Circulating supply in units of the underlying asset. `null` when
            unknown.
        current_funding_rate:
          $ref: '#/components/schemas/CompactJsonFloat'
        day_volume_base:
          $ref: '#/components/schemas/CompactJsonFloat'
        day_volume_usd:
          $ref: '#/components/schemas/UsdJsonFloat'
        eight_hour_funding_rate:
          $ref: '#/components/schemas/CompactJsonFloat'
        mark_price:
          $ref: '#/components/schemas/CompactJsonFloat'
        market_cap:
          type:
            - number
            - 'null'
          format: double
          description: >-
            Market capitalization in USD (circulating supply times the
            spot/oracle

            price). `null` when the supply is unknown or the price is invalid.
        open_interest:
          $ref: '#/components/schemas/CompactJsonFloat'
        oracle_price:
          $ref: '#/components/schemas/CompactJsonFloat'
        prev_day_mark_price:
          $ref: '#/components/schemas/CompactJsonFloat'
        symbol:
          type: string
        timestamp_ms:
          $ref: '#/components/schemas/JsSafeU64'
          description: Unix timestamp in milliseconds.
    CompactJsonFloat:
      type: number
      format: double
    UsdJsonFloat:
      type: number
      format: double
    JsSafeU64:
      type: string
      description: |-
        Wrapper for unsigned 64-bit values that must be JSON-safe for consumers
        written in JavaScript/TypeScript. Mirrors [`JsSafeI64`] but for unsigned
        Phoenix quantities such as base lots, quote lots, and slots.
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  responses:
    ErrorResponse:
      description: Standard JSON error payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````

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