curl --request GET \
--url https://api.ripio.com/trade/user/trades \
--header 'authorization: <authorization>' \
--header 'signature: <signature>' \
--header 'timestamp: <timestamp>'import requests
url = "https://api.ripio.com/trade/user/trades"
headers = {
"authorization": "<authorization>",
"signature": "<signature>",
"timestamp": "<timestamp>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
authorization: '<authorization>',
signature: '<signature>',
timestamp: '<timestamp>'
}
};
fetch('https://api.ripio.com/trade/user/trades', 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.ripio.com/trade/user/trades",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>",
"signature: <signature>",
"timestamp: <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.ripio.com/trade/user/trades"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
req.Header.Add("signature", "<signature>")
req.Header.Add("timestamp", "<timestamp>")
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.ripio.com/trade/user/trades")
.header("authorization", "<authorization>")
.header("signature", "<signature>")
.header("timestamp", "<timestamp>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ripio.com/trade/user/trades")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
request["signature"] = '<signature>'
request["timestamp"] = '<timestamp>'
response = http.request(request)
puts response.read_body{
"data": {
"trades": [
{
"amount": 0.00270754,
"date": "2019-04-02T11:22:22.403Z",
"fee": 0.25,
"fee_currency": "USDC",
"id": "488F9395-47ED-4924-98AB-C860E1733A03",
"maker_order_id": "1FD30735-E055-4200-AD3D-007B02A5BA92",
"pair_code": "BTC_USDC",
"taker_or_maker": "maker",
"price": 18550,
"side": "sell",
"taker_order_id": "DBC6D4AF-D454-46DF-80EC-E19528A0FB25",
"timestamp": 1675708481219,
"type": "market",
"total_value": 50.22
},
{
"amount": 0.0026938,
"date": "2019-04-02T11:25:41.512Z",
"fee": 0.00001347,
"fee_currency": "BTC",
"id": "C79ED37D-DC21-4D54-8AFC-4262347E3F8D",
"maker_order_id": "F49F5BD8-3F5B-4364-BCEE-F36F62DB966A",
"pair_code": "BTC_USDC",
"taker_or_maker": "taker",
"price": 18550,
"side": "buy",
"taker_order_id": "FEAB5CEC-7F9E-4F95-B67D-9E8D5C739BE3",
"timestamp": 1675708481220,
"type": "market",
"total_value": 49.96
}
],
"pagination": {
"current_page": 1,
"registers_count": 21,
"total_pages": 1,
"page_size": 100
},
"nc": "<string>",
"pc": "<string>"
},
"error_code": null,
"message": null
}Get User Trades
Lists the user’s trades.
Attention: Due to performance concerns, this endpoint now uses cursor-based pagination. The pagination object currently included in the response is now a placeholder and will be entirely removed as of 2026-06-01. The parameter current_page is also a placeholder and will be removed at the same time. Please update your integration accordingly and refer to the documentation for the correct pagination handling.
Authorization
- Requires a valid API key.
- Required API-key permission(s):
- trading_read
curl --request GET \
--url https://api.ripio.com/trade/user/trades \
--header 'authorization: <authorization>' \
--header 'signature: <signature>' \
--header 'timestamp: <timestamp>'import requests
url = "https://api.ripio.com/trade/user/trades"
headers = {
"authorization": "<authorization>",
"signature": "<signature>",
"timestamp": "<timestamp>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
authorization: '<authorization>',
signature: '<signature>',
timestamp: '<timestamp>'
}
};
fetch('https://api.ripio.com/trade/user/trades', 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.ripio.com/trade/user/trades",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>",
"signature: <signature>",
"timestamp: <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.ripio.com/trade/user/trades"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("authorization", "<authorization>")
req.Header.Add("signature", "<signature>")
req.Header.Add("timestamp", "<timestamp>")
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.ripio.com/trade/user/trades")
.header("authorization", "<authorization>")
.header("signature", "<signature>")
.header("timestamp", "<timestamp>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ripio.com/trade/user/trades")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["authorization"] = '<authorization>'
request["signature"] = '<signature>'
request["timestamp"] = '<timestamp>'
response = http.request(request)
puts response.read_body{
"data": {
"trades": [
{
"amount": 0.00270754,
"date": "2019-04-02T11:22:22.403Z",
"fee": 0.25,
"fee_currency": "USDC",
"id": "488F9395-47ED-4924-98AB-C860E1733A03",
"maker_order_id": "1FD30735-E055-4200-AD3D-007B02A5BA92",
"pair_code": "BTC_USDC",
"taker_or_maker": "maker",
"price": 18550,
"side": "sell",
"taker_order_id": "DBC6D4AF-D454-46DF-80EC-E19528A0FB25",
"timestamp": 1675708481219,
"type": "market",
"total_value": 50.22
},
{
"amount": 0.0026938,
"date": "2019-04-02T11:25:41.512Z",
"fee": 0.00001347,
"fee_currency": "BTC",
"id": "C79ED37D-DC21-4D54-8AFC-4262347E3F8D",
"maker_order_id": "F49F5BD8-3F5B-4364-BCEE-F36F62DB966A",
"pair_code": "BTC_USDC",
"taker_or_maker": "taker",
"price": 18550,
"side": "buy",
"taker_order_id": "FEAB5CEC-7F9E-4F95-B67D-9E8D5C739BE3",
"timestamp": 1675708481220,
"type": "market",
"total_value": 49.96
}
],
"pagination": {
"current_page": 1,
"registers_count": 21,
"total_pages": 1,
"page_size": 100
},
"nc": "<string>",
"pc": "<string>"
},
"error_code": null,
"message": null
}Headers
See the Generating Signature section for more details.
A timestamp in milliseconds. See the Timestamp Security section for more details.
An additional, non-required parameter, that you can send to specify the number of milliseconds after the timestamp for the request to be valid. See the Timestamp Security section for more details.