Broker API HubMenu

Match-Trader API error code

Match-Trader API error: 401 Unauthorized

The error, as text you can copy

401 Unauthorized
Kind
API error code
HTTP status
401
API
Match-Trader Platform API

What does 401 Unauthorized mean on the Match-Trader API?

In the Match-Trader Platform API documentation, the example of a 401 response has the title "Unauthorized" and the detail "Authorization information is missing or invalid." (the vendor's wording), with the status, the request path and a timestamp.

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.

Independent and unofficialapp.theneo.iochecked

How do I fix 401 Unauthorized?

The vendor's Login section says tokens are valid for 15 minutes and should be refreshed through the refresh-token endpoint, either 15 minutes after login or on receiving the first 401 response.