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

> Handles `GET /v1/view/exchange/keys` via `get.v1.view.exchange.keys`.



## OpenAPI

````yaml /openapi/phoenix-public-api.json get /v1/view/exchange/keys
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/view/exchange/keys:
    get:
      tags:
        - Exchange
      summary: Get exchange keys
      description: Handles `GET /v1/view/exchange/keys` via `get.v1.view.exchange.keys`.
      operationId: get.v1.view.exchange.keys
      responses:
        '200':
          description: Exchange pubkeys
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExchangeKeysView'
        '500':
          $ref: '#/components/responses/ErrorResponse'
      security:
        - PhoenixBearerAuth: []
components:
  schemas:
    ExchangeKeysView:
      type: object
      required:
        - globalConfig
        - currentAuthorities
        - pendingAuthorities
        - canonicalMint
        - globalVault
        - perpAssetMap
        - globalTraderIndex
        - activeTraderBuffer
        - withdrawQueue
      properties:
        activeTraderBuffer:
          type: array
          items:
            type: string
          description: Active trader buffer account public keys.
        canonicalMint:
          type: string
          description: Canonical quote mint public key.
        currentAuthorities:
          $ref: '#/components/schemas/AuthoritySetView'
          description: Currently active authority set.
        globalConfig:
          type: string
          description: Global configuration account public key.
        globalTraderIndex:
          type: array
          items:
            type: string
          description: Global trader index account public keys.
        globalVault:
          type: string
          description: Global vault public key.
        pendingAuthorities:
          $ref: '#/components/schemas/AuthoritySetView'
          description: Pending authority set awaiting activation.
        perpAssetMap:
          type: string
          description: Perp asset map public key.
        withdrawQueue:
          type: string
          description: Withdraw queue account public key.
    AuthoritySetView:
      type: object
      description: View for authority set containing all authority pubkeys
      required:
        - rootAuthority
        - riskAuthority
        - marketAuthority
        - oracleAuthority
        - adlAuthority
        - cancelAuthority
        - backstopAuthority
      properties:
        adlAuthority:
          type: string
          description: ADL authority public key.
        backstopAuthority:
          type: string
          description: Backstop authority public key.
        cancelAuthority:
          type: string
          description: Cancel authority public key.
        marketAuthority:
          type: string
          description: Market authority public key.
        oracleAuthority:
          type: string
          description: Oracle authority public key.
        riskAuthority:
          type: string
          description: Risk authority public key.
        rootAuthority:
          type: string
          description: Root authority public key.
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  responses:
    ErrorResponse:
      description: Standard JSON error payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    PhoenixBearerAuth:
      type: http
      scheme: bearer
      description: Bearer access token issued by `/v1/auth/*` login endpoints.

````