Home › Guides

Broker and exchange APIs for algorithmic trading from Spain and the EU

Updated: 2026-10-16 · AgentBroker Index

Educational content — not investment advice

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.

Quick answer: 14 non-US-only providers offer an API, CLI or local MCP you can automate (Bit2Me, Bybit, Crypto.com, cTrader (Spotware), eToro, Freedom24 (Tradernet)…). Spain's CNMV notes that only an authorised firm may receive or execute orders and hold client funds, and that these systems are not recommended for inexperienced investors.

APIs, CLIs and local MCP servers — not US-only

Check each provider's terms: some APIs are read-only or restrict automated trading.

ProviderAgent canES / EU / USLimits & approval (as documented)
Bit2Me
Crypto exchange · Spain
Place orders
Local MCP
· EU: Unknown · US: UnknownLocal 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.
Bybit
Crypto exchange · Global
Place orders
Local MCP
ES: Unknown · EU: Unknown · US: UnknownOfficial trading MCP (npx); market data without credentials, trading requires API key + secret. Limits depend on key permissions.
Crypto.com
Crypto exchange · Global
Place orders
Agent skillAPIHosted MCP
ES: Unknown · EU: Unknown · US: UnknownAgent 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 · Cyprus
Place orders
Hosted MCPLocal MCPAgent skill
· · US: UnknownRemote MCP via configuration token from cTrader Web; local MCP needs cTrader Windows/Mac. Confirmation for trading operations can be enabled; no caps documented.
eToro
Broker · Israel/Cyprus
Place orders
APIAgent skill
ES: Unknown · EU: Unknown · US: NoAgent Portfolios: a ring-fenced sub-portfolio (from $200) with a scoped, expiring API key and optional IP allow-list. No per-order confirmation documented. ChatGPT, Gemini and Claude.ai are not supported.
Freedom24 (Tradernet)
Broker · Cyprus
Place orders
Local MCP
ES: Unknown · EU: Unknown · US: UnknownConnect 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.
Kraken
Crypto exchange · US
Place orders
Local MCPCLI
ES: Unknown · EU: Unknown · US: UnknownDefault 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.
MetaMask Agent Wallet
Wallet · US
Place orders
CLI
ES: Unknown · EU: Unknown · US: UnknownSelf-custodial. Guard Mode (default): daily spend limits, allow-listed protocols, 2FA approval for out-of-policy transactions. Beast Mode: fewer interruptions, flagged transactions still need 2FA.
OKX
Crypto exchange · Global
Place orders
Local MCPCLI
ES: Unknown · EU: Unknown · US: UnknownAgent Trade Kit: open-source MCP toolkit + CLI using OKX API keys. Limits depend on API key permissions.
Revolut X
Crypto exchange · UK/Lithuania
Place orders
Claude connectorLocal MCPCLIAgent skill
· · US: UnknownUsers 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.
Scalable Capital
Broker · Germany
Place orders
Hosted MCPCLI
· · US: NoAgent 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 212
Broker · UK/Bulgaria
Place orders
APIAgent skill
· · US: NoOfficial 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).
Saxo
Broker · Denmark
Place orders
API
ES: Unknown · EU: Unknown · US: NoOfficial OpenAPI (REST + WebSocket, OAuth) with SIM and LIVE environments. No official agent/MCP product found.
Indexa Capital
Robo-advisor · Spain
Read only
API
ES: Yes · EU: Unknown · US: NoOfficial 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.

ProviderAgent canES / EU / USLimits & approval (as documented)
Alpaca
Broker · US
Place orders
Local MCP
ES: Unknown · EU: Unknown · US: YesOpen-source MCP; defaults to paper trading. No built-in OAuth for remote hosting.
Coinbase
Crypto exchange · US
Place orders
Hosted MCPCLIAgent skill
ES: Unknown · EU: Unknown · US: YesOAuth 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.
tastytrade
Broker · US
Place orders
Local MCP
ES: Unknown · EU: Unknown · US: YesEvery 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.
Webull
Broker · US
Place orders
Hosted MCPLocal MCPChatGPT appClaude connectorCLI
ES: No · EU: Unknown · US: YesOrder 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.

*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

Source (Spanish): CNMV — Preguntas y respuestas sobre los sistemas de trading automatizados (STA).

Recent related launches

2026-09
tastytrade — tastytrade releases its official MCP server. source ↗
2026-08-25
Scalable Capital — Scalable Capital launches Agentic Investing: first EU broker letting ChatGPT/Claude place orders (with approval). source ↗
2026-08-06
MetaMask Agent Wallet — MetaMask Agent Wallet launches (self-custodial, Guard Mode). source ↗
2026-08
Webull — Webull adds native ChatGPT, Claude and Grok connectors. source ↗
2026-06-26
Revolut X — Revolut X connects to Claude, Gemini, OpenClaw, Cursor and Codex. source ↗
2026-06
Coinbase — Coinbase launches Coinbase for Agents. source ↗

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.

Basic data protection information

Controller: Andrés G. Otero. Purpose: sending you the weekly newsletter (it may include sponsor messages, always labelled). Legal basis: your consent, which you can withdraw at any time. Recipients: Resend and Cloudflare as processors (US transfers under Standard Contractual Clauses and the Data Privacy Framework). Rights: access, rectification, erasure, objection, restriction and portability via hola@agentbrokerindex.com. More: privacy policy.

Related guides