Optional live stats snapshot for seeding clients before websocket
updates.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Phoenix","colors":{"primary":"#FFA06E","light":"#FFC09F","dark":"#FF773D"},"logo":{"light":"https://mintcdn.com/ellipsislabs/ATrCr5hWKehgh2fc/logo/orange.svg?fit=max\u0026auto=format\u0026n=ATrCr5hWKehgh2fc\u0026q=85\u0026s=4434adc42b99022655b1faf9c31f76bc","dark":"https://mintcdn.com/ellipsislabs/ATrCr5hWKehgh2fc/logo/orange.svg?fit=max\u0026auto=format\u0026n=ATrCr5hWKehgh2fc\u0026q=85\u0026s=4434adc42b99022655b1faf9c31f76bc"},"favicon":"https://mintcdn.com/ellipsislabs/e-nhnM64N9hF0gqd/favicon.ico?fit=max\u0026auto=format\u0026n=e-nhnM64N9hF0gqd\u0026q=85\u0026s=21bdb0a023c12a96a1fea0dcf3c0254d","navbar":{"links":[],"primary":{"type":"button","label":"Launch App","href":"https://phoenix.trade"}},"footer":{"socials":{"discord":"https://discord.gg/phoenixtrade","x":"https://x.com/phoenixtrade"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ellipsislabs","hasAudioNarration":false,"actualSubdomain":"ellipsislabs","customDomains":["docs.phoenix.trade"],"gitSource":{"type":"github","owner":"ellipsis-labs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adbe72b143d32e31a47e87d","collectionId":"f402c8e3-1a08-43a8-ae40-78341d3bdaec","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adbe72b143d32e31a47e87d"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adbe72b143d32e31a47e87d","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API","count":68},{"language":"default","tag":"REST API","count":66},{"language":"default","tag":"Docs","count":32},{"language":"default","tag":"Trader","count":28},{"language":"default","tag":"Exchange","count":20},{"language":"default","tag":"SDK","count":12},{"language":"default","tag":"Auth","count":10},{"language":"default","tag":"Margin And Risk","count":8},{"language":"default","tag":"Matching Engine","count":7},{"language":"default","tag":"Overview","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--pagination-bg:#ffffff;--pagination-border:#dfd0cf;--pagination-text:#040404;--pagination-text-hover:#040404;--pagination-accent:#ff8d2a;--pagination-hover-shadow:rgba(255, 141, 42, 0.15)}.dark,[data-theme=dark]{--pagination-bg:#1d1a19;--pagination-border:#3e3a39;--pagination-text:#ffffff;--pagination-text-hover:#ffffff;--pagination-hover-shadow:rgba(255, 141, 42, 0.25)}#pagination{display:flex;gap:16px;margin-top:48px}#pagination a{display:flex;align-items:center;gap:12px;padding:16px 20px;background:var(--pagination-bg);border:1px solid var(--pagination-border);border-radius:12px;text-decoration:none;transition:all .2s ease}#pagination a:hover{border-color:var(--pagination-accent);box-shadow:0 2px 8px var(--pagination-hover-shadow)}#pagination a:first-child:not(:only-child),#pagination a:last-child:not(:only-child){flex:1}#pagination a:last-child:not(:only-child){justify-content:flex-end}#pagination a:only-child{flex:0 0 calc(50% - 8px)}#pagination a[class*=ml-auto]:only-child{margin-left:auto;justify-content:flex-end}#pagination a:only-child:not([class*=ml-auto]){margin-right:auto}#pagination a span{font-weight:600;font-size:15px;color:var(--pagination-text)}#pagination a:hover span{color:var(--pagination-text-hover)}#pagination a svg{stroke:var(--pagination-accent)}"}],"page":{"pagePath":"api/exchange/get-market","slug":"/api/exchange/get-market","pageMetadata":{"title":"Get market","description":"Handles `GET /v1/view/exchange/market/{symbol}` via `get.v1.view.exchange.market.by_symbol`.","deprecated":null,"version":null,"sidebarTitle":"Get market","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange/market/{symbol}","href":"/api/exchange/get-market","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Handles \", _jsx(_components.code, {\n children: \"GET /v1/view/exchange/market/{symbol}\"\n }), \" via \", _jsx(_components.code, {\n children: \"get.v1.view.exchange.market.by_symbol\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get market","description":"Handles `GET /v1/view/exchange/market/{symbol}` via `get.v1.view.exchange.market.by_symbol`.","deprecated":null,"version":null,"sidebarTitle":"Get market","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange/market/{symbol}","href":"/api/exchange/get-market","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Exchange"],"summary":"Get market","description":"Handles `GET /v1/view/exchange/market/{symbol}` via `get.v1.view.exchange.market.by_symbol`.","operationId":"get.v1.view.exchange.market.by_symbol","parameters":["74b75792-5590-45e4-ba1a-298d2c60ba58"],"responses":{"200":"80c0363f-c6d5-4067-ac3e-b817231eb7c6","404":"0e7b89ec-afe1-422d-bbc0-5a7e33168ada","500":"888a2f18-0867-4052-979e-8b7d2ffdf7b3"},"security":["58020c98-d195-4a66-a6eb-f66637fa6f3b"],"x-mint":{"metadata":{"title":"Get market","sidebarTitle":"Get market"}},"method":"get","type":"path","servers":["c5a05858-b3b5-48f2-bce6-7bb2151e7ea4"],"path":"/v1/view/exchange/market/{symbol}","baseUrlOptions":["https://perp-api.phoenix.trade"],"title":"Get market","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"74b75792-5590-45e4-ba1a-298d2c60ba58":{"name":"symbol","in":"path","description":"Market symbol (e.g., SOL-PERP)","required":true,"schema":{"type":"string","isRequired":true,"description":"Market symbol (e.g., SOL-PERP)","uniqueKey":"","typeLabel":"string"}}},"responses":{"80c0363f-c6d5-4067-ac3e-b817231eb7c6":{"description":"Market configuration","content":{"application/json":{"schema":{"type":"object","description":"Static market configuration without live data like prices or open interest.\nUsed by the `/exchange` endpoint to return market parameters.","required":["symbol","assetId","marketStatus","marketPubkey","splinePubkey","tickSize","baseLotsDecimals","takerFee","makerFee","leverageTiers","riskFactors","fundingIntervalSeconds","fundingPeriodSeconds","maxFundingRatePerInterval","openInterestCapBaseLots","maxLiquidationSizeBaseLots","isolatedOnly"],"properties":{"assetId":{"type":"integer","format":"int32","description":"Numeric asset identifier.","minimum":0,"isRequired":true,"uniqueKey":"assetId","typeLabel":"integer\u003cint32>"},"baseLotsDecimals":{"type":"integer","format":"int32","description":"Base-lot decimal exponent.","isRequired":true,"uniqueKey":"baseLotsDecimals","typeLabel":"integer\u003cint32>"},"fundingIntervalSeconds":{"type":"integer","format":"int32","description":"Funding interval length in seconds.","minimum":0,"isRequired":true,"uniqueKey":"fundingIntervalSeconds","typeLabel":"integer\u003cint32>"},"fundingPeriodSeconds":{"type":"integer","format":"int32","description":"Funding period length in seconds.","minimum":0,"isRequired":true,"uniqueKey":"fundingPeriodSeconds","typeLabel":"integer\u003cint32>"},"isolatedOnly":{"type":"boolean","description":"Whether this market only supports isolated margin positions","isRequired":true,"uniqueKey":"isolatedOnly","typeLabel":"boolean"},"leverageTiers":{"type":"array","items":{"type":"object","description":"Leverage tier with risk factors as f64 percentages.\nUsed by the `/exchange` endpoint.","required":["maxLeverage","maxSizeBaseLots","limitOrderRiskFactor"],"properties":{"limitOrderRiskFactor":{"type":"number","format":"double","description":"The limit order risk factor as a percentage (e.g., 60.0 = 60%).","isRequired":true,"uniqueKey":"leverageTiers.items.[INDEX].limitOrderRiskFactor","typeLabel":"number\u003cdouble>"},"maxLeverage":{"type":"number","format":"double","description":"Maximum leverage for this tier.","isRequired":true,"uniqueKey":"leverageTiers.items.[INDEX].maxLeverage","typeLabel":"number\u003cdouble>"},"maxSizeBaseLots":{"type":"integer","format":"int64","description":"Maximum size in base lots for this tier.","minimum":0,"isRequired":true,"uniqueKey":"leverageTiers.items.[INDEX].maxSizeBaseLots","typeLabel":"integer\u003cint64>"},"limitOrderRiskFactorBps":{"oneOf":[{"type":"integer","format":"int32","description":"The limit order risk factor in basis points (e.g., 6000 = 60%).","minimum":0,"uniqueKey":"leverageTiers.items.[INDEX].limitOrderRiskFactorBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"The limit order risk factor in basis points (e.g., 6000 = 60%).","minimum":0,"uniqueKey":"leverageTiers.items.[INDEX].limitOrderRiskFactorBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"leverageTiers.items.[INDEX].limitOrderRiskFactorBps","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"leverageTiers.items.[INDEX]","typeLabel":"object"},"description":"Configured leverage tiers.","isRequired":true,"uniqueKey":"leverageTiers","typeLabel":"object[]"},"makerFee":{"type":"number","format":"double","description":"Maker fee (percent).","isRequired":true,"uniqueKey":"makerFee","typeLabel":"number\u003cdouble>"},"marketPubkey":{"type":"string","description":"The orderbook account pubkey (base58 encoded)","isRequired":true,"uniqueKey":"marketPubkey","typeLabel":"string"},"marketStatus":{"type":"string","enum":["uninitialized","active","postOnly","paused","closed","tombstoned"],"description":"Current market status.","isRequired":true,"uniqueKey":"marketStatus","typeLabel":"enum\u003cstring>"},"maxFundingRatePerInterval":{"type":"integer","format":"int64","description":"Maximum absolute funding rate per interval.","isRequired":true,"uniqueKey":"maxFundingRatePerInterval","typeLabel":"integer\u003cint64>"},"maxLiquidationSizeBaseLots":{"type":"integer","format":"int64","description":"Maximum size for a single liquidation (in base lots)","minimum":0,"isRequired":true,"uniqueKey":"maxLiquidationSizeBaseLots","typeLabel":"integer\u003cint64>"},"openInterestCapBaseLots":{"type":"integer","format":"int64","description":"Maximum open interest allowed for this market (in base lots)","minimum":0,"isRequired":true,"uniqueKey":"openInterestCapBaseLots","typeLabel":"integer\u003cint64>"},"riskFactors":{"type":"object","description":"Risk factors as percentages.","required":["maintenance","backstop","highRisk","upnl","upnlForWithdrawals","cancelOrder"],"properties":{"backstop":{"type":"number","format":"double","description":"Backstop liquidation risk factor as a percentage.","isRequired":true,"uniqueKey":"riskFactors.backstop","typeLabel":"number\u003cdouble>"},"cancelOrder":{"type":"number","format":"double","description":"Cancel order risk factor as a percentage.","isRequired":true,"uniqueKey":"riskFactors.cancelOrder","typeLabel":"number\u003cdouble>"},"highRisk":{"type":"number","format":"double","description":"High risk threshold as a percentage.","isRequired":true,"uniqueKey":"riskFactors.highRisk","typeLabel":"number\u003cdouble>"},"maintenance":{"type":"number","format":"double","description":"Maintenance margin risk factor as a percentage (e.g., 50.0 = 50%).","isRequired":true,"uniqueKey":"riskFactors.maintenance","typeLabel":"number\u003cdouble>"},"upnl":{"type":"number","format":"double","description":"Risk factor for positive unrealized PnL penalty as a percentage.","isRequired":true,"uniqueKey":"riskFactors.upnl","typeLabel":"number\u003cdouble>"},"upnlForWithdrawals":{"type":"number","format":"double","description":"Risk factor for positive unrealized PnL penalty during withdrawals as a\npercentage.","isRequired":true,"uniqueKey":"riskFactors.upnlForWithdrawals","typeLabel":"number\u003cdouble>"},"backstopBps":{"oneOf":[{"type":"integer","format":"int32","description":"Backstop liquidation risk factor in basis points.","minimum":0,"uniqueKey":"riskFactors.backstopBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Backstop liquidation risk factor in basis points.","minimum":0,"uniqueKey":"riskFactors.backstopBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"riskFactors.backstopBps","typeLabel":"integer\u003cint32> | null"},"cancelOrderBps":{"oneOf":[{"type":"integer","format":"int32","description":"Cancel order risk factor in basis points.","minimum":0,"uniqueKey":"riskFactors.cancelOrderBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Cancel order risk factor in basis points.","minimum":0,"uniqueKey":"riskFactors.cancelOrderBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"riskFactors.cancelOrderBps","typeLabel":"integer\u003cint32> | null"},"highRiskBps":{"oneOf":[{"type":"integer","format":"int32","description":"High risk threshold in basis points.","minimum":0,"uniqueKey":"riskFactors.highRiskBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"High risk threshold in basis points.","minimum":0,"uniqueKey":"riskFactors.highRiskBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"riskFactors.highRiskBps","typeLabel":"integer\u003cint32> | null"},"maintenanceBps":{"oneOf":[{"type":"integer","format":"int32","description":"Maintenance margin risk factor in basis points (e.g., 5000 = 50%).","minimum":0,"uniqueKey":"riskFactors.maintenanceBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Maintenance margin risk factor in basis points (e.g., 5000 = 50%).","minimum":0,"uniqueKey":"riskFactors.maintenanceBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"riskFactors.maintenanceBps","typeLabel":"integer\u003cint32> | null"},"upnlBps":{"oneOf":[{"type":"integer","format":"int32","description":"Risk factor for positive unrealized PnL penalty in basis points.","minimum":0,"uniqueKey":"riskFactors.upnlBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Risk factor for positive unrealized PnL penalty in basis points.","minimum":0,"uniqueKey":"riskFactors.upnlBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"riskFactors.upnlBps","typeLabel":"integer\u003cint32> | null"},"upnlForWithdrawalsBps":{"oneOf":[{"type":"integer","format":"int32","description":"Risk factor for positive unrealized PnL penalty during withdrawals in\nbasis points.","minimum":0,"uniqueKey":"riskFactors.upnlForWithdrawalsBps.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","description":"Risk factor for positive unrealized PnL penalty during withdrawals in\nbasis points.","minimum":0,"uniqueKey":"riskFactors.upnlForWithdrawalsBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"riskFactors.upnlForWithdrawalsBps","typeLabel":"integer\u003cint32> | null"}},"isRequired":true,"uniqueKey":"riskFactors","typeLabel":"object"},"splinePubkey":{"type":"string","description":"The spline collection PDA (derived from market_pubkey)","isRequired":true,"uniqueKey":"splinePubkey","typeLabel":"string"},"symbol":{"type":"string","description":"Market symbol (for example, \"SOL-PERP\").","isRequired":true,"uniqueKey":"symbol","typeLabel":"string"},"takerFee":{"type":"number","format":"double","description":"Taker fee (percent).","isRequired":true,"uniqueKey":"takerFee","typeLabel":"number\u003cdouble>"},"tickSize":{"type":"integer","format":"int64","description":"Tick size in quote lots per base lot per tick.","minimum":0,"isRequired":true,"uniqueKey":"tickSize","typeLabel":"integer\u003cint64>"},"commodityMetadata":{"oneOf":[{"type":"null","uniqueKey":"commodityMetadata.oneOf.0","typeLabel":"null"},{"type":"object","description":"Commodity-specific metadata, present only for commodity markets.","required":["isCommodity","isReopen","isAfterHours","status","afterHoursRadius"],"properties":{"afterHoursRadius":{"type":"string","description":"Commodity after-hours radius in price units.","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.afterHoursRadius","typeLabel":"string"},"isAfterHours":{"type":"boolean","description":"Parsed after-hours flag.","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.isAfterHours","typeLabel":"boolean"},"isCommodity":{"type":"boolean","description":"Parsed commodity flag. Always true when this object is present.","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.isCommodity","typeLabel":"boolean"},"isReopen":{"type":"boolean","description":"Parsed reopen flag.","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.isReopen","typeLabel":"boolean"},"status":{"type":"string","description":"Derived commodity state.","enum":["active","afterHours","reopen"],"isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.status","typeLabel":"enum\u003cstring>"},"executionPriceBand":{"oneOf":[{"type":"null","uniqueKey":"commodityMetadata.oneOf.1.executionPriceBand.oneOf.0","typeLabel":"null"},{"type":"object","description":"Price band currently applied to execution-visible orderbook levels.","required":["min","max"],"properties":{"max":{"type":"string","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.executionPriceBand.oneOf.1.max","typeLabel":"string"},"min":{"type":"string","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.executionPriceBand.oneOf.1.min","typeLabel":"string"}},"uniqueKey":"commodityMetadata.oneOf.1.executionPriceBand.oneOf.1","typeLabel":"object"}],"uniqueKey":"commodityMetadata.oneOf.1.executionPriceBand","typeLabel":"null | object"},"lastIndexExpiryTimestamp":{"oneOf":[{"type":"integer","format":"int64","description":"Unix timestamp when the last known index price expires.","minimum":0,"uniqueKey":"commodityMetadata.oneOf.1.lastIndexExpiryTimestamp.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Unix timestamp when the last known index price expires.","minimum":0,"uniqueKey":"commodityMetadata.oneOf.1.lastIndexExpiryTimestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"commodityMetadata.oneOf.1.lastIndexExpiryTimestamp","typeLabel":"integer\u003cint64> | null"},"lastKnownIndexPrice":{"oneOf":[{"type":"string","description":"Last index price used for commodity after-hours/reopen behavior.","uniqueKey":"commodityMetadata.oneOf.1.lastKnownIndexPrice.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last index price used for commodity after-hours/reopen behavior.","uniqueKey":"commodityMetadata.oneOf.1.lastKnownIndexPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"commodityMetadata.oneOf.1.lastKnownIndexPrice","typeLabel":"string | null"},"markPriceBand":{"oneOf":[{"type":"null","uniqueKey":"commodityMetadata.oneOf.1.markPriceBand.oneOf.0","typeLabel":"null"},{"type":"object","description":"Mark-price clamp band around the last known index price.","required":["min","max"],"properties":{"max":{"type":"string","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.markPriceBand.oneOf.1.max","typeLabel":"string"},"min":{"type":"string","isRequired":true,"uniqueKey":"commodityMetadata.oneOf.1.markPriceBand.oneOf.1.min","typeLabel":"string"}},"uniqueKey":"commodityMetadata.oneOf.1.markPriceBand.oneOf.1","typeLabel":"object"}],"uniqueKey":"commodityMetadata.oneOf.1.markPriceBand","typeLabel":"null | object"}},"uniqueKey":"commodityMetadata.oneOf.1","typeLabel":"object"}],"uniqueKey":"commodityMetadata","typeLabel":"null | object"},"maxFundingRatePerIntervalPercentage":{"type":"number","format":"double","description":"Maximum absolute funding rate per interval as a percentage of notional\nat the current mark price.","uniqueKey":"maxFundingRatePerIntervalPercentage","typeLabel":"number\u003cdouble>"},"metadata":{"oneOf":[{"type":"null","uniqueKey":"metadata.oneOf.0","typeLabel":"null"},{"type":"object","description":"Public market metadata configured off-chain.","properties":{"calendar":{"oneOf":[{"type":"null","uniqueKey":"metadata.oneOf.1.calendar.oneOf.0","typeLabel":"null"},{"type":"object","description":"Market calendar metadata derived from the configured calendar id.","required":["id","description","calendarUri","contentSha256"],"properties":{"calendarUri":{"type":"string","description":"URI where the full market calendar can be fetched.","isRequired":true,"uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.calendarUri","typeLabel":"string"},"contentSha256":{"type":"string","description":"SHA-256 hash of the calendar content.","isRequired":true,"uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.contentSha256","typeLabel":"string"},"description":{"type":"string","description":"Human-readable calendar description.","isRequired":true,"uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.description","typeLabel":"string"},"id":{"type":"string","description":"Market calendar identifier configured off-chain.","isRequired":true,"uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.id","typeLabel":"string"},"nextMarketTransitionUtc":{"oneOf":[{"type":"string","format":"date-time","description":"Next UTC timestamp at which this calendar changes market state.","uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.nextMarketTransitionUtc.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Next UTC timestamp at which this calendar changes market state.","uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.nextMarketTransitionUtc.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.calendar.oneOf.1.nextMarketTransitionUtc","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"metadata.oneOf.1.calendar.oneOf.1","typeLabel":"object"}],"uniqueKey":"metadata.oneOf.1.calendar","typeLabel":"null | object"},"coinGeckoId":{"oneOf":[{"type":"string","description":"CoinGecko asset identifier.","uniqueKey":"metadata.oneOf.1.coinGeckoId.oneOf.0","typeLabel":"string"},{"type":"null","description":"CoinGecko asset identifier.","uniqueKey":"metadata.oneOf.1.coinGeckoId.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.coinGeckoId","typeLabel":"string | null"},"coinMarketCapId":{"oneOf":[{"type":"integer","format":"int64","description":"CoinMarketCap numeric asset identifier.","uniqueKey":"metadata.oneOf.1.coinMarketCapId.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"CoinMarketCap numeric asset identifier.","uniqueKey":"metadata.oneOf.1.coinMarketCapId.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.coinMarketCapId","typeLabel":"integer\u003cint64> | null"},"description":{"oneOf":[{"type":"string","description":"Human-readable market description.","uniqueKey":"metadata.oneOf.1.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable market description.","uniqueKey":"metadata.oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.description","typeLabel":"string | null"},"displayColor":{"oneOf":[{"type":"string","description":"Preferred display color for this market.","uniqueKey":"metadata.oneOf.1.displayColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Preferred display color for this market.","uniqueKey":"metadata.oneOf.1.displayColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.displayColor","typeLabel":"string | null"},"logoUri":{"oneOf":[{"type":"string","description":"Logo URI for this market.","uniqueKey":"metadata.oneOf.1.logoUri.oneOf.0","typeLabel":"string"},{"type":"null","description":"Logo URI for this market.","uniqueKey":"metadata.oneOf.1.logoUri.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.logoUri","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Human-readable market name.","uniqueKey":"metadata.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Human-readable market name.","uniqueKey":"metadata.oneOf.1.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.name","typeLabel":"string | null"},"tokensXyzAssetId":{"oneOf":[{"type":"string","description":"tokens.xyz asset identifier.","uniqueKey":"metadata.oneOf.1.tokensXyzAssetId.oneOf.0","typeLabel":"string"},{"type":"null","description":"tokens.xyz asset identifier.","uniqueKey":"metadata.oneOf.1.tokensXyzAssetId.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.tokensXyzAssetId","typeLabel":"string | null"}},"uniqueKey":"metadata.oneOf.1","typeLabel":"object"}],"uniqueKey":"metadata","typeLabel":"null | object"},"statsSnapshot":{"oneOf":[{"type":"null","uniqueKey":"statsSnapshot.oneOf.0","typeLabel":"null"},{"type":"object","description":"Optional live stats snapshot for seeding clients before websocket\nupdates.","required":["slot","slotIndex","openInterestBaseLots","fundingStartIntervalTimestamp","cumulativeFundingRate"],"properties":{"cumulativeFundingRate":{"type":"integer","format":"int64","description":"Current cumulative funding rate.","isRequired":true,"uniqueKey":"statsSnapshot.oneOf.1.cumulativeFundingRate","typeLabel":"integer\u003cint64>"},"fundingStartIntervalTimestamp":{"type":"integer","format":"int64","description":"Unix timestamp in seconds for the current funding interval start.","minimum":0,"isRequired":true,"uniqueKey":"statsSnapshot.oneOf.1.fundingStartIntervalTimestamp","typeLabel":"integer\u003cint64>"},"openInterestBaseLots":{"type":"integer","format":"int64","description":"Current open interest in base lots.","minimum":0,"isRequired":true,"uniqueKey":"statsSnapshot.oneOf.1.openInterestBaseLots","typeLabel":"integer\u003cint64>"},"slot":{"type":"integer","format":"int64","description":"Solana slot of the state snapshot used to build these stats.","minimum":0,"isRequired":true,"uniqueKey":"statsSnapshot.oneOf.1.slot","typeLabel":"integer\u003cint64>"},"slotIndex":{"type":"integer","format":"int32","description":"Intra-slot sequence index of the state snapshot used to build these\nstats.","minimum":0,"isRequired":true,"uniqueKey":"statsSnapshot.oneOf.1.slotIndex","typeLabel":"integer\u003cint32>"}},"uniqueKey":"statsSnapshot.oneOf.1","typeLabel":"object"}],"uniqueKey":"statsSnapshot","typeLabel":"null | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"assetId":1,"baseLotsDecimals":123,"fundingIntervalSeconds":1,"fundingPeriodSeconds":1,"isolatedOnly":true,"leverageTiers":[{"limitOrderRiskFactor":123,"maxLeverage":123,"maxSizeBaseLots":1,"limitOrderRiskFactorBps":1}],"makerFee":123,"marketPubkey":"\u003cstring>","marketStatus":"uninitialized","maxFundingRatePerInterval":123,"maxLiquidationSizeBaseLots":1,"openInterestCapBaseLots":1,"riskFactors":{"backstop":123,"cancelOrder":123,"highRisk":123,"maintenance":123,"upnl":123,"upnlForWithdrawals":123,"backstopBps":1,"cancelOrderBps":1,"highRiskBps":1,"maintenanceBps":1,"upnlBps":1,"upnlForWithdrawalsBps":1},"splinePubkey":"\u003cstring>","symbol":"\u003cstring>","takerFee":123,"tickSize":1,"commodityMetadata":{"afterHoursRadius":"\u003cstring>","isAfterHours":true,"isCommodity":true,"isReopen":true,"status":"active","executionPriceBand":{"max":"\u003cstring>","min":"\u003cstring>"},"lastIndexExpiryTimestamp":1,"lastKnownIndexPrice":"\u003cstring>","markPriceBand":{"max":"\u003cstring>","min":"\u003cstring>"}},"maxFundingRatePerIntervalPercentage":123,"metadata":{"calendar":{"calendarUri":"\u003cstring>","contentSha256":"\u003cstring>","description":"\u003cstring>","id":"\u003cstring>","nextMarketTransitionUtc":"2023-11-07T05:31:56Z"},"coinGeckoId":"\u003cstring>","coinMarketCapId":123,"description":"\u003cstring>","displayColor":"\u003cstring>","logoUri":"\u003cstring>","name":"\u003cstring>","tokensXyzAssetId":"\u003cstring>"},"statsSnapshot":{"cumulativeFundingRate":123,"fundingStartIntervalTimestamp":1,"openInterestBaseLots":1,"slot":1,"slotIndex":1}}}},"exampleType":"generated"}},"exampleType":"generated"},"0e7b89ec-afe1-422d-bbc0-5a7e33168ada":{"description":"Standard JSON error payload.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"888a2f18-0867-4052-979e-8b7d2ffdf7b3":{"description":"Standard JSON error payload.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"58020c98-d195-4a66-a6eb-f66637fa6f3b":{"PhoenixBearerAuth":{"type":"http","scheme":"bearer","description":"Bearer access token issued by `/v1/auth/*` login endpoints.","scopes":[]}}},"servers":{"c5a05858-b3b5-48f2-bce6-7bb2151e7ea4":{"url":"https://perp-api.phoenix.trade","description":"Phoenix Eternal Perp API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer access token issued by `/v1/auth/*` login endpoints.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer access token issued by `/v1/auth/*` login endpoints.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"PhoenixBearerAuth","name":"Authorization"}],"title":"PhoenixBearerAuth"}]},"originalFileLocation":"openapi/phoenix-public-api.json"},"subdomain":"ellipsislabs","siteName":"Phoenix","title":"Get market - Phoenix","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-25T22:14:06.000Z","originalFileLocation":"api/exchange/get-market.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Handles GET /v1/view/exchange/market/{symbol} via get.v1.view.exchange.market.by_symbol.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Phoenix\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get market - Phoenix\">\u003cmeta data-mint-head property=\"og:description\" content=\"Handles GET /v1/view/exchange/market/{symbol} via get.v1.view.exchange.market.by_symbol.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Phoenix\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.phoenix.trade/api/exchange/get-market\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ellipsislabs.mintlify.app/_mintlify/api/og/v2?division=Exchange\u0026amp;title=Get+market\u0026amp;description=Handles+%60GET+%2Fv1%2Fview%2Fexchange%2Fmarket%2F%7Bsymbol%7D%60+via+%60get.v1.view.exchange.market.by_symbol%60.\u0026amp;theme=ca57093d413b93c8c43da4a8\u0026amp;signature=c53f64d79e849678caad6da865ad4d06db7bf20952686a17ef14b8f9a08c0bb3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get market - Phoenix\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Handles GET /v1/view/exchange/market/{symbol} via get.v1.view.exchange.market.by_symbol.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ellipsislabs.mintlify.app/_mintlify/api/og/v2?division=Exchange\u0026amp;title=Get+market\u0026amp;description=Handles+%60GET+%2Fv1%2Fview%2Fexchange%2Fmarket%2F%7Bsymbol%7D%60+via+%60get.v1.view.exchange.market.by_symbol%60.\u0026amp;theme=ca57093d413b93c8c43da4a8\u0026amp;signature=c53f64d79e849678caad6da865ad4d06db7bf20952686a17ef14b8f9a08c0bb3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ellipsislabs/5uPMZj9ueZBfavFN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Phoenix\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFA06E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.phoenix.trade/api/exchange/get-market\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/exchange/get-market.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.phoenix.trade/#organization\",\"name\":\"Phoenix\",\"url\":\"https://docs.phoenix.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ellipsislabs/ATrCr5hWKehgh2fc/logo/orange.svg?fit=max\u0026auto=format\u0026n=ATrCr5hWKehgh2fc\u0026q=85\u0026s=4434adc42b99022655b1faf9c31f76bc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.phoenix.trade#website\",\"name\":\"Phoenix\",\"url\":\"https://docs.phoenix.trade\",\"publisher\":{\"@id\":\"https://docs.phoenix.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.phoenix.trade/api/exchange/get-market#webpage\",\"url\":\"https://docs.phoenix.trade/api/exchange/get-market\",\"name\":\"Get market\",\"description\":\"Handles GET /v1/view/exchange/market/{symbol} via get.v1.view.exchange.market.by_symbol.\",\"dateModified\":\"2026-06-25T22:14:06.000Z\",\"isPartOf\":{\"@id\":\"https://docs.phoenix.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.phoenix.trade/api/exchange/get-market#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.phoenix.trade/api/exchange/get-market#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.phoenix.trade/api/exchange/get-exchange\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exchange\",\"item\":\"https://docs.phoenix.trade/api/exchange/get-exchange\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get market\",\"item\":\"https://docs.phoenix.trade/api/exchange/get-market\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.phoenix.trade/api/exchange/get-market#apireference\",\"headline\":\"Get market\",\"name\":\"Get market\",\"description\":\"Handles GET /v1/view/exchange/market/{symbol} via get.v1.view.exchange.market.by_symbol.\",\"url\":\"https://docs.phoenix.trade/api/exchange/get-market\",\"mainEntityOfPage\":{\"@id\":\"https://docs.phoenix.trade/api/exchange/get-market#webpage\"},\"dateModified\":\"2026-06-25T22:14:06.000Z\",\"publisher\":{\"@id\":\"https://docs.phoenix.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.phoenix.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Phoenix\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Phoenix","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/rise"}]},{"tab":"API","groups":[{"group":"Overview","pages":[{"title":"API","href":"/api"}]},{"group":"REST API","pages":[{"group":"Exchange","pages":[{"title":"Get exchange","deprecated":null,"version":null,"sidebarTitle":"Get exchange","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange","href":"/api/exchange/get-exchange"},{"title":"Get exchange keys","deprecated":null,"version":null,"sidebarTitle":"Get exchange keys","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange/keys","href":"/api/exchange/get-exchange-keys"},{"title":"List markets","description":"Handles `GET /v1/view/exchange/markets` via `get.v1.view.exchange.markets`.","deprecated":null,"version":null,"sidebarTitle":"List markets","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange/markets","href":"/api/exchange/list-markets"},{"title":"Get market","deprecated":null,"version":null,"sidebarTitle":"Get market","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange/market/{symbol}","href":"/api/exchange/get-market"},{"title":"Get exchange status","description":"Handles `GET /v1/view/exchange/status` via `get.v1.view.exchange.status`.","deprecated":null,"version":null,"sidebarTitle":"Get exchange status","openapi":"/openapi/phoenix-public-api.json get /v1/view/exchange/status","href":"/api/exchange/get-exchange-status"},{"title":"Get exchange snapshot","deprecated":null,"version":null,"sidebarTitle":"Get exchange snapshot","openapi":"/openapi/phoenix-public-api.json get /v1/exchange/snapshot","href":"/api/exchange/get-exchange-snapshot"},{"title":"Build register trader instructions","deprecated":null,"version":null,"sidebarTitle":"Build register trader instructions","openapi":"/openapi/phoenix-public-api.json post /v1/exchange/build-register-ixs","href":"/api/exchange/build-register-trader-instructions"},{"title":"Submit register trader transaction","deprecated":null,"version":null,"sidebarTitle":"Submit register trader transaction","openapi":"/openapi/phoenix-public-api.json post /v1/exchange/send-register-ixs","href":"/api/exchange/submit-register-trader-transaction"},{"title":"Get orderbook","deprecated":null,"version":null,"sidebarTitle":"Get orderbook","openapi":"/openapi/phoenix-public-api.json get /v1/view/orderbook/{symbol}","href":"/api/exchange/get-orderbook"},{"title":"Get mark price","deprecated":null,"version":null,"sidebarTitle":"Get mark price","openapi":"/openapi/phoenix-public-api.json get /v1/market/{symbol}/mark-price","href":"/api/exchange/get-mark-price"},{"title":"Get market stats history","deprecated":null,"version":null,"sidebarTitle":"Get market stats history","openapi":"/openapi/phoenix-public-api.json get /v1/market/{symbol}/stats","href":"/api/exchange/get-market-stats-history"},{"title":"Get next market calendar transition","deprecated":null,"version":null,"sidebarTitle":"Get next market calendar transition","openapi":"/openapi/phoenix-public-api.json get /v1/market/{symbol}/next-market-calendar-transition","href":"/api/exchange/get-next-market-calendar-transition"},{"title":"Get next commodity market transition","deprecated":null,"version":null,"sidebarTitle":"Get next commodity market transition","openapi":"/openapi/phoenix-public-api.json get /v1/market/next-commodity-market-transition","href":"/api/exchange/get-next-commodity-market-transition"},{"title":"Get market calendar","deprecated":null,"version":null,"sidebarTitle":"Get market calendar","openapi":"/openapi/phoenix-public-api.json get /v1/market/{symbol}/market-calendar","href":"/api/exchange/get-market-calendar"},{"title":"Get market calendar by ID","deprecated":null,"version":null,"sidebarTitle":"Get market calendar by ID","openapi":"/openapi/phoenix-public-api.json get /v1/market-calendar/{market_calendar_id}","href":"/api/exchange/get-market-calendar-by-id"},{"title":"Get commodity market calendar","deprecated":null,"version":null,"sidebarTitle":"Get commodity market calendar","openapi":"/openapi/phoenix-public-api.json get /v1/market/commodity-calendar","href":"/api/exchange/get-commodity-market-calendar"},{"title":"Get candles","deprecated":null,"version":null,"sidebarTitle":"Get candles","openapi":"/openapi/phoenix-public-api.json get /v1/candles/{symbol}","href":"/api/exchange/get-candles"},{"title":"Get funding rate history","deprecated":null,"version":null,"sidebarTitle":"Get funding rate history","openapi":"/openapi/phoenix-public-api.json get /v1/funding/{symbol}/rates","href":"/api/exchange/get-funding-rate-history"},{"title":"Get funding overview","deprecated":null,"version":null,"sidebarTitle":"Get funding overview","openapi":"/openapi/phoenix-public-api.json get /v1/funding/overview","href":"/api/exchange/get-funding-overview"},{"title":"Get market fills","deprecated":null,"version":null,"sidebarTitle":"Get market fills","openapi":"/openapi/phoenix-public-api.json get /v1/trades/{symbol}/fills","href":"/api/exchange/get-market-fills"}]},{"group":"Trader","pages":[{"title":"Get trader","deprecated":null,"version":null,"sidebarTitle":"Get trader","openapi":"/openapi/phoenix-public-api.json get /v1/view/trader/{pubkey}","href":"/api/trader/get-trader"},{"title":"Get trader capabilities","deprecated":null,"version":null,"sidebarTitle":"Get trader capabilities","openapi":"/openapi/phoenix-public-api.json get /v1/view/trader-capabilities","href":"/api/trader/get-trader-capabilities"},{"title":"Get trader state","deprecated":null,"version":null,"sidebarTitle":"Get trader state","openapi":"/openapi/phoenix-public-api.json get /v1/trader/state/{authority_pubkey}","href":"/api/trader/get-trader-state"},{"title":"Get user PnL","deprecated":null,"version":null,"sidebarTitle":"Get user PnL","openapi":"/openapi/phoenix-public-api.json get /v1/users/{user_pubkey}/pnl","href":"/api/trader/get-user-pnl"},{"title":"Get trader portfolio values","deprecated":null,"version":null,"sidebarTitle":"Get trader portfolio values","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/portfolio-values","href":"/api/trader/get-trader-portfolio-values"},{"title":"Get trader PnL","deprecated":null,"version":null,"sidebarTitle":"Get trader PnL","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/pnl","href":"/api/trader/get-trader-pnl"},{"title":"Get trader market PnL","deprecated":null,"version":null,"sidebarTitle":"Get trader market PnL","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/pnl/markets","href":"/api/trader/get-trader-market-pnl"},{"title":"Get user collateral history","deprecated":null,"version":null,"sidebarTitle":"Get user collateral history","openapi":"/openapi/phoenix-public-api.json get /v1/users/{user_pubkey}/collateral-history","href":"/api/trader/get-user-collateral-history"},{"title":"Get trader collateral history","deprecated":null,"version":null,"sidebarTitle":"Get trader collateral history","openapi":"/openapi/phoenix-public-api.json get /v1/trader/{authority}/collateral-history","href":"/api/trader/get-trader-collateral-history"},{"title":"Get trader collateral history","deprecated":null,"version":null,"sidebarTitle":"Get trader collateral history","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/collateral-history","href":"/api/trader/get-trader-collateral-history-1"},{"title":"Get user liquidation history","deprecated":null,"version":null,"sidebarTitle":"Get user liquidation history","openapi":"/openapi/phoenix-public-api.json get /v1/users/{user_pubkey}/liquidation-history","href":"/api/trader/get-user-liquidation-history"},{"title":"Get trader funding history","deprecated":null,"version":null,"sidebarTitle":"Get trader funding history","openapi":"/openapi/phoenix-public-api.json get /v1/trader/{authority}/funding-history","href":"/api/trader/get-trader-funding-history"},{"title":"Get user hourly funding","deprecated":null,"version":null,"sidebarTitle":"Get user hourly funding","openapi":"/openapi/phoenix-public-api.json get /v1/users/{user_pubkey}/funding-hourly","href":"/api/trader/get-user-hourly-funding"},{"title":"Get order history","deprecated":null,"version":null,"sidebarTitle":"Get order history","openapi":"/openapi/phoenix-public-api.json get /v1/trader/{authority}/order-history","href":"/api/trader/get-order-history"},{"title":"Get order history v2","deprecated":null,"version":null,"sidebarTitle":"Get order history v2","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/orders_v2","href":"/api/trader/get-order-history-v2"},{"title":"Get trade history","deprecated":null,"version":null,"sidebarTitle":"Get trade history","openapi":"/openapi/phoenix-public-api.json get /v1/trader/{authority}/trades-history","href":"/api/trader/get-trade-history"},{"title":"Get user trade history v2","deprecated":null,"version":null,"sidebarTitle":"Get user trade history v2","openapi":"/openapi/phoenix-public-api.json get /v1/users/{user_pubkey}/trades_v2","href":"/api/trader/get-user-trade-history-v2"},{"title":"Get trader trade history v2","deprecated":null,"version":null,"sidebarTitle":"Get trader trade history v2","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/trades_v2","href":"/api/trader/get-trader-trade-history-v2"},{"title":"Build isolated limit order transaction","deprecated":null,"version":null,"sidebarTitle":"Build isolated limit order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-isolated-limit-order","href":"/api/trader/build-isolated-limit-order-transaction"},{"title":"Build isolated market order transaction","deprecated":null,"version":null,"sidebarTitle":"Build isolated market order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-isolated-market-order","href":"/api/trader/build-isolated-market-order-transaction"},{"title":"Build cancel conditional order transaction","deprecated":null,"version":null,"sidebarTitle":"Build cancel conditional order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/cancel-conditional-order","href":"/api/trader/build-cancel-conditional-order-transaction"},{"title":"Build stop loss order transaction","deprecated":null,"version":null,"sidebarTitle":"Build stop loss order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-stop-loss-order","href":"/api/trader/build-stop-loss-order-transaction"},{"title":"Build cancel stop loss order transaction","deprecated":null,"version":null,"sidebarTitle":"Build cancel stop loss order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/cancel-stop-loss-order","href":"/api/trader/build-cancel-stop-loss-order-transaction"},{"title":"Build attached conditional order transaction","deprecated":null,"version":null,"sidebarTitle":"Build attached conditional order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-attached-conditional-order","href":"/api/trader/build-attached-conditional-order-transaction"},{"title":"Build position conditional order transaction","deprecated":null,"version":null,"sidebarTitle":"Build position conditional order transaction","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-position-conditional-order","href":"/api/trader/build-position-conditional-order-transaction"},{"title":"Build isolated limit order transaction with conditionals","deprecated":null,"version":null,"sidebarTitle":"Build isolated limit order transaction with conditionals","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-isolated-limit-order-with-conditionals","href":"/api/trader/build-isolated-limit-order-transaction-with-conditionals"},{"title":"Build isolated limit order transaction with liquidation estimate","deprecated":null,"version":null,"sidebarTitle":"Build isolated limit order transaction with liquidation estimate","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-isolated-limit-order-enhanced","href":"/api/trader/build-isolated-limit-order-transaction-with-liquidation-estimate"},{"title":"Build isolated market order transaction with liquidation estimate","deprecated":null,"version":null,"sidebarTitle":"Build isolated market order transaction with liquidation estimate","openapi":"/openapi/phoenix-public-api.json post /v1/ix/place-isolated-market-order-enhanced","href":"/api/trader/build-isolated-market-order-transaction-with-liquidation-estimate"}]},{"group":"Notifications","pages":[{"title":"List trader notifications","deprecated":null,"version":null,"sidebarTitle":"List trader notifications","openapi":"/openapi/phoenix-public-api.json get /v1/traders/{trader_pubkey}/notifications","href":"/api/notifications/list-trader-notifications"},{"title":"Acknowledge notifications up to timestamp","deprecated":null,"version":null,"sidebarTitle":"Acknowledge notifications up to timestamp","openapi":"/openapi/phoenix-public-api.json post /v1/traders/{trader_pubkey}/notifications/ack/up-to","href":"/api/notifications/acknowledge-notifications-up-to-timestamp"},{"title":"Acknowledge notifications","deprecated":null,"version":null,"sidebarTitle":"Acknowledge notifications","openapi":"/openapi/phoenix-public-api.json post /v1/traders/{trader_pubkey}/notifications/ack/notifications","href":"/api/notifications/acknowledge-notifications"}]},{"group":"Invite","pages":[{"title":"Validate invite","deprecated":null,"version":null,"sidebarTitle":"Validate invite","openapi":"/openapi/phoenix-public-api.json post /v1/invite/validate","href":"/api/invite/validate-invite"},{"title":"Check wallet invite status","deprecated":null,"version":null,"sidebarTitle":"Check wallet invite status","openapi":"/openapi/phoenix-public-api.json get /v1/invite/check/{wallet}","href":"/api/invite/check-wallet-invite-status"},{"title":"Activate referral (deprecated June 30, 2026)","deprecated":null,"version":null,"sidebarTitle":"Activate referral (deprecated June 30, 2026)","openapi":"/openapi/phoenix-public-api.json post /v1/referral/activate","href":"/api/invite/activate-referral-deprecated-june-30-2026"},{"title":"Get referral activation permission","deprecated":null,"version":null,"sidebarTitle":"Get referral activation permission","openapi":"/openapi/phoenix-public-api.json get /v1/referral/activation-permission","href":"/api/invite/get-referral-activation-permission"},{"title":"Activate referral with user-funded transaction","deprecated":null,"version":null,"sidebarTitle":"Activate referral with user-funded transaction","openapi":"/openapi/phoenix-public-api.json post /v1/referral/activate-tx","href":"/api/invite/activate-referral-with-user-funded-transaction"}]},{"group":"Auth","pages":[{"title":"Log in with Privy token","deprecated":null,"version":null,"sidebarTitle":"Log in with Privy token","openapi":"/openapi/phoenix-public-api.json post /v1/auth/login/privy","href":"/api/auth/log-in-with-privy-token"},{"title":"Create wallet transaction challenge","deprecated":null,"version":null,"sidebarTitle":"Create wallet transaction challenge","openapi":"/openapi/phoenix-public-api.json post /v1/auth/wallet/transaction-challenge","href":"/api/auth/create-wallet-transaction-challenge"},{"title":"Log in with signed wallet transaction","deprecated":null,"version":null,"sidebarTitle":"Log in with signed wallet transaction","openapi":"/openapi/phoenix-public-api.json post /v1/auth/login/wallet/transaction","href":"/api/auth/log-in-with-signed-wallet-transaction"},{"title":"Create service login challenge","deprecated":null,"version":null,"sidebarTitle":"Create service login challenge","openapi":"/openapi/phoenix-public-api.json post /v1/auth/login/service/challenge","href":"/api/auth/create-service-login-challenge"},{"title":"Log in with service signature","deprecated":null,"version":null,"sidebarTitle":"Log in with service signature","openapi":"/openapi/phoenix-public-api.json post /v1/auth/login/service","href":"/api/auth/log-in-with-service-signature"},{"title":"Get wallet login nonce","deprecated":null,"version":null,"sidebarTitle":"Get wallet login nonce","openapi":"/openapi/phoenix-public-api.json get /v1/auth/nonce","href":"/api/auth/get-wallet-login-nonce"},{"title":"Log in with wallet signature","deprecated":null,"version":null,"sidebarTitle":"Log in with wallet signature","openapi":"/openapi/phoenix-public-api.json post /v1/auth/login/wallet","href":"/api/auth/log-in-with-wallet-signature"},{"title":"Refresh session","deprecated":null,"version":null,"sidebarTitle":"Refresh session","openapi":"/openapi/phoenix-public-api.json post /v1/auth/refresh","href":"/api/auth/refresh-session"},{"title":"Log out","deprecated":null,"version":null,"sidebarTitle":"Log out","openapi":"/openapi/phoenix-public-api.json post /v1/auth/logout","href":"/api/auth/log-out"},{"title":"Get JWKS","deprecated":null,"version":null,"sidebarTitle":"Get JWKS","openapi":"/openapi/phoenix-public-api.json get /v1/auth/jwks","href":"/api/auth/get-jwks"}]}]},{"group":"WebSocket","pages":[{"title":"WebSocket","href":"/api/websocket"}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli"}]}]},"title":"Get market - Phoenix","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}