Get user orders
curl --request GET \
--url https://api.aisa.one/apis/v1/polymarket/data/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/data/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{
"limit": 100,
"next_cursor": "MTAw",
"count": 2,
"data": [
{
"id": "0xabcdef1234567890abcdef1234567890abcdef12",
"status": "LIVE",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000001",
"asset_id": "0xabc123def456...",
"side": "BUY",
"original_size": "100",
"size_matched": "0",
"price": "0.5",
"outcome": "YES",
"expiration": "1735689600",
"order_type": "GTC",
"associate_trades": [],
"created_at": 1700000000
},
{
"id": "0xfedcba0987654321fedcba0987654321fedcba09",
"status": "LIVE",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000002",
"asset_id": "0xdef456abc789...",
"side": "SELL",
"original_size": "200",
"size_matched": "50",
"price": "0.75",
"outcome": "NO",
"expiration": "1735689600",
"order_type": "GTC",
"associate_trades": [
"trade-123"
],
"created_at": 1700000001
}
]
}Polymarket Clob
Get user orders
Retrieve open orders for the authenticated user. Returns paginated results and supports filtering by order, market, asset, and cursor.
GET
https://api.aisa.one
/
apis
/
v1
/
polymarket
/
data
/
orders
Get user orders
curl --request GET \
--url https://api.aisa.one/apis/v1/polymarket/data/orders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/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.aisa.one/apis/v1/polymarket/data/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/data/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{
"limit": 100,
"next_cursor": "MTAw",
"count": 2,
"data": [
{
"id": "0xabcdef1234567890abcdef1234567890abcdef12",
"status": "LIVE",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000001",
"asset_id": "0xabc123def456...",
"side": "BUY",
"original_size": "100",
"size_matched": "0",
"price": "0.5",
"outcome": "YES",
"expiration": "1735689600",
"order_type": "GTC",
"associate_trades": [],
"created_at": 1700000000
},
{
"id": "0xfedcba0987654321fedcba0987654321fedcba09",
"status": "LIVE",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000002",
"asset_id": "0xdef456abc789...",
"side": "SELL",
"original_size": "200",
"size_matched": "50",
"price": "0.75",
"outcome": "NO",
"expiration": "1735689600",
"order_type": "GTC",
"associate_trades": [
"trade-123"
],
"created_at": 1700000001
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Asset ID (token ID) to filter orders
Order ID (hash) to filter by specific order
Market (condition ID) to filter orders
Cursor for pagination (base64 encoded offset)
Response
Successfully retrieved orders
Maximum number of results per page
Example:
100
Cursor for pagination (base64 encoded offset). Empty if no more results.
Example:
"MTAw"
Number of orders in this response
Example:
2
Array of open orders
Show child attributes
Show child attributes