OANDA vs IG vs Saxo API

Three established FX brokers with real APIs, differing mainly in authentication and asset breadth.

Last verified

Quick answer

OANDA is simplest (bearer token, practice host, 120 req/s, up to 5,000 candles per call). IG needs an API key plus a login session and limits history to 10,000 points a week, but adds CFDs and spread bets. Saxo uses OAuth and covers the most asset classes, with a 24-hour developer token for simulation.

Side-by-side comparison

APIMarketsAuthPaper / sandboxPricingIn AlgoGP
OANDAForex, CFDs, IndicesREST + API keyFree demo (fxPractice) accountFree API with an accountBuilt into AlgoGPPro
IGForex, CFDs, Indices, Stocks, OptionsREST + API keyDemo account (demo-api.ig.com)API free; 10k historical points/weekGuide
Saxo OpenAPIStocks, ETFs, Options, Futures, Forex, CFDs, BondsOAuth loginSimulation environment; 24-hour developer tokenAPI free; non-FX market data needs entitlementsGuide

Which one should you pick?

Test the strategy before you pick the API

Describe your idea to AlgoGP’s copilot, backtest it on years of stock, crypto or forex data with realistic costs, then export Python wired to OANDA or any built-in broker. Swap the broker later without touching the strategy.

More API comparisons

AlgoGP is not affiliated with any provider listed. Details change; check each provider’s documentation. Nothing here is investment advice.