Skip to main content
GET
/
exchange
Get exchange
curl --request GET \
  --url https://perp-api.phoenix.trade/exchange
{
  "keys": {
    "activeTraderBuffer": [
      "<string>"
    ],
    "canonicalMint": "<string>",
    "currentAuthorities": {
      "adlAuthority": "<string>",
      "backstopAuthority": "<string>",
      "cancelAuthority": "<string>",
      "marketAuthority": "<string>",
      "oracleAuthority": "<string>",
      "riskAuthority": "<string>",
      "rootAuthority": "<string>"
    },
    "globalConfig": "<string>",
    "globalTraderIndex": [
      "<string>"
    ],
    "globalVault": "<string>",
    "pendingAuthorities": {
      "adlAuthority": "<string>",
      "backstopAuthority": "<string>",
      "cancelAuthority": "<string>",
      "marketAuthority": "<string>",
      "oracleAuthority": "<string>",
      "riskAuthority": "<string>",
      "rootAuthority": "<string>"
    },
    "perpAssetMap": "<string>",
    "withdrawQueue": "<string>"
  },
  "markets": [
    {
      "assetId": 1,
      "baseLotsDecimals": 123,
      "fundingIntervalSeconds": 1,
      "fundingPeriodSeconds": 1,
      "isolatedOnly": true,
      "leverageTiers": [
        {
          "limitOrderRiskFactor": 123,
          "maxLeverage": 123,
          "maxSizeBaseLots": 1
        }
      ],
      "makerFee": 123,
      "marketPubkey": "<string>",
      "marketStatus": "uninitialized",
      "maxFundingRatePerInterval": 123,
      "maxLiquidationSizeBaseLots": 1,
      "openInterestCapBaseLots": 1,
      "riskFactors": {
        "backstop": 123,
        "cancelOrder": 123,
        "highRisk": 123,
        "maintenance": 123,
        "upnl": 123,
        "upnlForWithdrawals": 123
      },
      "splinePubkey": "<string>",
      "symbol": "<string>",
      "takerFee": 123,
      "tickSize": 1,
      "commodityMetadata": {
        "afterHoursRadius": "<string>",
        "isAfterHours": true,
        "isCommodity": true,
        "isReopen": true,
        "status": "active",
        "executionPriceBand": {
          "max": "<string>",
          "min": "<string>"
        },
        "lastIndexExpiryTimestamp": 1,
        "lastKnownIndexPrice": "<string>",
        "markPriceBand": {
          "max": "<string>",
          "min": "<string>"
        }
      },
      "maxFundingRatePerIntervalPercentage": 123
    }
  ]
}

Response

200 - application/json

Exchange configuration

Full exchange configuration response containing keys and market configs. Does NOT include live data like mark prices or current open interest.

keys
object
required

Exchange-level account keys and authorities.

markets
object[]
required

Static per-market configuration entries.