Base URL: https://api.endpoint.com/api/wl/v1
The API uses two authentication methods depending on the endpoint sensitivity.
Used for: pairs, estimate, exchange operations.
| Header | Description |
|---|---|
X-API-Key |
Your secret API key (min 32 characters) |
Used for: balances, payouts, statistics.
| Header | Description |
|---|---|
X-API-Key |
Your secret API key |
X-API-Signature |
HMAC-SHA256 signature |
X-API-Timestamp |
Unix timestamp (valid within 300 seconds) |
Signature generation:
payload = TIMESTAMP + "\\n" + METHOD + "\\n" + PATH + "\\n" + SORTED_QUERY_STRING
signature = HMAC-SHA256(payload, management_key)
METHOD — uppercase HTTP method (GET, POST)PATH — full path starting with / (e.g. /api/wl/v1/balances)SORTED_QUERY_STRING — parameters sorted alphabetically by key, URL-encoded (http_build_query)All endpoints return JSON:
{
"success": true,
"title": "ok",
"data": { ... }
}
On error: