GET
https://api.cryptohopper.com/v1/user/purchases
Returns the user's paid Marketplace purchases, newest first, at most 200. Copy trading purchases are left out.
OAuth scope:
read user About scopes
Example request
curl "https://api.cryptohopper.com/v1/user/purchases" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/user/purchases', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/user/purchases",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/user/purchases');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'access-token: YOUR_ACCESS_TOKEN',
],
]);
$data = json_decode(curl_exec($ch), true);
Parameters
Headers
| Name | Type | Required | Description |
|---|---|---|---|
access-token |
string | Required | The OAuth access token of the user. |
Response
{
"data": [
{
"id": "623000",
"seller_id": "234567",
"buyer_id": "123456",
"transaction_id": "391000",
"payment_method_id": "2",
"confirm_code": null,
"payment_link": null,
"item_id": "45678",
"item_type": "template",
"status": "Completed",
"price": "25.00",
"subtotal": "25.00",
"payment_fee": "0.00",
"tax": "0.00",
"total": "25.00",
"user_params": null,
"tax_id": "0",
"payment_cur": "USD",
"payment_cur_rate": "0.00000000",
"payment_total": "0.00",
"created": "2026-09-01 10:15:00",
"updated": "2026-09-01 10:15:00",
"current_version": "1",
"auto_update": "0",
"update_months": "1",
"update_until": null,
"is_eu": "0",
"eu_business": null,
"hidden": "0",
"paid": "0",
"payout_id": "0",
"deleted": "0",
"product_name": "BTC trend template"
}
]
}