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{
"count": 2,
"data": [
{
"asset_id": "0xabc123def456...",
"associate_trades": [],
"created_at": 1700000000,
"expiration": "1735689600",
"id": "0xabcdef1234567890abcdef1234567890abcdef12",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000001",
"order_type": "GTC",
"original_size": "100",
"outcome": "YES",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"price": "0.5",
"side": "BUY",
"size_matched": "0",
"status": "LIVE"
},
{
"asset_id": "0xdef456abc789...",
"associate_trades": [
"trade-123"
],
"created_at": 1700000001,
"expiration": "1735689600",
"id": "0xfedcba0987654321fedcba0987654321fedcba09",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000002",
"order_type": "GTC",
"original_size": "200",
"outcome": "NO",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"price": "0.75",
"side": "SELL",
"size_matched": "50",
"status": "LIVE"
}
],
"limit": 100,
"next_cursor": "MTAw"
}Get user orders
Retrieves live orders for the authenticated user. Returns paginated results. Filtering by id returns that order regardless of status, including canceled or fully matched orders. Builder-authenticated clients can also use this endpoint to retrieve orders attributed to their builder account.
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{
"count": 2,
"data": [
{
"asset_id": "0xabc123def456...",
"associate_trades": [],
"created_at": 1700000000,
"expiration": "1735689600",
"id": "0xabcdef1234567890abcdef1234567890abcdef12",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000001",
"order_type": "GTC",
"original_size": "100",
"outcome": "YES",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"price": "0.5",
"side": "BUY",
"size_matched": "0",
"status": "LIVE"
},
{
"asset_id": "0xdef456abc789...",
"associate_trades": [
"trade-123"
],
"created_at": 1700000001,
"expiration": "1735689600",
"id": "0xfedcba0987654321fedcba0987654321fedcba09",
"maker_address": "0x1234567890123456789012345678901234567890",
"market": "0x0000000000000000000000000000000000000000000000000000000000000002",
"order_type": "GTC",
"original_size": "200",
"outcome": "NO",
"owner": "f4f247b7-4ac7-ff29-a152-04fda0a8755a",
"price": "0.75",
"side": "SELL",
"size_matched": "50",
"status": "LIVE"
}
],
"limit": 100,
"next_cursor": "MTAw"
}Currently disabled.
Request contract
- Method and path: GET /apis/v1/polymarket/data/orders
- Availability: disabled
- Request URL template:
https://api.aisa.one/apis/v1/polymarket/data/orders - asset_id: query; optional
- id: query; optional
- market: query; optional
- next_cursor: query; optional
{
"operationId": "any_polymarket_clob_apis_v1_polymarket_data_orders",
"method": "GET",
"path": "/apis/v1/polymarket/data/orders",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "Asset ID (token ID) to filter orders",
"example": "0xabc123def456...",
"in": "query",
"name": "asset_id",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Order ID (hash) to filter by specific order",
"example": "0xabcdef1234567890abcdef1234567890abcdef12",
"in": "query",
"name": "id",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Market (condition ID) to filter orders",
"example": "0x0000000000000000000000000000000000000000000000000000000000000001",
"in": "query",
"name": "market",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Cursor for pagination (base64 encoded offset)",
"example": "MA==",
"in": "query",
"name": "next_cursor",
"required": false,
"schema": {
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "disabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Historical archive: disabled, cannot be called, and no price is published.Authorizations
Query Parameters
Response
Successfully retrieved orders