Get sales
curl --request POST \
--url https://api.aisa.one/apis/v1/stockx-com/products/get-sales \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "air-jordan-1-retro-high-og-royal-2026"
}
'import requests
url = "https://api.aisa.one/apis/v1/stockx-com/products/get-sales"
payload = { "id": "air-jordan-1-retro-high-og-royal-2026" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 'air-jordan-1-retro-high-og-royal-2026'})
};
fetch('https://api.aisa.one/apis/v1/stockx-com/products/get-sales', 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/stockx-com/products/get-sales",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 'air-jordan-1-retro-high-og-royal-2026'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/stockx-com/products/get-sales"
payload := strings.NewReader("{\n \"id\": \"air-jordan-1-retro-high-og-royal-2026\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/stockx-com/products/get-sales")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"air-jordan-1-retro-high-og-royal-2026\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/stockx-com/products/get-sales")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"air-jordan-1-retro-high-og-royal-2026\"\n}"
response = http.request(request)
puts response.read_body{
"count": 5,
"country": "US",
"currency": "USD",
"first": 5,
"observed_at_ms": 1791621805470,
"product_id": "air-jordan-1-retro-high-og-royal-2026",
"resolved_id": "019c8c79-5b21-75a2-adb2-591768ff9b7c",
"sales": [
{
"amount": 167,
"created_at": "2026-10-10T08:36:27.2Z",
"cursor": "MjAyNi0xMC0xMCAwODozNjoyNw==",
"order_type": "STANDARD",
"same_fees": true,
"size": "10.5",
"variant_id": "019c8c7c-35a7-793b-92b5-ea0f78326bc8"
},
{
"amount": 160,
"created_at": "2026-10-10T08:33:32.123Z",
"cursor": "MjAyNi0xMC0xMCAwODozMzozMg==",
"order_type": "STANDARD",
"same_fees": true,
"size": "10",
"variant_id": "019c8c7c-35a4-7d52-80ee-9c35603d6300"
},
{
"amount": 173,
"created_at": "2026-10-10T08:05:19.852Z",
"cursor": "MjAyNi0xMC0xMCAwODowNToxOQ==",
"order_type": "EXPRESS",
"same_fees": true,
"size": "11.5",
"variant_id": "019c8c7c-35aa-7cd0-a5d0-61d94a12d45f"
},
{
"amount": 185,
"created_at": "2026-10-10T07:40:50.439Z",
"cursor": "MjAyNi0xMC0xMCAwNzo0MDo1MA==",
"order_type": "STANDARD",
"same_fees": true,
"size": "15",
"variant_id": "019c8c7c-35a2-75b0-82c4-4b922b5cd463"
},
{
"amount": 197,
"created_at": "2026-10-10T07:22:35.348Z",
"cursor": "MjAyNi0xMC0xMCAwNzoyMjozNQ==",
"order_type": "STANDARD",
"same_fees": false,
"size": "14",
"variant_id": "019c8c7c-35a7-7769-83a3-c48a4f6cb976"
}
],
"variant_id": null
}
StockX
Get sales
Recent sale prices for a product or one size. The site exposes only the most recent first sales; there is no older-page cursor through the public operations.
POST
https://api.aisa.one
/
apis
/
v1
/
stockx-com
/
products
/
get-sales
Get sales
curl --request POST \
--url https://api.aisa.one/apis/v1/stockx-com/products/get-sales \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "air-jordan-1-retro-high-og-royal-2026"
}
'import requests
url = "https://api.aisa.one/apis/v1/stockx-com/products/get-sales"
payload = { "id": "air-jordan-1-retro-high-og-royal-2026" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 'air-jordan-1-retro-high-og-royal-2026'})
};
fetch('https://api.aisa.one/apis/v1/stockx-com/products/get-sales', 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/stockx-com/products/get-sales",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 'air-jordan-1-retro-high-og-royal-2026'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/stockx-com/products/get-sales"
payload := strings.NewReader("{\n \"id\": \"air-jordan-1-retro-high-og-royal-2026\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/stockx-com/products/get-sales")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"air-jordan-1-retro-high-og-royal-2026\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/stockx-com/products/get-sales")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"air-jordan-1-retro-high-og-royal-2026\"\n}"
response = http.request(request)
puts response.read_body{
"count": 5,
"country": "US",
"currency": "USD",
"first": 5,
"observed_at_ms": 1791621805470,
"product_id": "air-jordan-1-retro-high-og-royal-2026",
"resolved_id": "019c8c79-5b21-75a2-adb2-591768ff9b7c",
"sales": [
{
"amount": 167,
"created_at": "2026-10-10T08:36:27.2Z",
"cursor": "MjAyNi0xMC0xMCAwODozNjoyNw==",
"order_type": "STANDARD",
"same_fees": true,
"size": "10.5",
"variant_id": "019c8c7c-35a7-793b-92b5-ea0f78326bc8"
},
{
"amount": 160,
"created_at": "2026-10-10T08:33:32.123Z",
"cursor": "MjAyNi0xMC0xMCAwODozMzozMg==",
"order_type": "STANDARD",
"same_fees": true,
"size": "10",
"variant_id": "019c8c7c-35a4-7d52-80ee-9c35603d6300"
},
{
"amount": 173,
"created_at": "2026-10-10T08:05:19.852Z",
"cursor": "MjAyNi0xMC0xMCAwODowNToxOQ==",
"order_type": "EXPRESS",
"same_fees": true,
"size": "11.5",
"variant_id": "019c8c7c-35aa-7cd0-a5d0-61d94a12d45f"
},
{
"amount": 185,
"created_at": "2026-10-10T07:40:50.439Z",
"cursor": "MjAyNi0xMC0xMCAwNzo0MDo1MA==",
"order_type": "STANDARD",
"same_fees": true,
"size": "15",
"variant_id": "019c8c7c-35a2-75b0-82c4-4b922b5cd463"
},
{
"amount": 197,
"created_at": "2026-10-10T07:22:35.348Z",
"cursor": "MjAyNi0xMC0xMCAwNzoyMjozNQ==",
"order_type": "STANDARD",
"same_fees": false,
"size": "14",
"variant_id": "019c8c7c-35a7-7769-83a3-c48a4f6cb976"
}
],
"variant_id": null
}
Request contract
- Method and path: POST /apis/v1/stockx-com/products/get-sales
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/stockx-com/products/get-sales
{
"operationId": "stockx-com.products.get-sales",
"method": "POST",
"path": "/apis/v1/stockx-com/products/get-sales",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"first": 5,
"id": "air-jordan-1-retro-high-og-royal-2026"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"country": {
"default": "US",
"description": "StockX market: US (prices in USD) or GB (prices in GBP). Other markets exist upstream but were not verified.\n\nProvider reference: allowed values [\"US\", \"GB\"]; default \"US\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"US",
"GB"
]
}
},
"first": {
"default": 20,
"description": "How many recent sales (the web app asks for 20).\n\nProvider reference: minimum 1; maximum 100; default 20.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"id": {
"description": "Product urlKey (the slug in https://stockx.com/{urlKey}) or product UUID. Pattern: ^[a-z0-9][a-z0-9-]{1,199}$.",
"type": "string"
},
"variant_id": {
"description": "Size variant UUID from get_product; restricts the sales to that size. Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"id"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Product urlKey (the slug in https://stockx.com/{urlKey}) or product UUID. Pattern: ^[a-z0-9][a-z0-9-]{1,199}$.
Response
Most recent verified sales of a StockX product (amount, size, time, order type), optionally for one size variant.
The response contains the tool result directly.
The provider identifies sales as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
amount | number | |
created_at | string | ISO 8601 |
cursor | string | Opaque site cursor (not resumable through the public operations). |
order_type | string | |
same_fees | boolean | |
size | string | |
variant_id | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.