List subscriptions
Last updated:
Request
Synthetic example for the production API. Replace YOUR_API_KEY and the ids. Do not send it against a live account until you mean to.
curl -X GET "https://api.fxapis.com/v1/copy/subscriptions" \
-H "Authorization: Bearer YOUR_API_KEY"Followers, newest first, with their status, settings, equity, today's profit where the figures allow, and their last execution. Paginated by cursor.
Authorization
apiKey Authorization: Bearer fx_live_<id>_<secret>.
A key is shown once, at creation. We cannot show it again or recover it for you.
Keys carry a label (live or test) in the key itself, so each configuration is easy to tell
apart. Both reach real brokers: test with a broker demo account.
Scopes are per key. A key without accounts:write can read accounts and nothing else.
In: header
Query Parameters
uuiduuidDefault: 100.
1 <= value <= 500The previous page's nextCursor.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.fxapis.com/v1/copy/subscriptions"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "strategyId": "c855e259-15d8-4385-a60f-bdf8f7695ef7", "followerAccountId": "a14041f3-1c82-4713-aa88-52d0145c7220", "status": "active", "stopReason": "risk_limit:day:equity", "stopDetail": null, "stoppedAt": null, "deleting": true, "settings": { "sizing": { "mode": "balance_ratio", "multiplier": 1, "lots": "string", "riskPercent": 0.01 }, "reverse": false, "copySlTp": "off", "symbols": { "allow": [], "block": [], "map": {} }, "limits": { "maxLots": null, "maxOpenPositions": null, "minLots": "skip" }, "late": { "maxDelaySeconds": 30, "maxDeviationPoints": null, "copyExistingOnStart": false }, "risk": { "limits": [] } }, "follower": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": null, "login": "string", "server": "string", "state": "string", "equity": null, "todayProfit": null }, "lastExecution": null, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "page": { "hasMore": true, "nextCursor": null }}List strategies GET
This workspace's copy-trading strategies, newest first, archived ones included. Paginated by cursor.
Make an account a strategy POST
Marks an account as a strategy: its trades are copied to every account that subscribes to it. The account must be `always_on` — a master traded by hand never sends fxapis an order, so an idle terminal would be stopped — and a hedging account, and must not follow a strategy itself. One live strategy per account. A member confirms it is them (step-up). While copy trading is paused on this server (`GET /v1/copy/status`), this answers 503 `COPY_TRADING_PAUSED`.