Broker API HubMenu

What does each API's most referenced error mean?

An error code is what an API sends back when it refuses a request. Some codes come up far more often than others while you write and run a program.

Independent and unofficialNewest check

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.

Rows are in name order. The order is not a ranking and nothing here recommends a broker. Not recorded here means this site holds no record to answer from. It does not mean the broker or platform lacks it.

How each answer is built

The code is chosen by counting: for each error record, how many of this site's other records about the same API (its guides, quickstart, endpoints, limit records, dated changes, sample apps and carried over articles) name the code exactly. The code named by the most is used, and a tie goes to the first in code order. A code that is only digits is not counted, because a bare number in a sentence cannot be told from a quantity. Where no code is named anywhere, the question is not asked. The count measures this site's records, not how often the API returns the code.

6 of the 29 records below can answer this question. 0 of those answers rest on a record labelled unverified, 0 rest on sources that conflict, and 23 records are shown as not recorded here.

The state beside an answer is the cell the capability grid computes for the same record, shown as it stands there: Error codes decoded here. It is a separate reading of the record, decided by the rule on its own page.

Brokers

RecordAnswer from the recordError codesStatus, source and date
Axi

Not recorded here

Not recordedNo record held
Bitget

Not recorded here

Not recordedNo record held
Capital.com

Not recorded here

YesNo record held
CMC Markets

Not recorded here

Not recordedNo record held
Deriv

What does Deriv error Deriv-App-ID header is required for PAT tokens mean?

A REST request authenticated with a personal access token was sent without the Deriv-App-ID header. Deriv's page gives this as the message of the 401 response.

Deriv error Deriv-App-ID header is required for PAT tokens: the meaning in full and what to do

Yesdevelopers.deriv.comchecked
Dukascopy

Not recorded here

Not recordedNo record held
eToro

Not recorded here

YesNo record held
Exness

Not recorded here

Not recordedNo record held
FOREX.com

Not recorded here

Not recordedNo record held
FXCM

Not recorded here

Not recordedNo record held
FxPro

Not recorded here

Not recordedNo record held
IG

What does IG error error.public-api.exceeded-api-key-allowance mean?

The traffic allowance of the API key has been exceeded. IG's reference lists this code under HTTP 403 in the Exceptions tables for /session.

IG error error.public-api.exceeded-api-key-allowance: the meaning in full and what to do

Yeslabs.ig.comchecked
Interactive Brokers

Not recorded here

YesNo record held
OANDA

What does OANDA error HTTP 429 mean?

OANDA returned HTTP 429 because requests arrived faster than it would accept them.

OANDA error HTTP 429: the meaning in full and what to do

Yesdeveloper.oanda.comchecked
Pepperstone

Not recorded here

Not recordedNo record held
Saxo

What does Saxo error IllegalInstrumentId mean?

The instrument is unknown. Saxo's description is Unknown instrument name. Saxo lists this among the error codes of the order placement endpoint.

Saxo error IllegalInstrumentId: the meaning in full and what to do

Yesdeveloper.saxochecked
Swissquote

Not recorded here

Not recordedNo record held
ThinkMarkets

Not recorded here

Not recordedNo record held
Tickmill

Not recorded here

Not recordedNo record held
Trading 212

Not recorded here

YesNo record held
XTB

Not recorded here

Not recordedNo record held

Platform APIs

RecordAnswer from the recordError codesStatus, source and date
cTrader

Not recorded here

YesNo record held
DXtrade

Not recorded here

YesNo record held
Match-Trader

Not recorded here

YesNo record held
MetaApi

Not recorded here

Not recordedNo record held
MetaCopier

Not recorded here

Not recordedNo record held
MetaTrader 4

Not recorded here

YesNo record held
MetaTrader 5

What does MetaTrader 5 error -10005 mean?

The terminal did not respond in time.

MetaTrader 5 error -10005: the meaning in full and what to do

Yesmql5.comchecked
TradeLocker

What does TradeLocker error no_data mean?

A status in the response of GET /trade/history, not an HTTP error. TradeLocker says the status is set to no_data when there is no data in the requested time period.

TradeLocker error no_data: the meaning in full and what to do

Yespublic-api.tradelocker.comchecked

Where to go next