Trading 212
Coming SoonEuropean Brokers
connectorType: "trading212"Commission-free investing in stocks and ETFs
Connection Architecture
Trading 212
WebSocket / REST→
Connector
libs/exchange-trading212→
Provider
:8081/api→
Detector
Advisor
Studio
The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.
Technologies
Transport
REST Polling
Authentication
API KeyData Format
JSONBest for
- European retail investors seeking zero-commission equity and ETF access.
- Long-term investors building diversified portfolios with fractional shares.
- CFD traders looking for tight spreads on major indices and forex pairs.
Connect via code
1Environment variables (.env)
TRADING212_API_KEY=your_key_here
2Connector configuration
// config/config.provider.json
{
"provider": {
"connectors": [
{
"connectorType": "trading212",
"enabled": true,
"key": "${TRADING212_API_KEY}",
"markets": [
{ "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
],
"subscriptions": [
{ "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
{ "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
{ "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
]
}
]
}
}3Verify and query data
# Verify connection curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ https://localhost:8081/api/exchanges/runtime-proof # Candles (last 7 days) curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ "https://localhost:8081/api/candles/trading212/spot/BTCUSDT/h1?days=7"
Available via Barfinex API
/api/candles/trading212/...
/api/trades/trading212/...
/api/orderbook/trading212/...
/api/account/trading212/...
/api/symbols/trading212/...
/api/assets/trading212/...
Studio graphical setup — in development, coming in the next release.
Important
The Trading 212 API provides read-only access to positions and orders; order execution via API is limited to certain account tiers.
Ensure your account is fully verified before requesting API credentials.
Supported Markets
Spot
Websitewww.trading212.com
Connect in Studio(soon)
Exchange Website