curl --request GET \
--url https://api.paxos.com/v2/profiles/{profile_id}/quote-executions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paxos.com/v2/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-executions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paxos.com/v2/profiles/{profile_id}/quote-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{
"total_count": 123,
"items": [
{
"id": "43a59965-be3a-45ab-841d-c55386e0ff90",
"profile_id": "b7b77d82-e6a7-4ae9-9904-36231aedf985",
"quote_id": "366a26d2-3098-4226-a520-4bb43ae4d922",
"status": "SETTLED",
"market": "BTCUSD",
"side": "BUY",
"price": "6001.2",
"base_amount": "2.35",
"base_asset": "BTC",
"quote_amount": "14102.82",
"quote_asset": "USD",
"created_at": "2020-01-17T18:36:31.345Z",
"settled_at": "2020-01-17T18:36:32.123Z",
"metadata": {
"customer_id": "9b8c9cba-801e-4418-adc0-ede709df6339"
}
}
],
"next_page_cursor": "<string>"
}List Quote Executions
List quote executions within a particular profile.
curl --request GET \
--url https://api.paxos.com/v2/profiles/{profile_id}/quote-executions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paxos.com/v2/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-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/profiles/{profile_id}/quote-executions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paxos.com/v2/profiles/{profile_id}/quote-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{
"total_count": 123,
"items": [
{
"id": "43a59965-be3a-45ab-841d-c55386e0ff90",
"profile_id": "b7b77d82-e6a7-4ae9-9904-36231aedf985",
"quote_id": "366a26d2-3098-4226-a520-4bb43ae4d922",
"status": "SETTLED",
"market": "BTCUSD",
"side": "BUY",
"price": "6001.2",
"base_amount": "2.35",
"base_asset": "BTC",
"quote_amount": "14102.82",
"quote_asset": "USD",
"created_at": "2020-01-17T18:36:31.345Z",
"settled_at": "2020-01-17T18:36:32.123Z",
"metadata": {
"customer_id": "9b8c9cba-801e-4418-adc0-ede709df6339"
}
}
],
"next_page_cursor": "<string>"
}exchange:read_quote_execution
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 →
Path Parameters
The profile ID associated with the orders.
Query Parameters
Filter by buy or sell side.
BUY, SELL Filter by the trading pair.
ETHEUR, ETHSGD, ETHUSD, BTCEUR, BTCSGD, BTCUSD, PAXGUSD, BCHUSD, LTCUSD, USDPUSD, LINKUSD, SOLUSD, AAVEUSD, UNIUSD, PEPEUSD, TRUMPUSD, SHIBUSD, ARBUSD, BONKUSD, ENAUSD, MNTUSD, ONDOUSD, PENGUUSD, QNTUSD, RENDERUSD, SKYUSD, WIFUSD, WLDUSD, DOGEUSD, AVAXUSD, SUIUSD, POLUSD, XLMUSD, BNBUSD, APTUSD, OPUSD, TRXUSD Filter by the status of the order.
CREATED, SETTLED 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.
Number of results to return.
Return items in ascending (ASC) or descending (DESC) order. Default order is descending (DESC).
DESC, ASC The specific method by which the returned results will be ordered.
CREATED_AT Cursor token for fetching the next page. If using this then do not use pagination.limit and pagination.offset fields.
Was this page helpful?