Broker and exchange APIs for algorithmic trading from Spain and the EU
Updated: 2026-10-16 · AgentBroker Index
This guide is for information and education only. It is not financial, investment, legal or tax advice, and it is not a recommendation to open an account with any provider, to buy or sell any instrument, or to let an AI agent trade. AI agents make mistakes and can act on manipulated content; investing involves risk of loss and leveraged products (CFDs, futures, perpetuals) are high-risk. Features and eligibility change often: confirm on the provider's own site. This page contains no affiliate links and no provider paid to appear.
If you want to automate your own strategy (with or without an LLM in the loop), you need a provider with a programmable interface: a REST/WebSocket API, a CLI, or a local MCP server. This page lists the ones in the index, split by whether they mainly serve EU or US clients, and summarises the CNMV's guidance on automated trading systems for retail investors.
APIs, CLIs and local MCP servers — not US-only
Check each provider's terms: some APIs are read-only or restrict automated trading.
| Provider | Agent can | ES / EU / US |
|---|---|---|
| Bit2Me Crypto exchange · Spain | Place orders Local MCP | ES: Serves market* · EU: Unknown · US: Unknown |
| Bybit Crypto exchange · Global | Place orders Local MCP | ES: Unknown · EU: Unknown · US: Unknown |
| Crypto.com Crypto exchange · Global | Place orders Agent skillAPIHosted MCP | ES: Unknown · EU: Unknown · US: Unknown |
| cTrader (Spotware) Trading platform · Cyprus | Place orders Hosted MCPLocal MCPAgent skill | ES: Serves market* · EU: Serves market* · US: Unknown |
| eToro Broker · Israel/Cyprus | Place orders APIAgent skill | ES: Unknown · EU: Unknown · US: No |
| Freedom24 (Tradernet) Broker · Cyprus | Place orders Local MCP | ES: Unknown · EU: Unknown · US: Unknown |
| Kraken Crypto exchange · US | Place orders Local MCPCLI | ES: Unknown · EU: Unknown · US: Unknown |
| MetaMask Agent Wallet Wallet · US | Place orders CLI | ES: Unknown · EU: Unknown · US: Unknown |
| OKX Crypto exchange · Global | Place orders Local MCPCLI | ES: Unknown · EU: Unknown · US: Unknown |
| Revolut X Crypto exchange · UK/Lithuania | Place orders Claude connectorLocal MCPCLIAgent skill | ES: Serves market* · EU: Serves market* · US: Unknown |
| Scalable Capital Broker · Germany | Place orders Hosted MCPCLI | ES: Serves market* · EU: Serves market* · US: No |
| Trading 212 Broker · UK/Bulgaria | Place orders APIAgent skill | ES: Serves market* · EU: Serves market* · US: No |
| Saxo Broker · Denmark | Place orders API | ES: Unknown · EU: Unknown · US: No |
| Indexa Capital Robo-advisor · Spain | Read only API | ES: Yes · EU: Unknown · US: No |
Mainly for US clients
Listed for comparison; most are not available to residents of Spain.
| Provider | Agent can | ES / EU / US |
|---|---|---|
| Alpaca Broker · US | Place orders Local MCP | ES: Unknown · EU: Unknown · US: Yes |
| Coinbase Crypto exchange · US | Place orders Hosted MCPCLIAgent skill | ES: Unknown · EU: Unknown · US: Yes |
| tastytrade Broker · US | Place orders Local MCP | ES: Unknown · EU: Unknown · US: Yes |
| Webull Broker · US | Place orders Hosted MCPLocal MCPChatGPT appClaude connectorCLI | ES: No · EU: Unknown · US: Yes |
*Serves market: the provider operates there, but it does not publish whether the agent feature is available in that country.
What Spain's CNMV says about automated trading systems
- The firm supplying the system may not receive or execute orders or hold client funds unless it is authorised to provide investment services.
- For complex products such as futures or CFDs, the firm receiving the orders must first run an appropriateness test; if the system amounts to advice or portfolio management, a suitability test applies.
- These systems are not recommended for inexperienced investors and require constant monitoring.
- No provider can guarantee returns, and commissions from frequent orders affect results.
Source (Spanish): CNMV — Preguntas y respuestas sobre los sistemas de trading automatizados (STA).
Recent related launches
Frequently asked questions
Is it legal to use a trading bot in Spain?
The CNMV does not bar individuals from using automated trading systems, but orders must go through an authorised firm, and whoever sells you the system may not take orders or hold your money without authorisation. Also check your broker's terms: some restrict automated trading. This is not legal advice.
Does Trading 212 allow algorithmic trading via its API?
Official open-source Agent Skill (trading212-labs/agent-skills) wrapping the Public API (beta, v0): market, limit, stop and stop-limit orders, portfolio, history. API key + secret; demo and live environments; optional IP allow-list for keys. Invest and Stocks ISA accounts only. No per-order confirmation or caps documented. Trading 212's API Terms prohibit using the API for Algorithmic Trading (orders determined by an algorithm with limited or no human intervention).
What does Interactive Brokers offer agents?
Agent drafts trade instructions only; you review and submit each one from an IBKR platform. Authorization covers a single account. Drafts expire after 7 days (per StockBrokers).
How we built this page: every row comes from our tracker data, checked against each provider's official page (see each provider entry for sources). See the full tracker →
External sources: CNMV — Preguntas y respuestas sobre los sistemas de trading automatizados (STA) · ESMA/CNMV — Uso de la inteligencia artificial en las inversiones: ¿qué necesita saber?
Get the weekly AgentBroker brief
One email a week: what launched, what changed, what to watch. Free.
Related guides
- Which brokers and exchanges let an AI agent trade in Spain?
- Which brokers, banks and exchanges work with ChatGPT?
- Which brokers and exchanges can you connect to Claude?
- Official MCP servers from brokers, banks and exchanges
- Which crypto exchanges and wallets let an AI agent trade?
- Can you connect a Spanish bank to ChatGPT or an AI agent?
- AI agent trading permissions: who approves the order?