REST APIs
TradrAPI can be accessed through a number of RESTful APIs. Each API is designed to provide a specific set of functionality, and can be used to interact with the TradrAPI platform programmatically.
Swagger documentation is available for each API, and can be accessed via the below links.
For information on how to use the TypeScript SDK, please refer to the SDK Docs.
Trading API
The Trading API provides access to the core trading functionality of TradrAPI. It allows users to create and manage accounts, perform balance transactions, adjust balances, access accounts programmatically.
- Production Swagger: https://live.tradrapi.com/api/service/swagger (opens in a new tab)
- Staging Swagger: https://dev.tradrapi.com/api/service/swagger (opens in a new tab)
PROP API
The PROP API provides access to the PROP trading functionality of TradrAPI. It allows users to create and manage PROP accounts, challenges and enrollments.
- Production Swagger: https://live.tradrapi.com/api/prop/swagger (opens in a new tab)
- Staging Swagger: https://dev.tradrapi.com/api/prop/swagger (opens in a new tab)
Logs API
The Logs API provides access to server logs. It allows users to retrieve and list logs for debugging purposes.
Server logs are only available when running MetaTrader 4 or MetaTrader 5 servers.
- Production Swagger: https://live.tradrapi.com/api/log/swagger (opens in a new tab)
- Staging Swagger: https://dev.tradrapi.com/api/log/swagger (opens in a new tab)