Developers ยท API v1
Build on Phoenix Perpetuals.
Trade your accounts from your own code. Place orders with server-side stops, stream your risk live, get webhooks and TradingView alerts, and test everything for free in the sandbox first.
Your first call
List your accounts.
Create a sandbox key in your dashboard, put it in PHOENIXPERPS_API_KEY, and run this.
The whole quickstartcurl "https://sandbox-api.phoenixperpsfunding.com/v1https://api.phoenixperpsfunding.com/v1/accounts" \
-H "Authorization: Bearer $PHOENIXPERPS_API_KEY"Example response
{
"data": [
{
"id": "SANDBOX-00042-001",
"environment": "sandbox",
"stage": "sandbox",
"status": "active",
"product": "Classic",
"tier": "$100K",
"start_balance": "100000",
"balance": "100000",
"rule": {
"start_balance": "100000",
"daily_loss": {
"amount": "5000",
"pct": null,
"basis": "start_balance",
"on_breach": "fail_account"
},
"max_drawdown": {
"amount": "10000",
"pct": null,
"mode": "end_of_day"
},
"weekly_loss": {
"amount": null,
"pct": null
},
"profit_target": {
"amount": "8000",
"pct": null,
"requires_flat": false
},
"min_trading_days": 3,
"min_calendar_days": null,
"consistency": {
"amount": null,
"pct": null
},
"overnight_holding": true,
"weekend_holding": true,
"inactivity_days": null
},
"payout_eligible": false,
"parked": false,
"created_at": 1791460800000
}
],
"has_more": false,
"next_cursor": null,
"as_of": 1791460800000
}Where to go next.
Seven official SDKs.
Typed, with retries, pagination and streams built in. Every one is published and installs in one line.
Sandbox
A free sandbox for every trader.
Ten paper accounts of $100,000, on the same engine with real prices and real rules. Break things there, not on your evaluation.
How the sandbox works