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.

Cost

1 credit/req

≈ 500 requests / month on the Free plan

See pricing

Latency · 24h

Success rate · 24h

Endpoint

GEThttps://api.pckt.sh/v1/stockx/history
gRPCgrpc.pckt.sh:443 pckt.api.v1.StockXService/GetSalesHistory

Parameters

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}
}
}
}

Search API reference

Search endpoints by name, description, or parameter