List Executions
curl --request GET \
--url https://api.paxos.com/v2/executions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paxos.com/v2/executions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paxos.com/v2/executions', 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.paxos.com/v2/executions",
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.paxos.com/v2/executions"
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.paxos.com/v2/executions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paxos.com/v2/executions")
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{
"items": [
{
"execution_id": "12422531",
"order_id": "cb379c30-a9f8-4685-aa38-47d6e87ff09d",
"executed_at": "2022-08-01T21:01:27.217Z",
"market": "BTCUSD",
"side": "BUY",
"amount": "0.00432539",
"price": "23119.25",
"commission": "0.34999920465125",
"commission_asset": "USD",
"rebate": "0",
"rebate_asset": "USD",
"gross_trade_amount": "99.9997727575"
}
],
"next_page_cursor": "CgwI-Iu6iQYQgPGVoQEQg5v2BQ"
}Orders
List Executions
Retrieves full details of underlying executions with optional filters. Notes:
- This endpoint returns a maximum of 1000 items per page.
- Filtering options are
account_id,profile_idor neither (all executions).
GET
/
executions
List Executions
curl --request GET \
--url https://api.paxos.com/v2/executions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paxos.com/v2/executions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paxos.com/v2/executions', 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.paxos.com/v2/executions",
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.paxos.com/v2/executions"
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.paxos.com/v2/executions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paxos.com/v2/executions")
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{
"items": [
{
"execution_id": "12422531",
"order_id": "cb379c30-a9f8-4685-aa38-47d6e87ff09d",
"executed_at": "2022-08-01T21:01:27.217Z",
"market": "BTCUSD",
"side": "BUY",
"amount": "0.00432539",
"price": "23119.25",
"commission": "0.34999920465125",
"commission_asset": "USD",
"rebate": "0",
"rebate_asset": "USD",
"gross_trade_amount": "99.9997727575"
}
],
"next_page_cursor": "CgwI-Iu6iQYQgPGVoQEQg5v2BQ"
}OAuth Scope
exchange:read_order
Authorizations
Paxos APIs use OAuth 2 with the client credentials grant flow.
Token URLs:
- Production: https://oauth.paxos.com/oauth2/token
- Sandbox: https://oauth.sandbox.paxos.com/oauth2/token
Learn more in the API credentials guide →
Query Parameters
Filter executions by the Profile ID associated with the orders.
Filter executions by the Account ID associated with the orders.
Filter executions for a single order ID.
Excludes executions after the given ID.
Only return records after this timestamp, inclusive. RFC3339 format, like 2006-01-02T15:04:05Z.
Only return records before this timestamp, inclusive. RFC3339 format, like 2006-01-02T15:04:05Z.
Cursor token for fetching the next page.
Number of results to return.
Was this page helpful?