Health checks and API version discovery endpoints. These endpoints are publicly accessible and do not require authentication.
- CeFi Direct
- REST
- All order activity (deprecated)
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/
Number of records to return per page. Maximum allowed value is 100.
Number of records to skip before returning results. Used for offset-based pagination.
A Unix UTC timestamp in nanoseconds used as a reference point for fetching trades. The query will retrieve results created before this timestamp, enabling precise time-based filtering and ensuring stable pagination. If omitted, the server responds with 400 BAD REQUEST.
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/order/trade
https://prod.truex.co/api/v1/order/trade
- 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/order/trade?size=10&skip=2147483647×tamp=1741523275598727336&client_id=78901968715907076' \
-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'Successful operation.
An external identifier for the order.
A unique identifier for the trading instrument.
The type of activity event.
The Unix UTC timestamp (in nanoseconds) when the activity occurred.
Liquidity flag indicating whether the order was a maker or taker.
A unique identifier for the trade match.
[ { "client_id": "78975249877368840", "external_id": "550e8400-e29b-41d4-a716-446655440000", "instrument_id": "78975249883267118", "msg_type": "REPORT_TRADE", "timestamp": "1770919994854735762", "side": "BUY", "order_id": "2312760665443598349", "trade_price": "111480.5", "trade_qty": "0.06089", "trade_fee_rate": "0.0005", "liq_flag": "TAKER", "match_id": "147670564223998146302870408890920992792" } ]
Number of records to return per page. Maximum allowed value is 100.
A Unix UTC timestamp in nanoseconds used as a reference point for fetching activity.
Comma-separated list of client IDs to filter results.
Comma-separated list of order IDs to filter results.
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/order/activity
https://prod.truex.co/api/v1/order/activity
- 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/order/activity?size=10&skip=string×tamp=1741523275598727336&client_id=78901968715907076&order_id=8005237327190949926&msg_type=REPORT_TRADE' \
-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'Successful operation.
An external identifier for the order.
A unique identifier for the trading instrument.
The type of activity event.
- REQUEST_NEW
- REQUEST_CANCEL
- REQUEST_MODIFY
- REPORT_CONFIRM
- REPORT_REJECT
- REPORT_TRADE
- REPORT_CANCELED
- REPORT_MODIFIED
The Unix UTC timestamp (in nanoseconds) when the activity occurred.
[ { "client_id": "78975249877368840", "external_id": "550e8400-e29b-41d4-a716-446655440000", "instrument_id": "78975249883267118", "msg_type": "REQUEST_NEW", "timestamp": "1770919994854735762", "side": "BUY", "order_price": "66000", "order_qty": "0.0001" } ]
Number of records to return per page. Maximum allowed value is 100.
Number of records to skip before returning results. Used for offset-based pagination.
A Unix UTC timestamp in nanoseconds used as a reference point for fetching orders. The query will retrieve results created before this timestamp, enabling precise time-based filtering and ensuring stable pagination. If omitted, the server responds with 400 BAD REQUEST.
- Mock server
https://docs.truemarkets.co/_mock/apis/cefi-direct/rest/v1/api/v1/order
https://prod.truex.co/api/v1/order
- 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/order?size=10&skip=2147483647×tamp=1741523275598727336' \
-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'Successful operation.
A unique identifier assigned to the client.
A unique identifier for the trading instrument.
Indicates whether the trade was executed as a taker or a maker.
A unique identifier for the trade match event.
The Unix UTC timestamp (in nanoseconds) when the trade was executed.
[ { "client_id": "78901968715907076", "instrument_id": "78901968728948750", "order_id": "8005237327190949926", "trade_price": "111480.5", "trade_qty": "0.06089", "trade_fee_rate": "0.0005", "liq_flag": "TAKER", "match_id": "147670564223998146302870408890920992792", "timestamp": "1752163579133484200" } ]
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. |