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

> Handles `GET /v1/market/{symbol}/mark-price` via `get.v1.market.by_symbol.mark_price`.



## OpenAPI

````yaml /openapi/phoenix-public-api.json get /v1/market/{symbol}/mark-price
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}/mark-price:
    get:
      tags:
        - Exchange
      summary: Get mark price
      description: >-
        Handles `GET /v1/market/{symbol}/mark-price` via
        `get.v1.market.by_symbol.mark_price`.
      operationId: get.v1.market.by_symbol.mark_price
      parameters:
        - name: symbol
          in: path
          description: Market symbol
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Mark price
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarkPriceResponse'
      security:
        - PhoenixBearerAuth: []
components:
  schemas:
    MarkPriceResponse:
      type: object
      required:
        - slot
        - slotIndex
        - symbol
      properties:
        markPrice:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Price'
        slot:
          type: integer
          format: int64
          minimum: 0
        slotIndex:
          type: integer
          format: int32
          minimum: 0
        symbol:
          type: string
    Price:
      type: object
      description: A price for an asset.
      required:
        - price
        - slot
      properties:
        price:
          type: number
          format: double
        slot:
          type: integer
          format: int64
          minimum: 0
  securitySchemes:
    PhoenixBearerAuth:
      type: http
      scheme: bearer
      description: Bearer access token issued by `/v1/auth/*` login endpoints.

````