> ## 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

> Markets whose stats are not available yet — a newly listed market has no
oracle price until its first price update lands — are skipped rather than
failing the whole response.



## OpenAPI

````yaml /openapi/phoenix-public-api.json get /v1/markets/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/markets/stats/latest:
    get:
      tags:
        - Exchange
      summary: Get latest market stats
      description: >-
        Markets whose stats are not available yet — a newly listed market has no

        oracle price until its first price update lands — are skipped rather
        than

        failing the whole response.
      operationId: get.v1.markets.stats.latest
      responses:
        '200':
          description: Successfully retrieved latest market stats for all markets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LatestMarketsStatsResponse'
components:
  schemas:
    LatestMarketsStatsResponse:
      type: object
      description: Latest in-memory market stats snapshots for all markets.
      required:
        - markets
      properties:
        markets:
          type: array
          items:
            $ref: '#/components/schemas/LatestMarketStatsResponse'
    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.

````

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