curl --request GET \
--url https://api.agg.market/execution/orders \
--header 'Authorization: Bearer <token>' \
--header 'x-app-id: <api-key>'import requests
url = "https://api.agg.market/execution/orders"
headers = {
"x-app-id": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-app-id': '<api-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.agg.market/execution/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.agg.market/execution/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>",
"x-app-id: <api-key>"
],
]);
$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.agg.market/execution/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-app-id", "<api-key>")
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.agg.market/execution/orders")
.header("x-app-id", "<api-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agg.market/execution/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "cmf3r1a2b00c4mw0lq8y7e3uj",
"quoteId": "k2r8v5n1x7c4m9t3b6q0w2za",
"externalId": null,
"clientOrderId": null,
"venue": "polymarket",
"status": "filled",
"side": "buy",
"amountRaw": "15300000",
"orderType": "market",
"limitPriceRaw": null,
"timeInForce": null,
"expiresAt": null,
"slippageBps": 500,
"quotedPriceRaw": "0.51",
"quotedCostRaw": "15300000",
"quotedSharesRaw": "30000000",
"quotedToWinRaw": "30000000",
"filledAmountRaw": "15300000",
"executionPrice": "0.51",
"actualSharesRaw": "30000000",
"actualToWinRaw": "30000000",
"partialFillReason": null,
"txHash": "0x9c1e5b7a3d2f8c6e4a0b9d7f5c3e1a8b6d4f2c0e9a7b5d3f1c8e6a4b2d0f9c7e",
"errorMessage": null,
"dagRunId": "cmf3r1a4k00c6mw0l9d3h5tsy",
"createdAt": "2026-09-29T15:04:12.204Z",
"updatedAt": "2026-09-29T15:04:14.052Z",
"venueMarket": {
"id": "cmf3q8z0a009zmw0l3w8n6jbd",
"venueEventId": "cmf3q8yk3008pmw0l6b1s0qfe",
"question": "Will the Fed cut rates at the December 2026 meeting?",
"image": null
},
"venueMarketOutcome": {
"label": "Yes",
"title": null
}
}
],
"nextCursor": null,
"hasMore": false
}{
"message": "<string>"
}{
"message": "<string>"
}Get user orders
Returns paginated orders for the authenticated user with venue market details. Filter with status, orderType, orderId, quoteId, externalId and venueMarketIds (comma-separated or repeated).
curl --request GET \
--url https://api.agg.market/execution/orders \
--header 'Authorization: Bearer <token>' \
--header 'x-app-id: <api-key>'import requests
url = "https://api.agg.market/execution/orders"
headers = {
"x-app-id": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-app-id': '<api-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.agg.market/execution/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.agg.market/execution/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>",
"x-app-id: <api-key>"
],
]);
$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.agg.market/execution/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-app-id", "<api-key>")
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.agg.market/execution/orders")
.header("x-app-id", "<api-key>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agg.market/execution/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "cmf3r1a2b00c4mw0lq8y7e3uj",
"quoteId": "k2r8v5n1x7c4m9t3b6q0w2za",
"externalId": null,
"clientOrderId": null,
"venue": "polymarket",
"status": "filled",
"side": "buy",
"amountRaw": "15300000",
"orderType": "market",
"limitPriceRaw": null,
"timeInForce": null,
"expiresAt": null,
"slippageBps": 500,
"quotedPriceRaw": "0.51",
"quotedCostRaw": "15300000",
"quotedSharesRaw": "30000000",
"quotedToWinRaw": "30000000",
"filledAmountRaw": "15300000",
"executionPrice": "0.51",
"actualSharesRaw": "30000000",
"actualToWinRaw": "30000000",
"partialFillReason": null,
"txHash": "0x9c1e5b7a3d2f8c6e4a0b9d7f5c3e1a8b6d4f2c0e9a7b5d3f1c8e6a4b2d0f9c7e",
"errorMessage": null,
"dagRunId": "cmf3r1a4k00c6mw0l9d3h5tsy",
"createdAt": "2026-09-29T15:04:12.204Z",
"updatedAt": "2026-09-29T15:04:14.052Z",
"venueMarket": {
"id": "cmf3q8z0a009zmw0l3w8n6jbd",
"venueEventId": "cmf3q8yk3008pmw0l6b1s0qfe",
"question": "Will the Fed cut rates at the December 2026 meeting?",
"image": null
},
"venueMarketOutcome": {
"label": "Yes",
"title": null
}
}
],
"nextCursor": null,
"hasMore": false
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
Your application ID. Required for all app-tier and user-tier routes.
JWT access token returned by POST /auth/verify. Required for user-tier routes.
Query Parameters
market, limit 1 - 36Order lifecycle status. In flight: pending (accepted, funds being checked), signing, pending_bridge (funds moving to the venue's chain), submitting, submitted (sent to the venue, awaiting confirmation). Resting limit orders: open, partially_filled_open, cancel_pending (cancel requested, awaiting the venue). Terminal: filled, partial_fill (the unfilled rest will not fill; see partialFillReason), failed, expired, cancelled.
pending, signing, pending_bridge, submitting, submitted, open, partially_filled_open, cancel_pending, filled, partial_fill, failed, expired, cancelled 1 <= x <= 100live, paper