List orders
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/trading/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.enterprise.sandbox.uphold.com/trading/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.enterprise.sandbox.uphold.com/trading/orders', 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.enterprise.sandbox.uphold.com/trading/orders",
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: Bearer <token>"
],
]);
$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.enterprise.sandbox.uphold.com/trading/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.enterprise.sandbox.uphold.com/trading/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.enterprise.sandbox.uphold.com/trading/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"orders": [
{
"id": "0192f3a3-9c1d-7e4b-8a2f-3d6c9e1b7a58",
"clientOrderId": "7e2c9a4d-1f6b-4d8e-b3a5-9c1e7f2d4b06",
"side": "sell",
"type": "limit",
"origin": {
"type": "account",
"id": "651ffcd3-a706-4c91-82ce-5a5eb9c1da62"
},
"destination": {
"type": "account",
"id": "9a3d7e4b-2c1f-4e8d-b7a6-5f4e3d2c1b0a"
},
"quantity": "0.5",
"price": "62500.00",
"timeInForce": "fok",
"status": "closed",
"execution": {
"quantity": "0",
"notional": "0",
"averagePrice": null
},
"timeline": [
{
"event": "created",
"createdAt": "2026-10-12T10:36:41.330Z"
},
{
"event": "canceled",
"reason": "limit-price-not-met",
"createdAt": "2026-10-12T10:36:41.902Z"
}
],
"createdAt": "2026-10-12T10:36:41.330Z",
"updatedAt": "2026-10-12T10:36:41.902Z"
},
{
"id": "0192f3a1-7c2e-7d4b-9a1f-3e5c8b2d4f60",
"clientOrderId": "8d5f1c0e-1b2a-4c3d-9e8f-77a0b1c2d3e4",
"side": "sell",
"type": "limit",
"origin": {
"type": "account",
"id": "651ffcd3-a706-4c91-82ce-5a5eb9c1da62"
},
"destination": {
"type": "account",
"id": "9a3d7e4b-2c1f-4e8d-b7a6-5f4e3d2c1b0a"
},
"quantity": "0.5",
"price": "61500.00",
"timeInForce": "fok",
"status": "closed",
"execution": {
"quantity": "0.5",
"notional": "30959.57",
"averagePrice": "61919.14"
},
"timeline": [
{
"event": "created",
"createdAt": "2026-10-12T10:31:04.512Z"
},
{
"event": "filled",
"createdAt": "2026-10-12T10:31:05.104Z"
}
],
"createdAt": "2026-10-12T10:31:04.512Z",
"updatedAt": "2026-10-12T10:31:05.104Z"
}
],
"pagination": {
"first": "https://api.enterprise.uphold.com/trading/orders?page=1&perPage=2",
"next": "https://api.enterprise.uphold.com/trading/orders?page=2&perPage=2"
}
}Orders
List orders
List the orders of a user, newest first.
GET
/
trading
/
orders
List orders
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/trading/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.enterprise.sandbox.uphold.com/trading/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.enterprise.sandbox.uphold.com/trading/orders', 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.enterprise.sandbox.uphold.com/trading/orders",
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: Bearer <token>"
],
]);
$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.enterprise.sandbox.uphold.com/trading/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.enterprise.sandbox.uphold.com/trading/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.enterprise.sandbox.uphold.com/trading/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"orders": [
{
"id": "0192f3a3-9c1d-7e4b-8a2f-3d6c9e1b7a58",
"clientOrderId": "7e2c9a4d-1f6b-4d8e-b3a5-9c1e7f2d4b06",
"side": "sell",
"type": "limit",
"origin": {
"type": "account",
"id": "651ffcd3-a706-4c91-82ce-5a5eb9c1da62"
},
"destination": {
"type": "account",
"id": "9a3d7e4b-2c1f-4e8d-b7a6-5f4e3d2c1b0a"
},
"quantity": "0.5",
"price": "62500.00",
"timeInForce": "fok",
"status": "closed",
"execution": {
"quantity": "0",
"notional": "0",
"averagePrice": null
},
"timeline": [
{
"event": "created",
"createdAt": "2026-10-12T10:36:41.330Z"
},
{
"event": "canceled",
"reason": "limit-price-not-met",
"createdAt": "2026-10-12T10:36:41.902Z"
}
],
"createdAt": "2026-10-12T10:36:41.330Z",
"updatedAt": "2026-10-12T10:36:41.902Z"
},
{
"id": "0192f3a1-7c2e-7d4b-9a1f-3e5c8b2d4f60",
"clientOrderId": "8d5f1c0e-1b2a-4c3d-9e8f-77a0b1c2d3e4",
"side": "sell",
"type": "limit",
"origin": {
"type": "account",
"id": "651ffcd3-a706-4c91-82ce-5a5eb9c1da62"
},
"destination": {
"type": "account",
"id": "9a3d7e4b-2c1f-4e8d-b7a6-5f4e3d2c1b0a"
},
"quantity": "0.5",
"price": "61500.00",
"timeInForce": "fok",
"status": "closed",
"execution": {
"quantity": "0.5",
"notional": "30959.57",
"averagePrice": "61919.14"
},
"timeline": [
{
"event": "created",
"createdAt": "2026-10-12T10:31:04.512Z"
},
{
"event": "filled",
"createdAt": "2026-10-12T10:31:05.104Z"
}
],
"createdAt": "2026-10-12T10:31:04.512Z",
"updatedAt": "2026-10-12T10:31:05.104Z"
}
],
"pagination": {
"first": "https://api.enterprise.uphold.com/trading/orders?page=1&perPage=2",
"next": "https://api.enterprise.uphold.com/trading/orders?page=2&perPage=2"
}
}This endpoint is currently available in Sandbox only. It is not yet available in Production.
In Sandbox the orders you create are not stored. The list always has the same six sample orders instead, which you can get and read the trades of, so you can try the reads.
Authorizations
OAuth 2.0
Query Parameters
The number of items per page.
Required range:
1 <= x <= 100Was this page helpful?