Guide
BrokerMarket dataStocksETFsCryptoForexCFDsIndices API key

eToro API guide

eToro’s API opened a famously closed social-trading platform to developers, alongside an app store for tools built on it.

Last verified · Also known as eToro API, eToro Public API, eToro developer API

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)))
Standard-library request with the three headers.

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. 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 eToro

    Implement the four adapter methods (account, positions, submit_market_order and 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

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

Build a strategy