Health checks and API version discovery endpoints. These endpoints are publicly accessible and do not require authentication.
True Markets CeFi REST (v1.0.4)
This API allows clients to interact with the CeFi trading platform for order management, market data retrieval, and account information.
Certain API requests must be authenticated using HMAC-SHA256 signature authentication.
The API uses date-based versioning via the X-Truex-Version header. To request a specific API version, include the header in your request:
X-Truex-Version: v2024_01_01Supported Versions:
| Version | Status | Description |
|---|---|---|
v2024_01_01 | Current (Default) | Original API format - responses return raw data arrays/objects |
v2026_01_23 | Current | New envelope format - responses wrapped in { "data": [...], "pagination": {...} } |
If no version header is provided, the API defaults to v2024_01_01. Use the /api/v1/versions endpoint to discover supported versions programmatically.
Response Format by Version:
- v2024_01_01:
[{...}, {...}](raw array) or{...}(raw object) - v2026_01_23:
{ "data": [...], "pagination": { "size": 10, "next_cursor": "..." } }
Error Response Format by Version:
- v2024_01_01: RFC 7807 Problem Details format
- v2026_01_23:
{ "error": { ...RFC 7807 Problem Details... } }
Deprecation Policy: When a version is deprecated, responses will include RFC 8594 headers:
Deprecation: Date when the version was deprecatedSunset: Date when the version will be removed
- 📖 Full API Documentation: https://docs.truex.co/
- 📧 Support: support@truex.co
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/
https://prod.truex.co/
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/clients
https://prod.truex.co/api/v1/clients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/clients?id=string&mnemonic=string' \
-H 'x-truex-auth-signature: string' \
-H 'x-truex-auth-timestamp: string' \
-H 'x-truex-auth-token: YOUR_API_KEY_HERE'[ { "id": "78901949710204932", "status": "ACTIVE", "info": { … } } ]
Timestamp when request was made in seconds since epoch. Must be no older than 15 seconds and no more than 1 second in the future.
Client settings context.
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/clients
https://prod.truex.co/api/v1/clients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/clients \
-H 'Content-Type: application/json' \
-H 'x-truex-auth-signature: string' \
-H 'x-truex-auth-timestamp: string' \
-H 'x-truex-auth-token: YOUR_API_KEY_HERE' \
-H 'x-truex-auth-userid: string' \
-d '{
"id": "78901949710270469",
"info": {
"self_trade_prevention": "CANCEL_BOTH"
}
}'[ { "id": "78901949710204932", "status": "ACTIVE", "info": { … } } ]
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/client
https://prod.truex.co/api/v1/client
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/client?id=string&mnemonic=string' \
-H 'x-truex-auth-signature: string' \
-H 'x-truex-auth-timestamp: string' \
-H 'x-truex-auth-token: YOUR_API_KEY_HERE'[ { "id": "78901949710204932", "status": "ACTIVE", "info": { … } } ]
Timestamp when request was made in seconds since epoch. Must be no older than 15 seconds and no more than 1 second in the future.
Client settings context.
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/client
https://prod.truex.co/api/v1/client
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/client \
-H 'Content-Type: application/json' \
-H 'x-truex-auth-signature: string' \
-H 'x-truex-auth-timestamp: string' \
-H 'x-truex-auth-token: YOUR_API_KEY_HERE' \
-H 'x-truex-auth-userid: string' \
-d '{
"id": "78901949710270469",
"info": {
"self_trade_prevention": "CANCEL_BOTH"
}
}'[ { "id": "78901949710204932", "status": "ACTIVE", "info": { … } } ]
Change Log
| Version | Date | Notes |
|---|---|---|
| v1.0.4 | 2026-03-12 | Compute quote now works for both base and qoute bases. |
| v1.0.3 | 2026-01-27 | Pluralize all endpoints. Deprecate singular versions. |
| v1.0.2 | 2026-01-24 | Add API versioning support and versions endpoint. |
| v1.0.1 | 2025-10-24 | Add gateway health endpoint. |
| v1.0.0 | 2025-10-16 | Initial Release. |