Broker and exchange APIs for algorithmic trading from Spain and the EU
Updated: · Checked: · AgentBroker Index
Key facts
- 26 providers in this guide; in 25 the agent can place orders. · Source: AgentBroker Index dataset (CC BY 4.0)
- 17 of them are authorised to serve Spain (CNMV, Banco de España and ESMA registers). · Source: CNMV registers
- eToro adds an official Perplexity connector: Perplexity joins Claude, ChatGPT, Grok and Grok Bot as an assistant you can connect to your eToro account. · Source: builders.etoro.com
Free report: which banks and brokers let an AI agent trade in Spain
Confirm your email and we send you full report #1 straight away (written in Spanish). Then every month the next report, and every week what launched and what changed at brokers, banks and exchanges. Free, no affiliate links.
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.
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. Check that a provider is authorised in your country before opening an account. This page contains no affiliate links and no provider paid to appear.
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 | Agent feature in | Limits & approval (as documented) |
|---|---|---|---|
| Bit2MeCrypto exchange · SpainChecked Spanish entity | Place orders Local MCP Crypto: the agent trades it | ES: Operates here, agent feature unconfirmed EU: Not published US: Not published | Local MCP with API key + secret (48 tools). Irreversible writes return a confirmation preview unless confirm=true. External withdrawals and transfers to other users not supported. |
| BitgetCrypto exchange · GlobalChecked Not found | Place orders Hosted MCPLocal MCPCLIAgent skill Crypto: the agent trades itPerps: the agent trades itTokenized: the agent trades it | ES: Not published EU: Not published US: Not published | Agenthub: hosted MCP (https://agent.bitget.com/mcp). You sign in to Bitget in the browser (no API key) and the agent trades in a separate Agentic account; you see each order and it is sent only after you agree. Withdrawals and moving money from the main account into the Agentic account are done on the website, not by the agent. Covers crypto spot, futures (leveraged) and tokenized US stocks. The older local MCP and CLI are being phased out. |
| BybitCrypto exchange · GlobalChecked EU passport | Place orders Local MCP Options: the agent trades itFutures: the agent trades itCrypto: the agent trades itPerps: the agent trades it | ES: Not published EU: Not published US: Not published | Official trading MCP (npx); market data without credentials, trading requires API key + secret. Limits depend on key permissions. |
| Capital.comBroker · CyprusChecked EU passport CFD† | Place orders Local MCP CFDs: the agent trades it | ES: Operates here, agent feature unconfirmed EU: Operates here, agent feature unconfirmed US: Not published | Official open-source local MCP server (38 tools) using your Capital.com API key, a custom API password and 2FA. Every trade needs a mandatory preview, then a confirmation with a single-use preview ID. Working orders you set execute automatically at the target price. Products are CFDs. |
| Crypto.comCrypto exchange · GlobalChecked EU passport | Place orders Agent skillAPIHosted MCP Crypto: the agent trades itPerps: the agent trades it | ES: Not published EU: Not published US: Not published | Agent Key set in the app: view-only or view+trade, weekly trading limit, optional per-trade confirmation, instant kill switch. Agent Keys cannot withdraw. The public MCP server is market data only. |
| cTrader (Spotware)Trading platform · CyprusChecked n/a (software) CFD† | Place orders Hosted MCPLocal MCPAgent skill CFDs: the agent trades itFX: the agent trades it | ES: Operates here, agent feature unconfirmed EU: Operates here, agent feature unconfirmed US: Not published | Remote MCP via configuration token from cTrader Web; local MCP needs cTrader Windows/Mac. Confirmation for trading operations can be enabled; no caps documented. |
| eToroBroker · Israel/CyprusChecked EU passport CFD† | Place orders Hosted MCPClaude connectorAPIAgent skill Stocks: the agent trades itETFs: the agent trades itCrypto: the agent trades itCFDs: the agent trades it | ES: Operates here, agent feature unconfirmed EU: Operates here, agent feature unconfirmed US: Not available | MCP connectors (8 Oct 2026) for Claude, ChatGPT, Grok and Grok Bot, plus Perplexity since November 2026: sign in with eToro, no API keys; read-only or read-and-act access where available, and every proposed action needs your review and approval. Funding and withdrawals stay in eToro. Separately, Agent Portfolios (API): a ring-fenced sub-portfolio (from $200) with a scoped, expiring API key and optional IP allow-list; no per-order confirmation documented there. |
| Freedom24 (Tradernet)Broker · CyprusChecked EU passport | Place orders Local MCP Options: the agent can only read data | ES: Not published EU: Not published US: Not published | Connect with an API key generated in the Tradernet dashboard; keys stay on your machine. The connector lists placing/cancelling orders and stop-losses. No caps documented. |
| GateCrypto exchange · GlobalChecked EU passport | Place orders Hosted MCPLocal MCPCLIAgent skill Options: the agent trades itFutures: the agent trades itCrypto: the agent trades itPerps: the agent trades itCFDs: the agent trades it | ES: Not published EU: Not published US: Not published | Gate for AI: hosted MCP at api.gatemcp.ai (market data with no sign-in; 400+ trading tools on /mcp/exchange via OAuth2 with scopes you choose, now including CFD and stock operations; Claude Desktop connects to it as a remote connector), a local MCP (npx gate-mcp, API key), a CLI and 41 skills. Gate's docs say all fund operations (orders, transfers, swaps) require explicit user confirmation. Includes futures and options (leveraged). |
| KrakenCrypto exchange · USChecked EU passport | Place orders Local MCPCLI Futures: the agent trades itCrypto: the agent trades itPerps: the agent trades itTokenized: the agent trades itFX: the agent trades it | ES: Not published EU: Not published US: Not published | Default services are market data, read-only account and paper trading. Live trading requires enabling the 'trade' service with an API key; enabling 'funding' allows withdrawals. Experimental software. |
| LCXCrypto exchange · LiechtensteinChecked Not found | Place orders Local MCPHosted MCP Crypto: the agent trades it | ES: Not available EU: Not available US: Not available | Official open-source local MCP (lcx-exchange-mcp, 17 tools): balances plus limit and market orders with your LCX API key, which can be read-only or full. A separate hosted Liberty DEX MCP is read-only. |
| MetaMask Agent WalletWallet · USChecked n/a (software) | Place orders CLI Crypto: the agent trades itPerps: the agent trades it | ES: Not published EU: Not published US: Not published | Self-custodial. Guard Mode (default): daily spend limits, allow-listed protocols, 2FA approval for out-of-policy transactions. Beast Mode: no allowlists or outflow limit; only malicious or risky transactions need 2FA, and switching to Beast Mode itself needs 2FA approval. |
| OKXCrypto exchange · GlobalChecked EU passport | Place orders Local MCPCLI Options: the agent trades itFutures: the agent trades itCrypto: the agent trades itPerps: the agent trades it | ES: Not published EU: Not published US: Not published | Agent Trade Kit: open-source MCP toolkit + CLI using OKX API keys. Limits depend on API key permissions. |
| Phantom (MCP server)Wallet · USChecked n/a (software) | Place orders Local MCP Crypto: the agent trades itPerps: the agent trades it | ES: Not published EU: Not published US: Not published | Self-custodial. Local MCP (@phantom/mcp-server) with device-code sign-in; the agent gets a new, dedicated Phantom wallet (not your personal one) that you must fund. Tools for transfers, token swaps (Solana, EVM, cross-chain), portfolio rebalancing and perpetuals (leveraged). No per-transaction confirmation or spending cap is documented on the overview page. |
| Revolut XCrypto exchange · UK/LithuaniaChecked EU passport | Place orders Claude connectorLocal MCPCLIAgent skill Crypto: the agent trades it | ES: Operates here, agent feature unconfirmed EU: Operates here, agent feature unconfirmed US: Not published | Users must review and approve every order. The Claude connector / MCP server is read-only (no place/modify/cancel); order placement goes through the revx CLI/skill, which supports market, limit, stop (conditional) and take-profit/stop-loss orders. |
| Scalable CapitalBroker · GermanyChecked EU passport | Place orders Hosted MCPCLI Stocks: the agent trades itETFs: the agent trades itCrypto: the agent can only read dataCash: the agent can only read data | ES: Operates here, agent feature unconfirmed EU: Operates here, agent feature unconfirmed US: Not available | Agent prepares orders; you approve each order before execution. Permission levels: read-only, restricted or full access. Payments are never handled by agents. Access can be switched off any time. |
| Trading 212Broker · UK/BulgariaChecked EU passport CFD† | Place orders APIAgent skill Stocks: the agent trades itETFs: the agent trades it | ES: Operates here, agent feature unconfirmed EU: Operates here, agent feature unconfirmed US: Not available | Safety: the skill defaults to the LIVE (real-money) environment. If T212_ENV is not set it uses live.trading212.com, so set T212_ENV=demo and use an API key created in your demo (practice) account before testing. API keys only work in the environment they were created in. 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). |
| Webull MéxicoBroker · MexicoChecked Not found | Place orders Local MCPAPIAgent skill Stocks: the agent trades it | ES: Not available EU: Not available US: Not available | Official open-source local MCP (webull-inc/webull-openapi-mcp) supports the Mexico region (developer.webull.com.mx): you run it with your OpenAPI App Key/Secret and 2FA. It can preview, place, modify and cancel stock orders, with risk controls (order value and quantity caps, symbol whitelist). Webull's hosted Cloud MCP for ChatGPT/Claude is US-only for now. |
| BitsoCrypto exchange · MexicoChecked Not found | Place orders API | ES: Not available EU: Not published US: Not published | Official REST Trading API (v3, HMAC-signed API keys) for orders, conversions and margin trading. No official agent/MCP product found (no MCP server card on bitso.com); MCP servers for Bitso exist but are community-built. |
| SaxoBroker · DenmarkChecked EU passport CFD† | Place orders API | ES: Not published EU: Not published US: Not available | Official OpenAPI (REST + WebSocket, OAuth) with SIM and LIVE environments. No official agent/MCP product found. |
| Indexa CapitalRobo-advisor · SpainChecked Spanish entity | Read only API | ES: Available EU: Not published US: Not available | Official REST API is read-only (token generated in user settings). No official MCP; community MCP servers exist. |
Mainly for US clients
Listed for comparison; most are not available to residents of Spain.
| Provider | Agent can | Agent feature in | Limits & approval (as documented) |
|---|---|---|---|
| AlpacaBroker · USChecked Spanish entity | Place orders Local MCP Stocks: the agent trades itETFs: the agent trades itBonds: the agent can only read dataOptions: the agent trades itCrypto: the agent trades it | ES: Not published EU: Not published US: Available | Open-source MCP; defaults to paper trading. No built-in OAuth for remote hosting. |
| CoinbaseCrypto exchange · USChecked EU passport | Place orders Hosted MCPCLIAgent skill Stocks: the agent trades itFutures: the agent trades itCrypto: the agent trades it | ES: Not published EU: Not published US: Available | OAuth with portfolio selection; recommends an isolated agent portfolio. Transfers only between your own portfolios (no external withdrawals). x402 data payments capped at 5 USDC per payment. In ChatGPT, the official Coinbase plugin (US users only) shows a confirmation card for each order; a custom MCP connection lets the agent trade without approving each order. |
| tastytradeBroker · USChecked Not found | Place orders Local MCP Stocks: the agent trades itOptions: the agent trades itFutures: the agent trades itCrypto: the agent trades it | ES: Not published EU: Not published US: Available | Every order needs a 60-second confirmation token from a dry run of that exact order (agent can mint it itself). $50,000 buying-power cap by default; read-only flag. Self-hosted; defaults to production. |
| WebullBroker · USChecked EU passport | Place orders Hosted MCPLocal MCPChatGPT appClaude connectorCLI Stocks: the agent trades itETFs: the agent can only read dataOptions: the agent trades itFutures: the agent trades itCrypto: the agent trades it | ES: Not available EU: Not published US: Available | Order value and share caps, symbol whitelist and read-only mode; local server ships with $10,000 notional / 1,000-share caps and defaults to sandbox. Preview recommended, not enforced. |
| Composer (by SoFi)Trading platform · USChecked Not found | Place orders API | ES: Not available EU: Not available US: Available | Official REST API (Pro plan; one key pair with the same access as your account) can create, invest in, rebalance and liquidate automated strategies (symphonies). No current official agent/MCP product found. |
† CFD risk warning: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Most retail investor accounts lose money when trading CFDs. Consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. This page describes AI-agent access only; we do not promote CFD trading.
Leveraged products (futures, perpetuals, margin) are high risk: you can lose more than you expect, quickly. This page describes AI-agent access only; we do not promote leveraged trading.
Crypto-assets are highly volatile and largely unregulated as investments; you may lose all the money you invest.
Licence for Spain: from the CNMV / Banco de España registers and the ESMA MiCA register (last checked 20 Oct 2026; each provider page shows its own check date); open a provider for the entity and register link.
Agent feature: available · the provider operates there but hasn't said whether its agent feature works there · not available · ? not published. This is separate from the licence: a provider can be authorised to serve Spain while its agent feature's availability in Spain is still unpublished.
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?
Safety: the skill defaults to the LIVE (real-money) environment. If T212_ENV is not set it uses live.trading212.com, so set T212_ENV=demo and use an API key created in your demo (practice) account before testing. API keys only work in the environment they were created in. 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?
In the EU (Interactive Brokers Ireland, which serves Spain) the agent only drafts trade instructions; you review and submit each one from an IBKR platform. Authorization covers a single account. Drafts expire after 7 days (per StockBrokers). Separately, IBKR Autonomous Trading (21 Oct 2026) lets the AI submit stock and equity-option orders without per-order approval inside a funded AI Partition. Since mid-November 2026 IBKR lists it as planned for eligible clients of IB LLC, IB Australia, IB Ireland (the entity that serves Spain) and IB Singapore, and not available to IB (U.K.) clients. IBKR gives no date for IB Ireland, so for now the agent in Spain still only drafts. Requirements: an individual non-margin account and at least 10 trades you approved in Review & Approve mode over two weeks; no margin, short selling or fractional shares.
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?
Cite this
Data and text from AgentBroker Index may be reused under CC BY 4.0, with attribution.
AgentBroker Index (2026). Broker and exchange APIs for algorithmic trading from Spain and the EU. Last updated . https://agentbrokerindex.com/guides/algorithmic-trading-api-spain-eu/Free report: which banks and brokers let an AI agent trade in Spain
Confirm your email and we send you full report #1 straight away (written in Spanish). Then every month the next report, and every week what launched and what changed at brokers, banks and exchanges. Free, no affiliate links.