Version: 1.0.0
DLTM Derivatives API
REST API for derivatives trading on DLT Markets.
The API abstracts exchange-specific details behind a unified interface using canonical instrument symbols.
Authentication
All requests require ed25519 signature authentication via three headers:
| Header | Description |
|---|---|
X-Public-Key | Your public key, hex-encoded. Obtained from the DLT dashboard. |
X-Nonce | Nanosecond Unix timestamp. Must be within 30 seconds of server time. Each nonce can only be used once and must be greater than the last used nonce. |
X-Signature | ed25519 signature of the request, hex-encoded. |
Signature construction:
message = {METHOD}{uri}{body}{nonce}
METHOD— HTTP method in uppercase (e.g.POST)uri— Full path including query string, excluding domain (e.g./v1/derivatives/orders)body— JSON request body for POST/PUT/PATCH; empty string otherwisenonce— Same nanosecond timestamp sent inX-Nonce
Example (POST order):
POST/v1/derivatives/orders{"customer_code":"3a034186-...","instrument_symbol":"BTCUSD_PERP",...}1531816217872000000
Sign the resulting message with your ed25519 private key and hex-encode the result.
Conventions
- Decimal values are represented as strings to avoid floating-point precision issues
- Identifiers use UUID format and are referred to as
code(e.g.,order_code) - Timestamps use ISO 8601 format (
date-time) - Pagination uses
pageandlimitquery parameters - Sorting uses
sort_byandsort_directionquery parameters - List responses follow the format
{total: int, records: [Item]}
Rate Limiting
API requests are subject to rate limiting. When the limit is exceeded, the API returns
a 429 Too Many Requests response with a Retry-After header.
Authentication
- API Key: ApiTokenAuth
ed25519 API key. Must be accompanied by X-Nonce and X-Signature headers.
See Authentication section for signature construction details.
Security Scheme Type: | apiKey |
|---|---|
Header parameter name: | X-Public-Key |