← Brokers

Trading 212

Europe

betaStatement fileRead-only APIFormats: CSV

How to create the read-only key

  1. In the Trading 212 app or web: menu ☰ → Settings → API (Beta). Accept the risk notice if asked.
  2. Press "Generate API key", name it (Asterholm) and tick only the read permissions: Account data, Portfolio, History (orders, dividends, transactions).
  3. For IP access you can leave it unrestricted or limit it to the server IP. Generate the key.
  4. Copy the API key and the API secret (the secret is shown only once), paste them here and press "Test connection".

Read-only. When creating the key tick only read permissions: Account data, Portfolio and History (orders, dividends, transactions). Do NOT tick "Orders execute" or "Pies write". Trading 212 does not let us check a key's permissions: Asterholm only uses read endpoints.

Permissions not verifiable

Invest and Stocks ISA accounts only (no CFD). Reads filled orders, dividends (with withholding when in the same currency), deposits, withdrawals, interest, positions and cash.

API keyAPI secret

Statement export guide

  1. In the app: menu → History → export icon (top right).
  2. Tick Orders, Dividends, Transactions and Interest, pick the full range and generate the CSV (it arrives by email or downloads).
  3. Upload the CSV here.

If the columns are not recognised, you map them once and we remember.

Read-only by design: Asterholm can only look: it never buys, sells or moves your money.