curl --request GET \
--url https://api.orderly.org/v1/admin/asset/convert_history \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'import requests
url = "https://api.orderly.org/v1/admin/asset/convert_history"
headers = {
"orderly-timestamp": "<orderly-timestamp>",
"orderly-account-id": "<orderly-account-id>",
"orderly-key": "<orderly-key>",
"orderly-signature": "<orderly-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'orderly-timestamp': '<orderly-timestamp>',
'orderly-account-id': '<orderly-account-id>',
'orderly-key': '<orderly-key>',
'orderly-signature': '<orderly-signature>'
}
};
fetch('https://api.orderly.org/v1/admin/asset/convert_history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orderly.org/v1/admin/asset/convert_history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"orderly-account-id: <orderly-account-id>",
"orderly-key: <orderly-key>",
"orderly-signature: <orderly-signature>",
"orderly-timestamp: <orderly-timestamp>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orderly.org/v1/admin/asset/convert_history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("orderly-timestamp", "<orderly-timestamp>")
req.Header.Add("orderly-account-id", "<orderly-account-id>")
req.Header.Add("orderly-key", "<orderly-key>")
req.Header.Add("orderly-signature", "<orderly-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orderly.org/v1/admin/asset/convert_history")
.header("orderly-timestamp", "<orderly-timestamp>")
.header("orderly-account-id", "<orderly-account-id>")
.header("orderly-key", "<orderly-key>")
.header("orderly-signature", "<orderly-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orderly.org/v1/admin/asset/convert_history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["orderly-timestamp"] = '<orderly-timestamp>'
request["orderly-account-id"] = '<orderly-account-id>'
request["orderly-key"] = '<orderly-key>'
request["orderly-signature"] = '<orderly-signature>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"rows": [
{
"convert_id": 617575,
"account_id": "0x94e0bc419e3eecdba0d15e67f04cd62a5ee685a9190464cea4afb6e3c0b66e2b",
"user_address": "0xa772873e31f088A88C3Fc77E624AE5f4fd1E296B",
"converted_asset": {
"USDT": 50
},
"received_asset": "USDC",
"received_qty": 49.61831,
"type": "manual",
"status": "completed",
"details": [
{
"transaction_id": 560847,
"venue": "on_chain",
"converted_asset": "USDT",
"received_asset": "USDC",
"converted_qty": 50,
"received_qty": 49.61831,
"chain_id": 56,
"tx_id": "0xeeab245a9981eb0adbbb8561762cfffc350978a7b70ebc29809a148834da66a6",
"haircut": 0,
"result": "succeeded"
}
],
"created_time": 1772706491837,
"updated_time": 1772706491837
}
],
"meta": {
"total": 1,
"records_per_page": 20,
"current_page": 1
},
"next_cursor": 617575
},
"timestamp": 1778747916938
}Get asset conversion history
GET /v1/admin/asset/convert_history
Returns asset conversion history records from the Builder’s trading platform. Only the Builder Admin can query this endpoint.
Use page and size for offset pagination, or pass the next_cursor from the previous response as cursor for consistent keyset pagination. When provided, cursor takes precedence over page. Cursor pagination is recommended for reconciliation and exports because offset pagination may duplicate or skip records when new conversions arrive between requests.
start_t and end_t are required. start_t must be less than or equal to end_t, and the query range cannot exceed 180 days. To filter by user, provide either user_address or user_account, but not both.
Example request:
GET /v1/admin/asset/convert_history?page=1&size=20&start_t=1772706491837&end_t=1778747916938&user_address=0xa772873e31f088A88C3Fc77E624AE5f4fd1E296B
curl --request GET \
--url https://api.orderly.org/v1/admin/asset/convert_history \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'import requests
url = "https://api.orderly.org/v1/admin/asset/convert_history"
headers = {
"orderly-timestamp": "<orderly-timestamp>",
"orderly-account-id": "<orderly-account-id>",
"orderly-key": "<orderly-key>",
"orderly-signature": "<orderly-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'orderly-timestamp': '<orderly-timestamp>',
'orderly-account-id': '<orderly-account-id>',
'orderly-key': '<orderly-key>',
'orderly-signature': '<orderly-signature>'
}
};
fetch('https://api.orderly.org/v1/admin/asset/convert_history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orderly.org/v1/admin/asset/convert_history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"orderly-account-id: <orderly-account-id>",
"orderly-key: <orderly-key>",
"orderly-signature: <orderly-signature>",
"orderly-timestamp: <orderly-timestamp>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orderly.org/v1/admin/asset/convert_history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("orderly-timestamp", "<orderly-timestamp>")
req.Header.Add("orderly-account-id", "<orderly-account-id>")
req.Header.Add("orderly-key", "<orderly-key>")
req.Header.Add("orderly-signature", "<orderly-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orderly.org/v1/admin/asset/convert_history")
.header("orderly-timestamp", "<orderly-timestamp>")
.header("orderly-account-id", "<orderly-account-id>")
.header("orderly-key", "<orderly-key>")
.header("orderly-signature", "<orderly-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orderly.org/v1/admin/asset/convert_history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["orderly-timestamp"] = '<orderly-timestamp>'
request["orderly-account-id"] = '<orderly-account-id>'
request["orderly-key"] = '<orderly-key>'
request["orderly-signature"] = '<orderly-signature>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"rows": [
{
"convert_id": 617575,
"account_id": "0x94e0bc419e3eecdba0d15e67f04cd62a5ee685a9190464cea4afb6e3c0b66e2b",
"user_address": "0xa772873e31f088A88C3Fc77E624AE5f4fd1E296B",
"converted_asset": {
"USDT": 50
},
"received_asset": "USDC",
"received_qty": 49.61831,
"type": "manual",
"status": "completed",
"details": [
{
"transaction_id": 560847,
"venue": "on_chain",
"converted_asset": "USDT",
"received_asset": "USDC",
"converted_qty": 50,
"received_qty": 49.61831,
"chain_id": 56,
"tx_id": "0xeeab245a9981eb0adbbb8561762cfffc350978a7b70ebc29809a148834da66a6",
"haircut": 0,
"result": "succeeded"
}
],
"created_time": 1772706491837,
"updated_time": 1772706491837
}
],
"meta": {
"total": 1,
"records_per_page": 20,
"current_page": 1
},
"next_cursor": 617575
},
"timestamp": 1778747916938
}