Guide
PlatformStocksETFsCrypto No key needed

Trade Republic API guide

Trade Republic’s low fees made it popular across Europe, but it is not built for programmatic trading.

Last verified · Also known as Trade Republic API, pytr

Quick answer

Trade Republic has no public API. Community tools such as pytr talk to the app’s private WebSocket to download statements or place orders, which is unsupported and can break. For automated trading in Europe, use Interactive Brokers, Saxo or Trading 212’s beta API.

Trade Republic API at a glance

Pricing
No official API
Availability
EU
Paper trading
Not applicable (data only)
Integration type
No public API
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
Official API
None
Unofficial
pytr (private WebSocket)

Unofficial routes and their risks

Build a Trade Republic strategy with AlgoGP

AlgoGP does not connect to Trade Republic natively yet. Trade Republic has no supported public trading or data API.

  1. 1

    Design and backtest in AlgoGP

    Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.

  2. 2

    Export the Python project

    Every project exports strategy.py, market_data.py, brokers.py and live.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format.

  3. 3

    Plug in Trade Republic

    Implement the four adapter methods (account, positions, submit_market_order and a candle fetcher) with Trade Republic’s SDK, or keep a built-in platform for paper trading and add Trade Republic when you go live.

Built-in data sources for the same markets: Alpaca, Binance, Coinbase Exchange, Yahoo Finance.

Trade Republic API: frequently asked questions

Can I automate Trade Republic savings plans?

Savings plans run inside the app; there is no API to control them.

Design and backtest your Trade Republic strategy first

AlgoGP turns an idea into Python and tests it on years of history before you connect it to Trade Republic. The exported code keeps the broker behind four small adapter methods.

  • AI copilot writes and revises the rules
  • Backtests with realistic costs
  • Exported Python ready to wire to Trade Republic

Free plan, no card required.

Trade Republic alternatives

Independent guide. AlgoGP is not affiliated with Trade Republic. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.

Build a strategy