API reference ยท Platform
/v1/statusGet the status.
No key
Whether the environment takes requests, whether the trading engine is connected, and which features are on.
Responses#
200OK
-
The environment of the host you called.
One of
livesandbox -
Whether this environment takes requests.
One of
operationaldisabled -
Show 3 fields
-
Whether the API is connected to the trading engine.
-
When the trading engine last started.
-
Closes, flattens, cancel-alls and margin changes over the last minute: degraded when the engine was too busy to take one (engine_busy).
One of
operationaldegraded
-
-
Show 2 fields
-
When your keys and accounts were last confirmed with the website.
-
Account figures over the last minute: degraded when more than 5% of them were older than usual (stale) or could not be read (state_unavailable).
One of
operationaldegraded
-
-
Show 2 fields
-
Whether the market-data stream is live, with every price feed.
-
When that was last checked.
-
-
Show 5 fields
-
The account stream.
-
Market data.
-
Webhooks.
-
TradingView alerts.
-
AI assistants (MCP).
-
-
The time on the server.
304Not Modified: your If-None-Match still matches (no body; nothing changed).
400The request carries something this route does not know, or a parameter twice.
{
"error": {
"type": "invalid_request",
"code": "unknown_field",
"message": "A parameter or field is not part of this route.",
"request_id": "req_0f9c2a7d8e1b4c6a9f3e5d7b1a2c4e6f",
"retryable": false,
"doc_url": "https://docs.phoenixperpsfunding.com/reference/errors#unknown_field"
}
}405The path exists, with other methods (see the Allow header).
{
"error": {
"type": "method",
"code": "method_not_allowed",
"message": "This route does not take that method.",
"request_id": "req_0f9c2a7d8e1b4c6a9f3e5d7b1a2c4e6f",
"retryable": false,
"doc_url": "https://docs.phoenixperpsfunding.com/reference/errors#method_not_allowed"
}
}414The URL is over the length limit.
{
"error": {
"type": "payload",
"code": "uri_too_long",
"message": "The address is too long.",
"request_id": "req_0f9c2a7d8e1b4c6a9f3e5d7b1a2c4e6f",
"retryable": false,
"doc_url": "https://docs.phoenixperpsfunding.com/reference/errors#uri_too_long"
}
}429A request budget is used up (details.scope says which).
{
"error": {
"type": "rate_limit",
"code": "rate_limited",
"message": "Too many requests: slow down.",
"request_id": "req_0f9c2a7d8e1b4c6a9f3e5d7b1a2c4e6f",
"retryable": true,
"doc_url": "https://docs.phoenixperpsfunding.com/reference/errors#rate_limited"
}
}500An error we did not expect.
{
"error": {
"type": "server",
"code": "internal_error",
"message": "Something went wrong on our side.",
"request_id": "req_0f9c2a7d8e1b4c6a9f3e5d7b1a2c4e6f",
"retryable": true,
"doc_url": "https://docs.phoenixperpsfunding.com/reference/errors#internal_error"
}
}503A service this call needs did not answer.
{
"error": {
"type": "server",
"code": "temporarily_unavailable",
"message": "This cannot be done right now. Try again in a moment.",
"request_id": "req_0f9c2a7d8e1b4c6a9f3e5d7b1a2c4e6f",
"retryable": true,
"doc_url": "https://docs.phoenixperpsfunding.com/reference/errors#temporarily_unavailable"
}
}Errors#
Codes this endpoint can return. Match on the code, never on the message.