StockX · Get sales history
Get the last 50 sales of a StockX product or variant.
Pass the after token from the previous response to fetch older sales.
Endpoint
GET
https://api.pckt.sh/v1/stockx/historygRPC
grpc.pckt.sh:443 pckt.api.v1.StockXService/GetSalesHistoryParameters
Query parameters
NameTypeExample
id*string12db0831-7ca6-47f1-943a-a2a09352b720
is_variantbooleanfalse
country_codestringUS
currency_codestringUSD
afterstringeyJjdXJzb3IiOjUwfQ==
viewer_contextstringBUYER
Responses
200A successful response.
defaultAn unexpected error response.
401Missing or invalid API key.
403Your plan doesn't include gRPC access — try this endpoint over HTTP instead.
404The requested resource could not be found.
422One or more parameters are missing or invalid.
426Rate limit exceeded, or your organization is out of credits.
Example request
terminal
terminal (gRPC)
Example response
1 key
"response": {
"data": {
"product": {
"market": {1 key}
}
}
}