Trade copier API and signal copier API.
Everything TPcopier does, from your own code: copy Telegram, WhatsApp, Discord and TradingView signals to MT4/MT5 and binary brokers, run the MT4/5 trade copier, manage accounts and read every signal and trade. One key, plain JSON, and no charge per request.
What you can build
- A copy trading service - your users' MT4/MT5 accounts follow your signals or a master account, run in our cloud.
- A Telegram or Discord signal bot - every call in your channel placed on your subscribers' accounts.
- TradingView automation - alerts from your strategies traded on MetaTrader or a binary broker, results read back.
- Your own trading app or bot on MT4/MT5 - positions, pending orders, history, prices and candles read live, and market and pending orders, modify, breakeven and close from one endpoint - a MetaApi alternative.
- Live alerts in your system - webhooks when a position opens, changes or closes, a copy is made or refused, or an account drops.
- Dashboards and reports - read-only keys for balances, signals, trades and their results.
Behind every call is the same cloud copier as the automations: MetaTrader 4/5 and the broker sessions run on our servers, so neither you nor your users need a VPS.
Quick start
Sign in, open API in the app and press Ask for access. TPcopier switches it on for your workspace.
Full, or read-only. It is shown once - keep it like a password.
Send the key with every request:Authorization: Bearer tpc_...
# your bridges: chats, TradingView feeds, accounts and the links between them
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/bridge
# copy a Telegram channel (source_id) to an MT4/MT5 or broker account (target_account_id)
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"kind":"signal","source_id":12,"target_account_id":34}' https://tpcopier.com/api/v1/bridge/links
# your trades, and your TradingView feeds
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/trades
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/tv/feeds
Give it this page and the machine-readable spec,
https://tpcopier.com/api/v1/developer/openapi.json - every
endpoint, its fields and its answer. Base URL https://tpcopier.com; send the key as
Authorization: Bearer tpc_... or X-API-Key: tpc_.... Each guide below is one
flow, with only its own endpoints.
Guides
One page for each thing you build: its requests in order, and only its own endpoints.
Trade copier API for MT4/MT5: copy one cloud account's trades to others from your own code, with lot rules, equity protection and every copy logged.
26 endpointsMT4/MT5 trading APIMetaTrader trading API for cloud MT4/MT5 accounts: read balance, positions, orders, history, prices and candles live, then open, modify or close.
14 endpointsSignals to MT4/MT5Signal copier API: copy a Telegram, WhatsApp or Discord channel to a cloud MT4/MT5 account from your code, with the link and every order it placed.
29 endpointsTradingView alertsTradingView webhook API: make a feed, put its address in your alert, link it to MT4/MT5 or binary accounts, then read every alert and its order.
10 endpointsBinary optionsBinary options API: add a Quotex, Pocket Option, IQ Option, Binomo, Olymp Trade, ExpertOption or Binolla account, link a channel, read each trade.
32 endpointsBroker sign-in windowBroker login API: let your users sign in to their binary broker on your own site or app, in TPcopier's cloud browser, on a PC or a phone, by one link.
6 endpointsOrder timingOrder timing API: set how a channel's binary signals open, at once or at the time in the message on the provider's clock, and a default expiry.
2 endpointsTelegramTelegram signal API: sign in to Telegram once, choose the channels TPcopier reads, each with its own rules, then link them to your trading accounts.
12 endpointsWhatsApp and DiscordWhatsApp signal API: link a WhatsApp account by QR code, sign in to Discord, then choose the groups and channels whose signals TPcopier copies.
13 endpointsStatus, signals and tradesTrade copier status API: read what is connected and what needs action, every message read and what it became, and every order with its result.
23 endpointsWebhooks (live events)Trade copier webhooks: a signed POST when a position opens, changes or closes, a copy is made or refused, an account drops or a signal is read.
2 endpointsBillingBilling API: see which bridges your workspace pays for and until when, price a new bill and pay it from your TPcopier wallet, all from your own code.
9 endpointsSoftware and Indian copierCopier software API for the apps on your own PC: their catalogue, demo keys, orders, licence keys and accounts, and the Indian copier's relay.
14 endpointsSupportSupport API: ask TPcopier for help or custom work from your own code, follow each request's messages and files, and pay a quoted bill from your wallet.
11 endpointsAll endpointsAPI reference for every TPcopier endpoint on one page: fields, answers and an example request for the signal copier, trade copier and accounts.
167 endpointsLimits and price
There is no charge per request. Top up your wallet in the app with USDT (TRC20); it pays for your plans and accounts at the same prices as the website. Each key may make 120 requests a minute. The bridges your workspace runs are billed as usual - see pricing.
Errors
| 401 | The key is unknown or revoked. |
| 403 | No API access yet, a read-only key tried to change something, or it is done in the app only (keys, password). |
| 402 | Your wallet has too little for this payment - top it up in the app. |
| 429 | Too many requests a minute - slow down. |
Every error comes as JSON: {"detail": "what went wrong, in plain words"}.
Questions
What is a trade copier API?
An API that lets your own program copy trades and signals: it creates the links between signal sources and trading accounts, starts and stops them, and reads every signal and the trade it became. The TPcopier API does this for MT4/MT5 and binary broker accounts, with the copier running in our cloud.
Can I copy Telegram signals to MT4 or MT5 with the API?
Yes. Link a Telegram channel to a cloud MT4 or MT5 account with one request; TPcopier reads the channel and places each signal with its entry, stop loss and take profits. WhatsApp groups and Discord channels work the same way.
Does the API work with TradingView alerts?
Yes. Create a TradingView feed through the API, put its webhook address in your TradingView alert, and link the feed to MT4/MT5 or binary accounts. Every alert and the order it became can be read back.
How much does the TPcopier API cost?
There is no charge per request. You top up a wallet in the app with USDT (TRC20); it pays for your plans and accounts at the same prices as the website.
Do I need a VPS or my own MetaTrader?
No. MetaTrader 4 and 5 and the broker sessions run on TPcopier's servers. Your program only calls the API.
How do I get an API key?
Sign up, open API in the TPcopier app and ask for access. Once TPcopier switches it on, you make full or read-only keys on the same page.
All endpoints
Each guide lists only its own endpoints. Every one on one page: the API
reference. Base address https://tpcopier.com; machine-readable:
openapi.json, written to the
OpenAPI Specification
so any OpenAPI tool can read it. A brokerage adding copy trading for its clients? See the
trade copier for brokers.