Skip to main content
GET
/
v1
/
market
/
next-commodity-market-transition
Get next commodity market transition
curl --request GET \
  --url https://perp-api.phoenix.trade/v1/market/next-commodity-market-transition
{
  "currentState": "open",
  "loadedAt": "2023-11-07T05:31:56Z",
  "market": "<string>",
  "nextMarketState": "open",
  "utcNextTransition": "2023-11-07T05:31:56Z"
}

Response

Next commodity market transition

currentState
enum<string>
required
Available options:
open,
afterHours
loadedAt
string<date-time>
required
market
string
required
nextMarketState
null | enum<string>
Available options:
open,
afterHours
utcNextTransition
string<date-time> | null