Trading Platform & Market Data APIs for Algo Trading
How each trading API works, what it costs, its limits, and exactly how to create its API key — for developers and the coding agents they use. Then build on the ones you already have accounts with: AlgoGP turns a strategy idea into tested Python wired to your broker.
Free Free plan
Built-in adapters for 5 platforms: Alpaca, Binance, Coinbase Exchange, Yahoo Finance, Alpha Vantage. News and sentiment sources are on every plan.
Pro Pro plan
All 17 built-in broker and data adapters, frontier AI copilots and 200 backtests a day. See pricing.
Stock & options brokers
Brokers with APIs for US and global stocks, ETFs and options, from API-key REST to OAuth and desktop gateways.
- Alpaca APIBuilt into AlgoGPFree
Commission-free API-first broker for US stocks, ETFs and crypto, with a free paper-trading account.
BrokerMarket dataStocksETFsCrypto API keyFree account; free IEX market data plan
- Tradier APIBuilt into AlgoGP Pro
Developer-focused US brokerage for stocks and options, with a REST API and a free sandbox token.
BrokerMarket dataStocksETFsOptions API keyFree API with a brokerage account
The broadest multi-asset broker API: stocks, options, futures, FX and bonds on 150+ markets, through TWS or IB Gateway.
BrokerMarket dataStocksETFsOptionsFuturesForexBondsCrypto API keyAPI free with account; market data subscriptions extra
The successor to the TD Ameritrade API: stocks, ETFs and options trading plus quotes and history, via OAuth 2.0.
BrokerMarket dataStocksETFsOptions API keyAPI free with a Schwab account
- TradeStation APIGuide
US broker with a v3 REST and streaming API for stocks, options and futures, OAuth 2.0 and a simulated account.
BrokerMarket dataStocksETFsOptionsFutures API keyAPI free; funded account needed for a key
Crypto exchanges
Centralized and on-chain crypto venues for spot, perpetuals and options.
- Binance APIBuilt into AlgoGPFree
The largest crypto exchange by volume, with a deep public market-data API and a free spot testnet.
BrokerMarket dataCrypto API keyFree API; trading fees apply
- Coinbase Exchange APIBuilt into AlgoGP (data)Free
Public, keyless candles from the largest US-regulated crypto exchange, quoted in real US dollars.
Market dataCrypto No key neededFree, no key
- Kraken APIBuilt into AlgoGP Pro
Long-running, US-available crypto exchange with granular API key permissions and public OHLC data.
BrokerMarket dataCrypto API keyFree API; trading fees apply
- Bybit APIBuilt into AlgoGP Pro
Global crypto exchange with a unified V5 API for spot, derivatives and options, and a Demo Trading environment.
BrokerMarket dataCrypto API keyFree API; trading fees apply
- OKX APIBuilt into AlgoGP Pro
Major crypto exchange with a V5 REST and WebSocket API for spot, perpetuals, futures and options, plus demo trading.
BrokerMarket dataCryptoFuturesOptions API keyFree API; trading fees apply
Coinbase’s trading API for spot and eligible derivatives, authenticated with CDP keys that sign a JWT per request.
BrokerMarket dataCryptoFutures API keyFree API; trading fees apply
- Deribit APIBuilt into AlgoGP (data) Pro
The leading crypto options exchange, with JSON-RPC over HTTP and WebSocket, FIX and a test environment.
BrokerMarket dataCryptoOptionsFutures No key neededFree API; trading fees apply
- Hyperliquid APIGuide
On-chain perpetuals and spot exchange with a REST and WebSocket API; trading actions are signed with a wallet key.
BrokerMarket dataCryptoOn-chain API keyNo API fee; protocol trading fees
Forex & CFD brokers
Forex and CFD brokers whose APIs trade and stream currencies, indices and commodities.
- OANDA APIBuilt into AlgoGP Pro
Regulated forex and CFD broker whose v20 REST API serves both orders and candles, with a free demo account.
BrokerMarket dataForexCFDsIndices API keyFree API with an account
- Saxo OpenAPIGuide
The API behind SaxoTraderGO: multi-asset trading in stocks, ETFs, options, futures, FX and CFDs, with a simulation environment.
BrokerMarket dataStocksETFsOptionsFuturesForexCFDsBonds API keyAPI free; non-FX market data needs entitlements
- IG APIGuide
Regulated CFD, spread-betting and FX broker with a REST trading API, Lightstreamer streaming and a demo account.
BrokerMarket dataForexCFDsIndicesStocksOptions API keyAPI free; 10k historical points/week
- cTrader Open APIGuide
Spotware’s API for cTrader brokers: FX and CFD trading and data over TCP or WebSocket, JSON or Protobuf, with OAuth.
BrokerMarket dataForexCFDsIndicesCrypto API keyAPI free; broker spreads/commissions apply
Futures platforms
Web-native futures APIs and the professional routing stacks prop firms run on.
- Tradovate APIGuide
Cloud futures broker with a REST and WebSocket API, a demo host and token-based authentication.
BrokerMarket dataFutures API keyAPI Access add-on; live needs >$1,000 equity
- Rithmic APIGuide
Low-latency futures order routing and market data used by prop firms, through C++/.NET SDKs and R|Protocol.
BrokerMarket dataFutures No key neededCommercial; via your FCM or prop firm
- CQG APIGuide
Institutional futures and derivatives connectivity: WebAPI over secure WebSocket with Protobuf, plus FIX.
BrokerMarket dataFuturesOptions No key neededCommercial; exchange entitlements extra
Prediction markets
Event-contract exchanges where a forecast becomes a tradable probability.
- Polymarket APIGuide
The largest crypto prediction market: public Gamma and CLOB data APIs, and wallet-signed order placement.
Prediction marketMarket dataEvent contractsCrypto API keyPublic data free; trading fees per market
- Kalshi APIGuide
CFTC-regulated US event-contract exchange with REST, WebSocket and FIX APIs and RSA-signed requests.
Prediction marketMarket dataEvent contracts API keyAPI free; per-contract trading fees
Market data APIs
Historical and real-time prices, fundamentals and tick data for backtests and live trading.
- Yahoo Finance APIBuilt into AlgoGP (data)Free
Free, keyless daily and intraday history for stocks, ETFs, indices, futures and forex via the chart endpoint.
Market dataStocksETFsIndicesFuturesForexCrypto No key neededFree, no key (unofficial)
- Alpha Vantage APIBuilt into AlgoGP (data)Free
Free API key for stock, forex and crypto time series plus technical indicators and fundamentals.
Market dataStocksETFsForexCryptoFundamentals API keyFree key: 25 requests/day
- Massive (Polygon.io) APIBuilt into AlgoGP (data) Pro
Institutional-grade US stock, options, forex and crypto aggregates; Polygon.io renamed to Massive in 2025.
Market dataStocksETFsOptionsForexCryptoIndices API keyFree: 5 calls/min, end-of-day, 2 years
- Tiingo APIBuilt into AlgoGP (data) Pro
Clean, curated end-of-day stock prices back decades, plus crypto and IEX intraday, at hobbyist prices.
Market dataStocksETFsCryptoNews API keyFree: 50 requests/hour, 1,000/day
- Twelve Data APIBuilt into AlgoGP (data) Pro
One API for global stocks, forex, crypto and ETFs with 1-minute to monthly bars and a generous free plan.
Market dataStocksETFsForexCryptoIndices API keyFree: 800 requests/day, 8/min
- Financial Modeling Prep APIBuilt into AlgoGP (data) Pro
Fundamentals, earnings, transcripts and end-of-day prices for global equities in one REST API.
Market dataStocksETFsFundamentalsNews API keyFree: 250 requests/day
- Databento APIGuide
Institutional-quality tick, depth (L2/L3) and OHLCV data for US equities, futures and options, billed by usage.
Market dataStocksFuturesOptions API keyUsage-based; Standard $199/mo
- EODHD APIBuilt into AlgoGP (data) Pro
EOD Historical Data: global end-of-day and intraday prices for 150k+ tickers, fundamentals, FX and crypto at low cost.
Market dataStocksETFsForexCryptoFundamentals API keyFree: 20 calls/day; paid from $19.99/mo
- Finnhub APIBuilt into AlgoGP (data) Pro
Stock, FX and crypto prices plus fundamentals, estimates, news and alternative data behind one API key.
Market dataAlt dataStocksForexCryptoFundamentalsNews API keyFree tier; paid from $49.99/mo
- Intrinio APIGuide
Licensed US equities, options and fundamentals data with REST and WebSocket APIs and official SDKs.
Market dataStocksOptionsFundamentals API keyFrom $150/mo individual
Cross-asset market data API for stocks, futures, FX and crypto: tick, minute and daily history over REST, SOAP or WS.
Market dataStocksFuturesForexCryptoIndices API keyCustom; exchange fees extra
- Nasdaq Data Link APIGuide
Formerly Quandl: a marketplace of financial, economic and alternative datasets behind one REST API.
Market dataAlt dataStocksFuturesFundamentals API keyFree and premium datasets
Crypto data APIs
Aggregated crypto prices, order books and on-chain metrics across venues.
- Kaiko APIGuide
Institutional crypto market data: normalized trades, order books and reference data across CEX and DEX venues.
Market dataCryptoOn-chain API keyFrom ~$750/mo; custom licensing
- Coin Metrics APIGuide
Crypto market and on-chain network data: candles, order books, funding, options and thousands of network metrics.
Market dataCryptoOn-chain API keyFree Community API; Pro is custom
- CoinDesk Data APIGuide
The renamed CryptoCompare (then CCData): crypto prices, OHLCV, order books and news across hundreds of exchanges.
Market dataAlt dataCryptoNews API keyFree tier; commercial plans
News, social & sentiment
Headlines, posts and crowd mood, scored into signals a strategy can filter on.
- NewsAPI APIGuide
Search headlines from tens of thousands of news sources; adds breadth to the live news sentiment feed.
Alt dataNewsSentiment API keyFree developer plan: 100 requests/day
- X (Twitter) APIGuide
Recent posts from X for social sentiment; read with an app-only bearer token.
Alt dataSocial postsSentiment API keyPay per use (credits)
A daily 0–100 crypto sentiment score from alternative.me, free and keyless.
Alt dataCryptoSentiment No key neededFree, no key
Enterprise data terminals
Institutional terminals and feeds: what they offer and how developers access them.
Bloomberg’s enterprise data: BLPAPI for Terminal and B-PIPE, plus Data License for reference and history.
Market dataStocksBondsFuturesForexOptionsFundamentals No key neededEnterprise contracts
LSEG Real-Time and Data Platform (formerly Refinitiv/Eikon): global multi-asset real-time and tick history.
Market dataStocksBondsFuturesForexOptionsFundamentals No key neededEnterprise contracts
- FactSet APIs APIGuide
FactSet’s developer APIs for prices, fundamentals, estimates, tick history and news, for licensed clients.
Market dataStocksBondsFundamentalsNews No key neededEnterprise contracts
Platforms & "does it have an API?"
Platforms people search an API for, renamed or retired APIs, and how to automate them.
- NinjaTrader APIGuide
Futures trading platform with NinjaScript (C#) and an Automated Trading Interface, not a cloud REST trading API.
PlatformFuturesForex No key neededPlatform free to use; licenses optional
- TradingView APIGuide
No public trading or data API: automate with Pine Script alerts sent to your own webhook, which then calls a broker API.
PlatformStocksCryptoForexFutures No key neededWebhooks need a paid plan
- Robinhood APIGuide
An official API exists only for Robinhood Crypto trading; there is no official stock or options trading API.
PlatformCryptoStocks No key neededCrypto API free; trading spreads apply
- Fidelity APIGuide
Fidelity offers no public retail trading API. Here is what exists, the risks of unofficial routes, and the alternatives.
PlatformStocksETFsOptions No key neededNo retail API
- IEX Cloud APIGuide
IEX Cloud shut down in August 2024. What it offered, and which APIs replace it for prices, fundamentals and news.
PlatformStocksFundamentals No key neededDiscontinued (August 2024)
Trading API comparisons
- Best Broker APIs for Algorithmic Trading (2026)Alpaca, Interactive Brokers, TradeStation, Schwab, Tradier and Saxo compared for algo trading: markets, authentication, paper trading, limits and costs.
- Best Free Stock Market Data APIs (2026)Free stock data APIs compared: Alpaca, Massive (Polygon), Twelve Data, Tiingo, Alpha Vantage, EODHD, Finnhub and Yahoo Finance limits, history and caveats.
- Alpaca vs Interactive Brokers APIAlpaca vs Interactive Brokers for algo trading: REST keys vs TWS gateway, paper trading, markets, data costs, Python libraries and which suits your bot.
- Best Crypto Exchange APIs for Trading Bots (2026)Binance, OKX, Bybit, Kraken, Coinbase Advanced, Deribit and Hyperliquid APIs compared for bots: signing, testnets, limits, US availability and fees.
- Binance vs Bybit vs OKX APIBinance, Bybit and OKX APIs side by side: signing recipes, rate limits, demo and testnet environments, markets, symbols and which to pick for a crypto bot.
- Best Futures Trading APIs (2026)Futures trading and data APIs compared: Tradovate, Interactive Brokers, TradeStation, Rithmic, CQG, NinjaTrader and Databento for retail and pro developers.
- Databento vs Massive (Polygon) vs IntrinioDatabento, Massive (formerly Polygon.io) and Intrinio compared: data depth, tick and order-book data, futures, fundamentals, pricing models and licensing.
- Best Forex Broker APIs (2026)Forex broker APIs compared: OANDA, IG, Saxo, cTrader Open API and Interactive Brokers on authentication, demo accounts, limits, regions and Python support.
- OANDA vs IG vs Saxo APIOANDA v20, IG REST and Saxo OpenAPI compared for forex and CFD automation: auth, demo environments, rate limits, history depth and regions served.
- Polymarket vs Kalshi API: Best Prediction Market APIPolymarket and Kalshi APIs compared for prediction-market bots: public data, authentication (EIP-712 vs RSA-PSS), regulation, fees and SDKs.
- How to Connect TradingView Alerts to a BrokerSend TradingView alerts to Alpaca, OANDA, Binance or other brokers with webhooks: alert JSON, a relay server, security, idempotency and a no-relay alternative.
How to choose a trading API
Start where your account is
If you already hold an account at a broker or exchange, use its API: it sees the same balances and positions as its app.
Check how it authenticates
API-key REST takes minutes. OAuth needs a browser login and token refresh; gateways need a running desktop process; wallet or RSA signing needs an SDK.
Paper trade first
Use the paper, testnet or demo environment until the bot has run for weeks without surprises, then go live small.
Product names and trademarks belong to their owners; AlgoGP is not affiliated with or endorsed by any platform listed. Limits and prices change — check each provider’s documentation before relying on them. A machine-readable index of these guides is at /llms.txt.