Get all listings

Get all listings API allows you to fetch all existing listings. Multiple filters are available.

Request
Security:
query Parameters
pageNumber
integer <int32> >= 1

Requested page number. By default the page number starts at 1

Example: pageNumber=1
pageSize
integer <int32> [ 1 .. 100 ]

The number of listings to return. By default the page size starts at 1.

Example: pageSize=100
productIds
string

Comma separated list of ids. This field must not include array brackets [] or quotation marks (" " | ' ').

variantIds
string

Comma separated list of ids. This field must not include array brackets [] or quotation marks (" " | ' ').

batchIds
string

Comma separated list of ids. This field must not include array brackets [] or quotation marks (" " | ' ').

fromDate
string

Start date of the query

Example: fromDate=2022-06-08
toDate
string

End date of the query

Example: toDate=2022-06-08
listingStatuses
string

Comma separated list of listing statuses. This field must not include array brackets [] or quotation marks ("" | '').

Available values: "INACTIVE", "ACTIVE", "DELETED", "CANCELED", "MATCHED", "COMPLETED"

Example: listingStatuses=ACTIVE
inventoryTypes
string

Comma separated list of inventory types. This field must not include array brackets [] or quotation marks ("" | '').

Example: inventoryTypes=STANDARD
Responses
200

Ok

400

Bad Request

401

Unauthorized

500

Internal Server Error

get/selling/listings
Request samples
curl -i -X GET \
  'https://api.stockx.com/v2/selling/listings?pageNumber=1&pageSize=1&productIds=string&variantIds=string&batchIds=string&fromDate=string&toDate=string&listingStatuses=string&inventoryTypes=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "count": 266,
  • "pageSize": 10,
  • "pageNumber": 1,
  • "hasNextPage": true,
  • "listings": [
    ]
}