Setup & Authentication
All API requests (except health checks and login) require a Bearer token obtained by exchanging an API key. Include it in every request as Authorization: Bearer <token>.
Quick Login
Enter your API key to authenticate. The token will be stored in localStorage and used for all "Try it" requests.
Bearer Token
Or paste a JWT directly. This token is auto-included in all "Try it" panels.
Base URL
Current:
Error Format (RFC 7807)
All errors return a standard Problem Details JSON object with a correlation traceId.
Error Codes
| Code | Status | Description |
|---|
Authentication
Trading
Requires Bearer JWT (client or admin role)
Admin -- Clients
Requires JWT + role=admin
Admin -- Spreads, Controls & Holidays
Requires JWT + role=admin
Admin -- Operations & Audit
Requires JWT + role=admin
Health
No authentication required.
Transfero OTC API Reference -- Generated from source code