Broker API HubMenu

Broker API

Saxo OpenAPI: limits, auth and errors

OAuth 2.0 REST and WebSocket API, with a free simulation environment.

Independent and unofficialNewest reading Official documentation

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Quickstart: key to first call68 endpoints5 messages143 error codes

Saxo API rate limits and allowances

One record per limit. The scope is part of the limit: a figure without its scope is not a figure you can pace against.

LimitValueScopeSource
Headline limit120/min per session, per service groupsessiondeveloper.saxochecked

Saxo API rate limits in full, with pacing advice and the related error codes.

Access, authentication and streaming

API types listed in the record: REST, WebSocket streaming.

How you get a key

Create a developer portal account for SIM (24 hour token or registered app); apply for live app credentials after testing.

Saxo OpenAPI Learnchecked

Who can use it

Direct retail and professional clients may use it for personal use; a live account must be funded before creating a live app. The approval criteria for a retail live environment are unverified: the environments and security pages read on 19 Sep 2026 say live requires permission and testing before deployment but do not state what is required.

Saxo Support: personal usechecked

Demo

Yes: SIM environment; 24 hour portal tokens work in SIM only.

Saxo Environmentschecked

Authentication

OAuth 2.0 authorization code (with or without PKCE); app key and secret for live. Refresh tokens rotate: each is invalidated on use and replaced. Certificate-based auth is for select partners only, not retail.

Saxo OpenAPI Learnchecked

Streaming

WebSocket streaming (SIM and live hosts). The connection allowance and the instrument cap are unverified as of 20 Sep 2026: the streaming pages no longer publish either figure and say only that the number of WebSocket connections depends on the throttling profile assigned to the application.

Saxo Environmentschecked

History depth

Chart samples max 1,200 per request; some FX data back to 2002. Trades report takes FromDate and ToDate with no stated limit.

Saxo OpenAPI Support: How many samples can be returned at a time?checked

Rate limits, as worded

10,000,000 requests a day per app; 120 a minute per session per service group; 1 order a second per session; a duplicate order inside 15 seconds is rejected with HTTP 409. Read 23 Sep 2026.

Saxo OpenAPI: rate limitingchecked

Saxo API endpoints

68 documented endpoints. Grouped by what they do

Saxo messages

5 documented messages and subscriptions of the Saxo OpenAPI streaming connection. They are not HTTP endpoints: none has a method or a path, and each travels over a connection that stays open. Grouped by what they do, each with its summary

Saxo API error codes

143 decoded error codes. All Saxo OpenAPI errors

Platform APIs an account here can reach

Platform APIOfferedNoteSource
MetaTrader 4 (MQL4)NoHelp centre states: 'Saxo does not offer MetaTrader (MT4) platform.' Saxo points clients to SaxoTrader and its OpenAPI instead.Does Saxo offer the MetaTrader platform? (Saxo help centre)checked
MetaTrader 5 (Python package and MQL5)NoMT5 not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.UnverifiedSaxo UK platformschecked
cTrader Open APINocTrader not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.UnverifiedSaxo UK platformschecked
TradeLocker APINoTradeLocker not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.UnverifiedSaxo UK platformschecked
Match-Trader Platform APINoMatch-Trader not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.UnverifiedSaxo UK platformschecked
DXtrade APIsNoDXtrade not listed on the broker's UK platforms page; absence from an overview page is not proof, so unverified.UnverifiedSaxo UK platformschecked

Saxo API SDKs and wrappers

LibraryLanguageOfficialNoteSource
openapi-samples-jsJavaScriptOfficialNot recordedUnverifiedgithub.com
openapi-samples-csharpC#OfficialNot recordedUnverifiedgithub.com
saxo_openapiPythonCommunityCommunity wrapper, last release 0.6.0 in Sept 2019.pypi.orgchecked
openapi-clientlib-jsJavaScriptOfficialOfficial JS client library, archived.github.comchecked

Saxo API: questions and answers

Each answer is read from the record on this page, not written separately. Where the record is unverified, the answer says so.

Does Saxo have an API?

Yes. This register records Saxo as having its own API (REST and WebSocket streaming), with availability marked as active. OAuth 2.0 REST and WebSocket API, with a free simulation environment.

Getting started, Saxo OpenAPIchecked

Saxo API key: how do I get one?

Create a developer portal account for SIM (24 hour token or registered app); apply for live app credentials after testing.

Saxo OpenAPI Learnchecked

Who can use the Saxo API?

Direct retail and professional clients may use it for personal use; a live account must be funded before creating a live app.

Saxo Support: personal usechecked

Saxo API demo: is there a demo or sandbox?

Yes: SIM environment; 24 hour portal tokens work in SIM only.

Saxo Environmentschecked

What are the Saxo API rate limits?

Headline limit: 120/min per session, per service group. Scope: session. As the record words it: 10,000,000 requests a day per app; 120 a minute per session per service group; 1 order a second per session; a duplicate order inside 15 seconds is rejected with HTTP 409. Read 23 Sep 2026.

developer.saxochecked Saxo OpenAPI: rate limitingchecked

How does Saxo API authentication work?

OAuth 2.0 authorization code (with or without PKCE); app key and secret for live. Refresh tokens rotate: each is invalidated on use and replaced. Certificate-based auth is for select partners only, not retail.

Saxo OpenAPI Learnchecked

Does the Saxo API support streaming?

WebSocket streaming (SIM and live hosts).

Saxo Environmentschecked

How much history does the Saxo API return?

Chart samples max 1,200 per request; some FX data back to 2002. Trades report takes FromDate and ToDate with no stated limit.

Saxo OpenAPI Support: How many samples can be returned at a time?checked

Is there a Python library for the Saxo API?

This register lists one Python library for the Saxo API. saxo_openapi (community, Python): Community wrapper, last release 0.6.0 in Sept 2019.

saxo_openapichecked

Which platform APIs work with an account at Saxo?

Recorded as not offered, with a source: MetaTrader 4. Not verified either way: MetaTrader 5, cTrader, TradeLocker, Match-Trader and DXtrade.

Does Saxo offer the MetaTrader platform? (Saxo help centre)checked

Saxo API questions, each answered in a sentence or two.

The capability tables read one feature at a time across every broker and platform record, Saxo included.

Everything this site records for Saxo OpenAPI, as one JSON file. Each section of the file states its own licence. About the files. This page as Markdown.

Saxo API guides and reference

Saxo API compared

The same fields from two records, side by side. No winner is picked.

What changed recently for the Saxo API

The newest entries are shown. Every dated change, all brokers and platforms. Follow Saxo changes by RSS

Open source repositories for Saxo

Read from GitHub's own records and ordered by stars as read. A listing is not a recommendation.

The full repository list

Partner programme

No published figure. The Saxo Bank partner programme record. The programme register holds every record. This site carries no affiliate links.

How to cite this

Saxo OpenAPI: limits, auth and errors. Broker API Hub, https://openbrokerapi.com/brokers/saxo, newest check .

Where you rely on a single figure, cite the source and the checked date printed beside it as well.

Sections