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 feeds exchange data to Provider. Detector receives market data, Studio receives read views, and Advisor sees only signed candidate evidence.
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
Public verification 1. Configure credentials in the private Provider environment. 2. Verify connector status in the internal Studio/Provider console. 3. Use Barfinex public pages to inspect market data. Operator Provider commands and tokens remain in internal runbooks only.
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