Whether copy trading is running
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/status" \
-H "Authorization: Bearer YOUR_API_KEY"paused true while copy trading is paused (it is coming soon): strategies and subscriptions can be read, paused and deleted, but nothing that starts copying is taken (503 COPY_TRADING_PAUSED), nothing is copied, and no follower is billed. message says so in a sentence, or is null.
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
Response Body
application/json
application/json
application/json
curl -X GET "https://api.fxapis.com/v1/copy/status"{ "data": { "paused": true, "message": null }}Subscribe an account to a strategy POST
The follower copies the strategy's master from now on, with its own settings; every setting has a default. Same workspace, hedging accounts only, and an account cannot be a master and a follower at once. Counts against the plan's followers when it starts `active`. 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`.
Alerts a hook received, and what became of each GET
Newest first, kept for 30 days. The first place to look when an alert did not trade: every alert that reached a hook is here — refused, ignored and duplicate ones included — with the reason in words. A hook takes at most 30 alerts a minute; past that, one row records the refusal and the rest of that minute's alerts are not recorded.