Quick answer
eToro launched public APIs in October 2025: market data (prices, spreads), portfolio data, order execution with stop-loss and take-profit, and social features. Requests to https://public-api.etoro.com/api/v1/ carry an x-api-key, an x-user-key and a unique x-request-id. Keys come from the API portal for verified users, and the demo account is the place to test.
eToro API at a glance
- Pricing
- Free; trading costs apply
- Availability
- Verified eToro users; rollout varies by region
- Paper trading
- Demo (virtual) account
- Integration type
- REST + API key
- In AlgoGP
- Design and backtest in AlgoGP, connect the exported code
- Base URL
https://public-api.etoro.com/api/v1/- Auth headers
x-api-key,x-user-key,x-request-id- Errors
- 401 wrong keys; 429 rate limited (honour
Retry-After) - Status
- Beta ecosystem; access rolling out by region
Making a request
import json, os, urllib.request, uuid
req = urllib.request.Request("https://public-api.etoro.com/api/v1/watchlists", headers={
"x-api-key": os.environ["ETORO_API_KEY"],
"x-user-key": os.environ["ETORO_USER_KEY"],
"x-request-id": str(uuid.uuid4()),
})
print(json.load(urllib.request.urlopen(req)))Build a eToro strategy with AlgoGP
AlgoGP does not connect to eToro natively yet. eToro uses plain HTTPS with an API key, so it is a good candidate for a native adapter; it is not built in yet.
- 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
Export the Python project
Every project exports
strategy.py,market_data.py,brokers.pyandlive.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format. - 3
Plug in eToro
Implement the four adapter methods (
account,positions,submit_market_orderand a candle fetcher) with eToro’s SDK, or keep a built-in platform for paper trading and add eToro when you go live.
Built-in brokers for the same markets: Alpaca, Binance, Kraken, Bybit.
eToro API: frequently asked questions
Does eToro have an API?
Yes, since October 2025, for verified users through the eToro API portal.
Can I test without real money?
Yes; create a user key for your demo (virtual) portfolio first.
Design and backtest your eToro strategy first
AlgoGP turns an idea into Python and tests it on years of history before you connect it to eToro. 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 eToro
Free plan, no card required.
eToro alternatives
- Trading 212 API GuideTrading 212’s beta Public API for Invest and Stocks ISA accounts: read portfolios and place orders with an API key and secret.
- Interactive Brokers API Built into AlgoGPThe broadest multi-asset broker API: stocks, options, futures, FX and bonds on 150+ markets, through TWS or IB Gateway.
- IG API GuideRegulated CFD, spread-betting and FX broker with a REST trading API, Lightstreamer streaming and a demo account.
- Saxo OpenAPI GuideThe API behind SaxoTraderGO: multi-asset trading in stocks, ETFs, options, futures, FX and CFDs, with a simulation environment.
Independent guide. AlgoGP is not affiliated with eToro. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.