Every endpoint of the TPcopier API in one list - each guide shows only its own. Machine-readable: openapi.json.
Further reading: the OpenAPI Specification our API description follows.
Every endpoint
Base address https://tpcopier.com. Send your key with every request -
Authorization: Bearer tpc_... - up to 120 requests a minute. Open an endpoint for its fields,
its answers and an example.
GET/api/v1/bridgeBridge
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bridge"GET/api/v1/bridge/links/{lid}/historyLink History
One link's results and trades, from the moment it was made.
Parameters
| lid * | path | integer |
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bridge/links/{lid}/history"POST/api/v1/bridge/linksAdd Link
Request body
{
"kind": "",
"source_id": 0,
"target_account_id": 0,
"stake_mode": "",
"stake_value": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"kind": "", "source_id": 0, "target_account_id": 0, "stake_mode": "", "stake_value": 0}' \
"https://tpcopier.com/api/v1/bridge/links"PATCH/api/v1/bridge/links/{lid}Patch Link
Parameters
| lid * | path | integer |
Request body
{
"enabled": false,
"stake_mode": "",
"stake_value": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"enabled": false, "stake_mode": "", "stake_value": 0}' \
"https://tpcopier.com/api/v1/bridge/links/{lid}"DELETE/api/v1/bridge/links/{lid}Delete Link
Parameters
| lid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bridge/links/{lid}"GET/api/v1/bridge/copiesCopies
What the copier saw open on each main account, and what it placed for it.
Parameters
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bridge/copies"GET/api/v1/bridge/typesBridge Types
The seven kinds of bridge, which ones this workspace uses, and each one's steps - and the free trial: its one bridge, the accounts it carries, its clock (trial.state).
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bridge/types"PUT/api/v1/bridge/typesSave Bridge Types
Request body
{
"selected": [
""
]
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"selected": [""]}' \
"https://tpcopier.com/api/v1/bridge/types"GET/api/v1/mt/accountsMt Accounts
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/accounts"POST/api/v1/mt/accountsMt Create
Request body
{
"platform": "mt5",
"label": "",
"bridge": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform": "mt5", "label": "", "bridge": ""}' \
"https://tpcopier.com/api/v1/mt/accounts"GET/api/v1/mt/accounts/{aid}/keyMt Key
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/accounts/{aid}/key"POST/api/v1/mt/accounts/{aid}/key/rotateMt Rotate
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/accounts/{aid}/key/rotate"POST/api/v1/mt/accounts/{aid}/unbindMt Unbind
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/accounts/{aid}/unbind"POST/api/v1/mt/accounts/{aid}/pingMt Ping
A connection test: the Telegram EA answers it and trades nothing.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/accounts/{aid}/ping"GET/api/v1/mt/accounts/{aid}/ping/{rid}Mt Ping Result
Parameters
| aid * | path | integer |
| rid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/accounts/{aid}/ping/{rid}"GET/api/v1/mt/feedMt Feed
Messages read for MetaTrader, newest first, with each connected EA's last word on it. only: 'signals' (orders), 'errors' (not read), or '' for everything.
Parameters
| limit | query | integer |
| channel_id | query | integer |
| only | query | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/feed"GET/api/v1/mt/statsMt Stats
The MetaTrader dashboard's numbers - every one counted from the tables, none estimated. account: what reached that account and what its EA answered (a channel's messages are every account's, so they are not split).
Parameters
| days | query | integer |
| account | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/stats"GET/api/v1/mt/keywordsMt Keywords
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/mt/keywords"PUT/api/v1/mt/keywordsMt Keywords Save
Save the lists; keywords=None puts the defaults back.
Request body
{
"keywords": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"keywords": {}}' \
"https://tpcopier.com/api/v1/mt/keywords"POST/api/v1/mt/parse-testMt Parse Test
Read a message the way a channel's would be read - nothing is sent to any EA.
Request body
{
"text": "",
"reply": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"text": "", "reply": false}' \
"https://tpcopier.com/api/v1/mt/parse-test"GET/api/v1/ea/filesEa List
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/ea/files"GET/api/v1/ea/download/{code}Ea Download
Parameters
| code * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/ea/download/{code}"GET/api/v1/tv/feedsTv Feeds
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/tv/feeds"POST/api/v1/tv/feedsTv Feed Create
Request body
{
"name": "",
"key_name": "",
"active": false,
"expiry": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"name": "", "key_name": "", "active": false, "expiry": 0}' \
"https://tpcopier.com/api/v1/tv/feeds"PATCH/api/v1/tv/feeds/{fid}Tv Feed Patch
Parameters
| fid * | path | integer |
Request body
{
"name": "",
"key_name": "",
"active": false,
"expiry": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"name": "", "key_name": "", "active": false, "expiry": 0}' \
"https://tpcopier.com/api/v1/tv/feeds/{fid}"DELETE/api/v1/tv/feeds/{fid}Tv Feed Delete
Parameters
| fid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/tv/feeds/{fid}"POST/api/v1/tv/feeds/{fid}/rotateTv Feed Rotate
A new address; the old one stops working at once (update it in TradingView).
Parameters
| fid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/tv/feeds/{fid}/rotate"GET/api/v1/tv/alertsTv Alerts
Parameters
| feed_id | query | integer |
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/tv/alerts"GET/api/v1/hostingHosting
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting"GET/api/v1/hosting/copierCopier Stats
The MT4/5 copier for the Dashboard: each pipeline's copies today and how long they took, each account's balance change, the last copies (hosting.copier_stats).
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/copier"POST/api/v1/hosting/accountsAdd Hosted
Request body
{
"platform": "mt5",
"login": "",
"password": "",
"server": "",
"label": "",
"bridge": "",
"role": "",
"links": [
{
"kind": "",
"source_id": 0
}
],
"sender_id": 0,
"broker": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform": "mt5", "login": "", "password": "", "server": "", "label": "", "bridge": "", "role": "", "links": [{"kind": "", "source_id": 0}], "sender_id": 0, "broker": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts"GET/api/v1/hosting/accountsHosted Accounts
Every cloud account of the workspace - the API's, the copier's, the bridges' - however it was added (the owner, 2026-10-12: "jitne bhi accounts API se connect hote hai vo unke server par bhi dikhne chahiye"): its state, money and positions as last reported, and its slot - from, until, renews by itself, the wallet short of its renewal.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts"POST/api/v1/hosting/accounts/{aid}/passwordHosted Password
Parameters
| aid * | path | integer |
Request body
{
"password": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"password": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/password"POST/api/v1/hosting/accounts/{aid}/actionHosted Action
start / stop the account's cloud terminal, reconnect it (a fresh sign-in), or delete it (terminal and data).
Parameters
| aid * | path | integer |
Request body
{
"action": "reconnect"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"action": "reconnect"}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/action"GET/api/v1/hosting/accounts/{aid}/logHosted Log
This hosted account's log: connecting, Algo Trading, refusals, trades and copies.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/log"GET/api/v1/hosting/ea-formEa Form
Every input of the TPcopier Telegram EA, in its own groups - read from the EA itself (MT4's own source for an MT4 account).
Parameters
| platform | query | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/ea-form"GET/api/v1/hosting/brokersMt Brokers
Brokers of one platform (MT5 or MT4 - never mixed) whose name or a server holds q, with their servers: the exact spellings MetaTrader signs in with (the add-account form's Broker and Server lists), the ones MetaTrader's own directory showed when we checked them in `checked`. full=1: every broker of the platform, A-Z - for software that searches its own copy (FINFX, 2026-10-19: "list bhi mil jani chahiye api se").
Parameters
| q | query | string |
| platform | query | string |
| full | query | boolean |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/brokers"PUT/api/v1/hosting/accounts/{aid}/eaHosted Ea
Parameters
| aid * | path | integer |
Request body
{
"inputs": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"inputs": {}}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/ea"POST/api/v1/hosting/pipesAdd Pipe
Request body
{
"sender_id": 0,
"receiver_id": 0,
"settings": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"sender_id": 0, "receiver_id": 0, "settings": {}}' \
"https://tpcopier.com/api/v1/hosting/pipes"PATCH/api/v1/hosting/pipes/{pid}Patch Pipe
Parameters
| pid * | path | integer |
Request body
{
"enabled": false,
"settings": {}
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"enabled": false, "settings": {}}' \
"https://tpcopier.com/api/v1/hosting/pipes/{pid}"DELETE/api/v1/hosting/pipes/{pid}Delete Pipe
Parameters
| pid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/pipes/{pid}"GET/api/v1/hosting/slotsSlots
Your MetaTrader slots: each bridge's paid accounts - the account in each slot, how many are free, until when they are paid - the cloud terminals they carry, your wallet, and what runs by itself (auto).
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/slots"POST/api/v1/hosting/slotsBuy Slots
Buy slots: `slots` accounts on a MetaTrader bridge for `months`. From the wallet it is paid and running at once; by transfer the answer's ref opens its payment; with Binance Pay, checkout_url. `slots` is the total you want - more than you have now adds slots, the days already paid turn into days at the new price.
Request body
{
"bridge": "mt-copy",
"slots": 4,
"months": 1,
"method": "wallet",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"bridge": "mt-copy", "slots": 4, "months": 1, "method": "wallet", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/hosting/slots"PUT/api/v1/hosting/slots/autoSlots Auto
What runs by itself, from the wallet: renewing before the end, and buying a slot when an account needs one - each told by notification and webhook (slots.renewed, slots.renew_failed, slots.bought, slots.buy_failed).
Request body
{
"auto_renew": false,
"renew_months": 0,
"auto_slots": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"auto_renew": false, "renew_months": 0, "auto_slots": false}' \
"https://tpcopier.com/api/v1/hosting/slots/auto"POST/api/v1/hosting/slots/quoteSlots Quote
What `slots` slots of a bridge cost for `months`, and until when they would run (the days already paid are turned into days at the new price).
Request body
{
"bridge": "mt-copy",
"slots": 4,
"months": 1,
"method": "wallet",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"bridge": "mt-copy", "slots": 4, "months": 1, "method": "wallet", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/hosting/slots/quote"POST/api/v1/hosting/slots/bookBook Slots
Book MT4/5 slots - for the copier's receivers and the API's accounts - each its own whole month (or 3, 6, 12) from the day it is booked, renewed by itself a day before its own end.
Request body
{
"count": 1,
"months": 1,
"method": "wallet",
"account_id": 0,
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"count": 1, "months": 1, "method": "wallet", "account_id": 0, "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/hosting/slots/book"PUT/api/v1/hosting/slots/{sid}Edit Slot
Set a slot: put an account in it (out of the slot it held), free it, or switch its renewal.
Parameters
| sid * | path | integer |
Request body
{
"account_id": 0,
"auto_renew": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"account_id": 0, "auto_renew": false}' \
"https://tpcopier.com/api/v1/hosting/slots/{sid}"PATCH/api/v1/hosting/accounts/{aid}Edit Hosted
Change a cloud account in its slot: its name (label), its password (sealed at once; it signs in again). Another login or server is another account: POST .../replace.
Parameters
| aid * | path | integer |
Request body
{
"label": "",
"password": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"label": "", "password": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}"DELETE/api/v1/hosting/accounts/{aid}Delete Hosted
Delete a cloud account: its terminal is closed and its data removed; its slot is free for another account.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}"GET/api/v1/hosting/accounts/{aid}Hosted Account
One cloud account: its state, money and open positions as last reported (every few seconds), its margin, free margin and leverage, its API limits and its equity protection.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}"POST/api/v1/hosting/accounts/{aid}/replaceReplace Hosted
Another MetaTrader account in this one's slot: it takes over its Bridge links, copier pipelines, EA inputs, API limits and equity protection on the same cloud server; the old account goes. Returns the new account's id.
Parameters
| aid * | path | integer |
Request body
{
"platform": "",
"login": "",
"password": "",
"server": "",
"label": "",
"broker": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"platform": "", "login": "", "password": "", "server": "", "label": "", "broker": ""}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/replace"GET/api/v1/hosting/copier/eventsCopier Events
Each copy the MT4/5 copier made or refused, newest first (14 days): when, the sender's and the receiver's tickets and lots, the price, how long it took (latency_ms), and why one was not copied. Filter by pipe_id, status (success, failed, skipped) and since (ISO time).
Parameters
| pipe_id | query | integer |
| status | query | string |
| since | query | string |
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/copier/events"GET/api/v1/hosting/accounts/{aid}/account-informationAccount Information
Live from the account's terminal: login, name, server, currency, leverage, balance, equity, margin, free margin, margin level and floating profit.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/account-information"GET/api/v1/hosting/accounts/{aid}/positionsAccount Positions
Live: the open positions - ticket, symbol, side, lots, open and current price, stop loss, take profit, profit, swap, magic, comment, open time.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/positions"GET/api/v1/hosting/accounts/{aid}/ordersAccount Orders
Live: the pending orders - ticket, symbol, type (buy_limit, sell_limit, buy_stop, sell_stop), lots, open price, stop loss, take profit, magic, comment, time.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/orders"GET/api/v1/hosting/accounts/{aid}/historyAccount History
Live: the deals of the last `days` (1 to 365) - each trade's in and out, profit, commission and swap; deposits and withdrawals as type 'balance'.
Parameters
| aid * | path | integer |
| days | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/history"GET/api/v1/hosting/accounts/{aid}/symbolsAccount Symbols
Live: every symbol the account's broker offers, by the broker's own names.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/symbols"GET/api/v1/hosting/accounts/{aid}/symbols/{symbol}Account Symbol
Live: a symbol's specification - digits, point, contract size, smallest, largest and step lot - and its price. `symbol` is the account's own name for it (XAUUSD on a cent account: XAUUSDc), `requested` the name asked for.
Parameters
| aid * | path | integer |
| symbol * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/symbols/{symbol}"GET/api/v1/hosting/accounts/{aid}/symbols/{symbol}/priceAccount Price
Live: the symbol's bid, ask and spread now.
Parameters
| aid * | path | integer |
| symbol * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/symbols/{symbol}/price"GET/api/v1/hosting/accounts/{aid}/prices/streamAccount Price Stream
Live: prices as they move - Server-Sent Events, one `data:` line per move: {"symbol" (the name you sent), "name" (the account's own), "bid", "ask", "time_msc" (the broker's clock), "at"}. Up to 20 symbols, comma separated, for up to max_s seconds (3600 at most - connect again for more). `event: missing` names the symbols the account has not got, `event: error` a moment its terminal could not answer. Read only while you listen.
Parameters
| aid * | path | integer |
| symbols * | query | string |
| max_s | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/prices/stream?symbols=..."GET/api/v1/hosting/accounts/{aid}/symbols/{symbol}/candlesAccount Candles
Live: the last `count` (1 to 2000) candles of the symbol - timeframe M1, M5, M15, M30, H1, H4 or D1.
Parameters
| aid * | path | integer |
| symbol * | path | string |
| timeframe | query | string |
| count | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/symbols/{symbol}/candles"POST/api/v1/hosting/accounts/{aid}/tradeAccount Trade
One trade on the account's terminal. action: ORDER_TYPE_BUY / _SELL (market), ORDER_TYPE_BUY_LIMIT / _SELL_LIMIT / _BUY_STOP / _SELL_STOP (pending, with open_price), POSITION_MODIFY (stop_loss / take_profit of position_id), POSITION_BREAKEVEN, POSITION_CLOSE_ID (volume: part of it), POSITION_PARTIAL, POSITIONS_CLOSE_SYMBOL, POSITIONS_CLOSE_ALL, ORDER_MODIFY, ORDER_CANCEL (order_id). The answer is MetaTrader's: ok, code, code_name, message, order_id, deal_id - a refusal by the broker is ok:false with its code.
Parameters
| aid * | path | integer |
Request body
{
"action": "ORDER_TYPE_BUY",
"symbol": "EURUSD",
"volume": 0.01,
"open_price": 0,
"stop_loss": 0,
"take_profit": 0,
"position_id": 0,
"order_id": 0,
"slippage": 20,
"comment": "",
"magic": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"action": "ORDER_TYPE_BUY", "symbol": "EURUSD", "volume": 0.01, "open_price": 0, "stop_loss": 0, "take_profit": 0, "position_id": 0, "order_id": 0, "slippage": 20, "comment": "", "magic": 0}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/trade"GET/api/v1/hosting/accounts/{aid}/api-ordersAccount Api Orders
Every trade the API asked this account's terminal for, newest first, with its answer.
Parameters
| aid * | path | integer |
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/api-orders"PUT/api/v1/hosting/accounts/{aid}/api-limitsAccount Api Limits
The account's own limits for API orders - checked before anything opens; closing is never limited.
Parameters
| aid * | path | integer |
Request body
{
"max_lot": 0,
"require_sl": false,
"max_trades_per_day": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"max_lot": 0, "require_sl": false, "max_trades_per_day": 0}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/api-limits"PUT/api/v1/hosting/accounts/{aid}/protectionAccount Protection
Equity protection: when the account loses daily_pct % in a day or total_pct % from its peak, our cloud server tells you (notify), stops copying into it (stop_copying) or closes everything and stops (close_all) - checked every few seconds there. reset: true starts it again.
Parameters
| aid * | path | integer |
Request body
{
"daily_pct": 0,
"total_pct": 0,
"action": "",
"reset": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"daily_pct": 0, "total_pct": 0, "action": "", "reset": false}' \
"https://tpcopier.com/api/v1/hosting/accounts/{aid}/protection"GET/api/v1/broker/accountsBroker Accounts
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts"PATCH/api/v1/broker/accounts/{aid}Patch Account
Parameters
| aid * | path | integer |
Request body
{
"label": "",
"enabled": false,
"amount": 0,
"max_stake": 0,
"mg_one_at_a_time": false,
"mg_apply_on": "",
"min_payout_enabled": false,
"min_payout": 0,
"mg_enabled": false,
"mg_mode": "",
"mg_value": 0,
"mg_steps": 0,
"mg_custom": "",
"mg_scope": "",
"mg_source": "",
"daily_stop": 0,
"daily_target": 0,
"proxy_region": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"label": "", "enabled": false, "amount": 0, "max_stake": 0, "mg_one_at_a_time": false, "mg_apply_on": "", "min_payout_enabled": false, "min_payout": 0, "mg_enabled": false, "mg_mode": "", "mg_value": 0, "mg_steps": 0, "mg_custom": "", "mg_scope": "", "mg_source": "", "daily_stop": 0, "daily_target": 0, "proxy_region": ""}' \
"https://tpcopier.com/api/v1/broker/accounts/{aid}"GET/api/v1/statusStatus
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/status"POST/api/v1/kill-switchKill Switch
Request body
{
"on": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"on": false}' \
"https://tpcopier.com/api/v1/kill-switch"POST/api/v1/pausePause
Request body
{
"on": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"on": false}' \
"https://tpcopier.com/api/v1/pause"GET/api/v1/dashboardDashboard
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/dashboard"GET/api/v1/channelsChannels
One source's chats - Telegram's unless asked (WhatsApp and Discord have their own pages).
Parameters
| source | query | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/channels"GET/api/v1/channels/{cid}/timingChannel Timing
A channel's order timing, the customer's own GMT offset as the first guess for its timezone, and the last time its signals named (signals.expiry_time) - for the question asked when it is linked to a binary account.
Parameters
| cid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/channels/{cid}/timing"PATCH/api/v1/channels/{cid}Patch Channel
Parameters
| cid * | path | integer |
Request body
{
"monitored": false,
"favorite": false,
"color": "",
"category": "",
"min_confidence": "",
"min_payout": 0,
"max_signals_per_hour": 0,
"stake_override": 0,
"allowed_directions": "",
"entry_mode": "",
"tz_offset_min": 0,
"default_duration": 0,
"read_images": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"monitored": false, "favorite": false, "color": "", "category": "", "min_confidence": "", "min_payout": 0, "max_signals_per_hour": 0, "stake_override": 0, "allowed_directions": "", "entry_mode": "", "tz_offset_min": 0, "default_duration": 0, "read_images": ""}' \
"https://tpcopier.com/api/v1/channels/{cid}"POST/api/v1/channels/bulkBulk Channels
Request body
{
"action": "",
"ids": [],
"source": "tg"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"action": "", "ids": [], "source": "tg"}' \
"https://tpcopier.com/api/v1/channels/bulk"GET/api/v1/signalsSignals
Parameters
| channel | query | integer |
| actionable | query | integer |
| executed | query | integer |
| direction | query | string |
| with_trades | query | integer |
| limit | query | integer |
| offset | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/signals"GET/api/v1/signals/{sid}Signal Detail
Parameters
| sid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/signals/{sid}"GET/api/v1/tradesTrades
Every trade, newest first, and the totals of exactly the trades asked for - money per currency, never added across. format=csv: every match as a file.
Parameters
| account | query | integer |
| result | query | string |
| direction | query | string |
| days | query | integer |
| date_from | query | string |
| date_to | query | string |
| bridge | query | string |
| broker | query | string |
| q | query | string |
| settled | query | integer |
| format | query | string |
| limit | query | integer |
| offset | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/trades"GET/api/v1/analyticsAnalytics
What made and what lost money: the binary trades the brokers took (tests left out), in ONE currency - the one asked for, else the most traded; money is never added across currencies and `currencies` names the others. account: that account's trades only. Days and hours are UTC.
Parameters
| days | query | integer |
| currency | query | string |
| account | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/analytics"POST/api/v1/broker/accounts/{aid}/modeSet Mode
Parameters
| aid * | path | integer |
Request body
{
"mode": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"mode": ""}' \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/mode"POST/api/v1/broker/accounts/resumeResume Accounts
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/resume"POST/api/v1/broker/accounts/refresh-balancesRefresh Balances
Each connected binary account's broker is asked for its balance now, over the connection already open - the request its own page sends (brokers.ask_balance). No order, no new sign-in. The answers arrive on the socket and set balance and balance_at; this waits a few seconds for them and says how many came. (It used to stamp balance_at with the time and ask nobody.)
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/refresh-balances"GET/api/v1/broker/accounts/{aid}/assetsAccount Assets
What this account can trade RIGHT NOW: the favourites first, then the best-paying open ones. Read from the live connection, so a pair that is shut for the session shows as closed instead of being sent and refused.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/assets"GET/api/v1/broker/accounts/{aid}/historyAccount History
The broker's OWN list of deals on this account's current balance, read live - trades placed by hand included. Each deal the site placed is marked with its trade number, so a result can be checked against the broker in one look.
Parameters
| aid * | path | integer |
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/history"POST/api/v1/broker/accounts/test-tradeTest Trade
Request body
{
"account_id": 0,
"asset_code": "EURUSD_otc",
"direction": "call",
"duration": 60
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"account_id": 0, "asset_code": "EURUSD_otc", "direction": "call", "duration": 60}' \
"https://tpcopier.com/api/v1/broker/accounts/test-trade"GET/api/v1/keywordsGet Keywords
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/keywords"PUT/api/v1/keywordsPut Keywords
Request body
{
"call_words": [
""
],
"put_words": [
""
],
"reject_words": [
""
]
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"call_words": [""], "put_words": [""], "reject_words": [""]}' \
"https://tpcopier.com/api/v1/keywords"POST/api/v1/keywords/resetReset Keywords
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/keywords/reset"GET/api/v1/settingsGet Settings
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/settings"PATCH/api/v1/settingsPatch Settings
Request body
{}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PATCH -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{}' \
"https://tpcopier.com/api/v1/settings"GET/api/v1/calendarCalendar
The profit calendar: each day of a month, per currency - binary trades as they settled (by the day they closed, UTC), MetaTrader as the balance change its EA reported. account: that account only.
Parameters
| month | query | string |
| account | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/calendar"GET/api/v1/billingBilling
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/billing"GET/api/v1/notificationsNotifications
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/notifications"GET/api/v1/botsBots
Copy Our Bots: the bots this customer may see (not hidden from them) - their records, never the channel behind them - the one plan (every bot), and whether this workspace copies.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bots"PUT/api/v1/bot-plan/accountsBot Accounts
Which of my binary accounts the bots copy onto (as many as the plan covers), the lowest payout copied and my starting stake.
Request body
{
"accounts": [
0
],
"only_high": false,
"min_payout": 0,
"stake": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"accounts": [0], "only_high": false, "min_payout": 0, "stake": 0}' \
"https://tpcopier.com/api/v1/bot-plan/accounts"PUT/api/v1/bot-plan/botsBot Pick
Which bots my plan copies: every one, or only these.
Request body
{
"bots": [
0
]
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X PUT -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"bots": [0]}' \
"https://tpcopier.com/api/v1/bot-plan/bots"GET/api/v1/bots/{bid}Bot
A bot's card and record - or (`floor`) its record for only pairs paying that % or more, as the viewer types it.
Parameters
| bid * | path | integer |
| floor | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/bots/{bid}"POST/api/v1/notifications/{nid}/seenNotification Seen
A note shown in its window (status.notice): seen, so no device shows it again.
Parameters
| nid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/notifications/{nid}/seen"POST/api/v1/notifications/readNotifications Read
Opening the bell marks what was shown as seen (the dot on the bell goes away).
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/notifications/read"GET/api/v1/eventsEvents
Parameters
| limit | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/events"GET/api/v1/onboardingOnboarding
The Dashboard's set-up checklist: the steps of the bridges this workspace picked (one list, each step once), ticked off from its own data. A step TPcopier cannot see - inside MetaTrader or the Indian software - is on the Bridge page, not counted here.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/onboarding"GET/api/v1/whatsappWa Status
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/whatsapp"POST/api/v1/whatsapp/linkWa Link
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/whatsapp/link"POST/api/v1/whatsapp/syncWa Sync
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/whatsapp/sync"POST/api/v1/whatsapp/logoutWa Logout
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/whatsapp/logout"GET/api/v1/discordDc Status
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/discord"POST/api/v1/discord/qrDc Qr
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/discord/qr"POST/api/v1/discord/loginDc Login
Request body
{
"login": "",
"password": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"login": "", "password": ""}' \
"https://tpcopier.com/api/v1/discord/login"POST/api/v1/discord/2faDc 2Fa
Request body
{
"code": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"code": ""}' \
"https://tpcopier.com/api/v1/discord/2fa"POST/api/v1/discord/tokenDc Token
Request body
{
"token": "",
"is_bot": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"token": "", "is_bot": false}' \
"https://tpcopier.com/api/v1/discord/token"POST/api/v1/discord/syncDc Sync
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/discord/sync"POST/api/v1/discord/logoutDc Logout
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/discord/logout"GET/api/v1/engineEngine Status
Proof that the engine is running independently of this browser.
The dashboard is a window onto the engine, not the engine itself: closing the tab, signing out or restarting the machine does not stop signals being read and traded. This is what lets the page say so honestly.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/engine"GET/api/v1/telegramTelegram Status
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/telegram"POST/api/v1/telegram/phoneTelegram Phone
The only thing a customer enters to connect: the platform holds the API keys.
Request body
{
"phone": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"phone": ""}' \
"https://tpcopier.com/api/v1/telegram/phone"POST/api/v1/telegram/send-codeTelegram Send Code
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/telegram/send-code"POST/api/v1/telegram/verify-codeTelegram Verify Code
Request body
{
"code": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"code": ""}' \
"https://tpcopier.com/api/v1/telegram/verify-code"POST/api/v1/telegram/verify-passwordTelegram Verify Password
Request body
{
"password": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"password": ""}' \
"https://tpcopier.com/api/v1/telegram/verify-password"POST/api/v1/telegram/qr/startTelegram Qr Start
QR login (what Telegram Desktop uses) - for a number Telegram will not send a code to any more.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/telegram/qr/start"GET/api/v1/telegram/qr/statusTelegram Qr Status
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/telegram/qr/status"POST/api/v1/telegram/logoutTelegram Logout
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/telegram/logout"POST/api/v1/channels/refreshRefresh Channels
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/channels/refresh"GET/api/v1/broker/listBroker List
Which brokers this platform supports, and where their sign-in window opens.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/list"POST/api/v1/broker/accountsCreate Account
Request body
{
"label": "",
"broker": "quotex",
"mode": "PRACTICE",
"bridge": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"label": "", "broker": "quotex", "mode": "PRACTICE", "bridge": ""}' \
"https://tpcopier.com/api/v1/broker/accounts"POST/api/v1/broker/accounts/{aid}/connectConnect Account
Opens Chrome on the account's saved profile: a real window on a customer's own copy, and on TPcopier.com one shown inside their page (engine/remote.py). The user signs in themselves; we only capture the session. A second press while one is open joins it.
Parameters
| aid * | path | integer |
Request body
{
"w": 0,
"h": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"w": 0, "h": 0}' \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/connect"GET/api/v1/broker/accounts/{aid}/connect/frameConnect Frame
The sign-in window's newest picture once it is newer than `after` (waits up to 8 s; 204 = none).
Parameters
| aid * | path | integer |
| after | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/connect/frame"POST/api/v1/broker/accounts/{aid}/connect/inputConnect Input
The customer's clicks and keys for their own sign-in window - passed on, never logged.
Parameters
| aid * | path | integer |
Request body
{
"events": [
{}
]
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"events": [{}]}' \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/connect/input"GET/api/v1/broker/accounts/{aid}/connect/statusConnect Status
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/connect/status"POST/api/v1/broker/accounts/{aid}/connect/cancelConnect Cancel
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/connect/cancel"POST/api/v1/broker/accounts/{aid}/connect-linkConnect Link
A link where this account is signed in to its broker in TPcopier's cloud browser - in your website (an iframe), your mobile or PC app (a WebView), or any browser, with no TPcopier login: the API's way to connect a binary account. It works for 30 minutes; GET /api/v1/broker/accounts/{aid}/connect/status says when it is connected, or why not. With return_url (your app's own link, https://..., or http://localhost for a PC app) the browser goes back there when it is done, with ?status=connected or ?status=failed and &account=ID.
Parameters
| aid * | path | integer |
Request body
{
"return_url": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"return_url": ""}' \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/connect-link"POST/api/v1/broker/accounts/{aid}/reconnectReconnect Account
Try the saved session again, without opening a browser.
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/reconnect"POST/api/v1/broker/accounts/{aid}/disconnectDisconnect Account
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}/disconnect"DELETE/api/v1/broker/accounts/{aid}Delete Account
Parameters
| aid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X DELETE -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/broker/accounts/{aid}"GET/api/v1/latencyLatency
Parameters
| hours | query | integer |
| account | query | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/latency"GET/api/v1/softwareSoftware
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/software"GET/api/v1/software/catalogSoftware Catalog
The Software page: every app listed (switched on and downloadable) - MetaTrader first, binary last - and every app the customer has a key for, with the keys and the orders.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/software/catalog"POST/api/v1/software/ordersBuy
Request body
{
"extra_accounts": 0,
"accept_no_refund": false,
"method": "binance",
"product": "lifetime"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"extra_accounts": 0, "accept_no_refund": false, "method": "binance", "product": "lifetime"}' \
"https://tpcopier.com/api/v1/software/orders"POST/api/v1/software/licences/{lid}/accountsBuy Accounts
Parameters
| lid * | path | integer |
Request body
{
"accounts": 1,
"accept_no_refund": false,
"method": "binance"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"accounts": 1, "accept_no_refund": false, "method": "binance"}' \
"https://tpcopier.com/api/v1/software/licences/{lid}/accounts"POST/api/v1/billing/ordersBuy Plan
Request body
{
"plan_code": "",
"months": 1,
"accept_no_refund": false,
"method": "binance"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"plan_code": "", "months": 1, "accept_no_refund": false, "method": "binance"}' \
"https://tpcopier.com/api/v1/billing/orders"POST/api/v1/billing/quoteBill Quote
What a bill for these bridges would cost, and until when each would run.
Request body
{
"items": [],
"months": 1,
"accept_no_refund": false,
"method": "binance"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"items": [], "months": 1, "accept_no_refund": false, "method": "binance"}' \
"https://tpcopier.com/api/v1/billing/quote"POST/api/v1/billing/billsBuy Bridges
One bill for the bridges picked, paid with Binance Pay or by transfer.
Request body
{
"items": [],
"months": 1,
"accept_no_refund": false,
"method": "binance"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"items": [], "months": 1, "accept_no_refund": false, "method": "binance"}' \
"https://tpcopier.com/api/v1/billing/bills"GET/api/v1/desk/orders/{ref}Order Status
Parameters
| ref * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/orders/{ref}"GET/api/v1/billing/orders/{ref}Order Status
Parameters
| ref * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/billing/orders/{ref}"GET/api/v1/software/orders/{ref}Order Status
Parameters
| ref * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/software/orders/{ref}"POST/api/v1/software/licences/{lid}/keyReveal Key
Parameters
| lid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/software/licences/{lid}/key"GET/api/v1/indianIndian
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/indian"GET/api/v1/indian/relayIndian Relay
The address the Indian TeleCopier collects WhatsApp / Discord messages from.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/indian/relay"POST/api/v1/indian/relay/newIndian Relay New
A new address: the old one stops at once - paste the new one into the software.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/indian/relay/new"GET/api/v1/walletWallet
The wallet: its balance (USDT), its top-ups and everything it paid for - and the ways to add money.
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/wallet"POST/api/v1/wallet/top-upWallet Top Up
Add money to the wallet: Binance Pay's checkout (checkout_url), or a transfer (pay it, then send its reference - the order's window). Once confirmed it is on the balance and pays for anything with method 'wallet'.
Request body
{
"amount": 50,
"method": "transfer"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"amount": 50, "method": "transfer"}' \
"https://tpcopier.com/api/v1/wallet/top-up"POST/api/v1/bot-plan/ordersBot Buy
Copy Our Bots: months of the one plan (every bot) for the accounts chosen - Binance Pay's checkout, or a transfer (Pay.start).
Request body
{
"accounts": [],
"months": 1,
"only_high": false,
"min_payout": 0,
"stake": 0,
"bots": [
0
],
"method": "binance",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"accounts": [], "months": 1, "only_high": false, "min_payout": 0, "stake": 0, "bots": [0], "method": "binance", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/bot-plan/orders"POST/api/v1/indian/ordersIndian Buy
Request body
{
"product": "",
"accept_no_refund": false,
"method": "binance",
"extra_accounts": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"product": "", "accept_no_refund": false, "method": "binance", "extra_accounts": 0}' \
"https://tpcopier.com/api/v1/indian/orders"POST/api/v1/indian/demoIndian Take Demo
Request body
{
"product": "",
"accept_no_refund": false,
"method": "binance",
"extra_accounts": 0
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"product": "", "accept_no_refund": false, "method": "binance", "extra_accounts": 0}' \
"https://tpcopier.com/api/v1/indian/demo"POST/api/v1/software/demoTake Demo
Request body
{
"product": "lifetime"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"product": "lifetime"}' \
"https://tpcopier.com/api/v1/software/demo"POST/api/v1/licence/activateLicence Activate
Called by TPcopier running on a customer's PC or VPS: on activation, and once a day for a fresh token. Refusals carry a code the copy can act on.
Request body
{
"key": "",
"machine_id": "",
"machine_name": "",
"app_version": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"key": "", "machine_id": "", "machine_name": "", "app_version": ""}' \
"https://tpcopier.com/api/v1/licence/activate"GET/api/v1/licence/pubkeyLicence Pubkey
Responses
200 Successful Response · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/licence/pubkey"GET/api/v1/deskRequests
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk"POST/api/v1/deskNew Request
Request body
{
"kind": "custom",
"area": "",
"subject": "",
"body": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"kind": "custom", "area": "", "subject": "", "body": ""}' \
"https://tpcopier.com/api/v1/desk"POST/api/v1/desk/account/{aid}Account Help
One tap on the Bridge or the copier: this account does not connect.
Parameters
| aid * | path | integer |
Request body
{
"said": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"said": ""}' \
"https://tpcopier.com/api/v1/desk/account/{aid}"GET/api/v1/desk/{tid}Request
Parameters
| tid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/{tid}"POST/api/v1/desk/{tid}/messagesMessage
Parameters
| tid * | path | integer |
Request body
{
"body": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"body": ""}' \
"https://tpcopier.com/api/v1/desk/{tid}/messages"POST/api/v1/desk/{tid}/filesFiles
A message with attached files (pictures, documents, logs - any kind).
Parameters
| tid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/{tid}/files"GET/api/v1/desk/{tid}/files/{mid}/{i}File
Parameters
| tid * | path | integer |
| mid * | path | integer |
| i * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/{tid}/files/{mid}/{i}"POST/api/v1/desk/{tid}/actionAction
Parameters
| tid * | path | integer |
Request body
{
"action": "",
"note": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"action": "", "note": ""}' \
"https://tpcopier.com/api/v1/desk/{tid}/action"POST/api/v1/desk/bills/{bid}/payPay Bill
Parameters
| bid * | path | integer |
Request body
{
"accept_no_refund": false,
"method": "binance"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"accept_no_refund": false, "method": "binance"}' \
"https://tpcopier.com/api/v1/desk/bills/{bid}/pay"POST/api/v1/desk/bills/{bid}/transferReport Transfer
Parameters
| bid * | path | integer |
Request body
{
"tx_ref": "",
"network": "",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"tx_ref": "", "network": "", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/desk/bills/{bid}/transfer"GET/api/v1/meMe
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/me"