stockx.com API
Read-only, live access to StockX public product discovery. Search and category results preserve StockX product identity, variants, media, traits, market snapshots, contextual filters, source totals, and pagination. Product lookup is a separate caller-invoked request and matches a canonical urlKey in the public search result. StockX product pages themselves may return a Cloudflare challenge to HTTP clients; the lookup operation documents its search-result adaptation rather than fabricating detail-only fields. Buying, selling, login, offers, and other mutations are excluded.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the stockx.com API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your billing account starts with 1,000 included calls every 30 days.
curl --request GET --get 'https://api.agent-data.dev/stockx-com/v1/categories' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY"Endpoints
Inputs and response fields for every endpoint in this API.
GETCategories/v1/categories
Returns the category/menu choices exposed by StockX's public homepage. Use the returned `slug` as the `category` input to the product search operation. The returned `url` is the source canonical link and is also accepted; non-category menu entries are not returned as category choices. The menu is live and may change.
Input
No input parameters.
Response
categoriesobject[]categories[].namestringcategories[].slugstringcategories[].textColor?string, default: categories[].typestringcategories[].urlstringcategories[].urlTypestringreturned_countintegersource_urlstringFields marked ? are optional.
GETProducts/v1/products
Retrieves one StockX public search/category page. `query` is StockX free-text search; `category` is a StockX category slug such as `sneakers` or `trading-cards`; when both are supplied StockX applies both filters. `sort` is passed to StockX unchanged (observed values include `most-active`). Repeat the `filter` input using the source form `id=value` (for example `brand=nike` or `mens-shoe-size=US M 10`); the response echoes StockX's applied filter IDs and values. Use the contextual `filters` object and `/v1/products/options` to discover source IDs, accepted values, bounds, defaults, and selection rules. Results are the source's ranked page, not a locally filtered subset. `source_total` is StockX's declared total and may be capped. StockX currently returns about 40 results per page and may include non-product edges; the API returns only structured Product nodes and reports the actual returned count.
Input
queryOptionalQuery · string | nullOptional StockX free-text product search, preserved as source input.
Example: nike
categoryOptionalQuery · string | nullOptional StockX category slug from `/v1/categories`, for example `sneakers`.
Example: sneakers
sortOptionalQuery · string | nullOptional StockX sort key returned by `/v1/products/options`; observed example: `most-active`.
Example: most-active
filterOptionalQuery · array | nullRepeatable source filter expression `id=value`; use IDs and values returned by `/v1/products/options`, for example `brand=nike` or `mens-shoe-size=US M 10`.
Example: brand=nike
pageOptionalQuery · integer, min: 1, default: 1One-based StockX result page. Continue until the returned page count is exhausted.
Example: 1
Response
applied_filtersobject[]applied_settings?objectcategorystring | nullfilter_inputsstring[]filtersobjectitemsobject[]items[].brand?string | nullitems[].browseVerticals?string[]items[].categories?object | nullitems[].condition?string | nullitems[].conditions?object | nullitems[].description?string | nullitems[].gender?string | nullitems[].idstringitems[].listingType?string | nullitems[].market?object | nullitems[].market_summary?objectitems[].market_summary.askServiceLevels?objectitems[].market_summary.countrystringitems[].market_summary.currencystringitems[].market_summary.highestBid?objectitems[].market_summary.highestBid.amountnumber | nullitems[].market_summary.highestBid.inventoryType?string | nullitems[].market_summary.highestBid.updatedAt?string | nullitems[].market_summary.lastSale?objectitems[].market_summary.lastSale.amountnumber | nullitems[].market_summary.lastSale.inventoryType?string | nullitems[].market_summary.lastSale.updatedAt?string | nullitems[].market_summary.lowestAsk?objectitems[].market_summary.lowestAsk.amountnumber | nullitems[].market_summary.lowestAsk.inventoryType?string | nullitems[].market_summary.lowestAsk.updatedAt?string | nullitems[].market_summary.marketstringitems[].market_summary.price_scope?string, default: product_market_snapshotitems[].market_summary.processingFees?objectitems[].market_summary.statistics?objectitems[].market_summary.statistics.annual?objectitems[].market_summary.statistics.annual.amount?number | nullitems[].market_summary.statistics.annual.averagePrice?number | nullitems[].market_summary.statistics.annual.pricePremium?number | nullitems[].market_summary.statistics.annual.salesCount?integer | nullitems[].market_summary.statistics.annual.volatility?number | nullitems[].market_summary.statistics.last72Hours?objectitems[].market_summary.statistics.last72Hours.amount?number | nullitems[].market_summary.statistics.last72Hours.averagePrice?number | nullitems[].market_summary.statistics.last72Hours.pricePremium?number | nullitems[].market_summary.statistics.last72Hours.salesCount?integer | nullitems[].market_summary.statistics.last72Hours.volatility?number | nullitems[].market_summary.statistics.last90Days?objectitems[].market_summary.statistics.last90Days.amount?number | nullitems[].market_summary.statistics.last90Days.averagePrice?number | nullitems[].market_summary.statistics.last90Days.pricePremium?number | nullitems[].market_summary.statistics.last90Days.salesCount?integer | nullitems[].market_summary.statistics.last90Days.volatility?number | nullitems[].market_summary.statistics.lastSale?objectitems[].market_summary.statistics.lastSale.amount?number | nullitems[].market_summary.statistics.lastSale.averagePrice?number | nullitems[].market_summary.statistics.lastSale.pricePremium?number | nullitems[].market_summary.statistics.lastSale.salesCount?integer | nullitems[].market_summary.statistics.lastSale.volatility?number | nullitems[].media?object | nullitems[].model?string | nullitems[].name?string | nullitems[].primaryCategory?string | nullitems[].productCategory?string | nullitems[].source_recordobjectitems[].titlestringitems[].traits?object[]items[].urlKeystringitems[].uuid?string | nullitems[].variants?object[]items[].variants[].idstringitems[].variants[].information_status?string, default: identifier_only_in_discoveryitems[].variants[].prices?object | nullitems[].variants[].sizeLabel?string | nullpageintegerpage_countinteger | nullpage_sizeinteger | nullquerystring | nullquery_idstring | nullrequested_settings?objectreturned_countintegersortobject | nullsource_totalinteger | nullsource_urlstringFields marked ? are optional.
GETProducts options/v1/products/options
Returns live StockX sort choices and query/category-specific filters. Each option preserves source IDs, labels, accepted values, defaults when exposed, range units and bounds, raw values, and selection rules. Pass returned sort IDs and filter `id=value` expressions unchanged to `/v1/products`. Range definitions are discoverable but marked unsupported until their source transport encoding is verified; unsupported settings are rejected.
Input
queryOptionalQuery · string | nullOptional StockX semantic free-text query used to scope options.
Example: New Balance 990v6
categoryOptionalQuery · string | nullOptional StockX category slug or exact category URL used to scope options.
Example: sneakers
Response
categorystring | nullfiltersobject[]filters[].accepted_values?string[]filters[].default?string | nullfilters[].idstringfilters[].labelstringfilters[].maximum?object | nullfilters[].minimum?object | nullfilters[].options?object[]filters[].range_unit?string | nullfilters[].selected_maximum?object | nullfilters[].selected_minimum?object | nullfilters[].selection_rulestringfilters[].supported_for_search?boolean, default: truefilters[].typestringfilters[].value_encoding?string | nullquerystring | nullsortobject[]sort[].accepted_values?string[]sort[].default?string | nullsort[].idstringsort[].labelstringsort[].maximum?object | nullsort[].minimum?object | nullsort[].options?object[]sort[].range_unit?string | nullsort[].selected_maximum?object | nullsort[].selected_minimum?object | nullsort[].selection_rulestringsort[].supported_for_search?boolean, default: truesort[].typestringsort[].value_encoding?string | nullsource_urlstringFields marked ? are optional.
GETProducts by url key/v1/products/{url_key}
Performs a separate public StockX search request and returns the exact Product node whose canonical `urlKey` equals the path value. Pass `url_key` unchanged from a product returned by `/v1/products`. This is intentionally not hidden per-result enrichment. The response's `retrieval_mode` identifies the source-supported search-result adaptation because direct StockX product-page HTTP retrieval can be challenged; no detail-only value is invented.
Input
url_keyRequiredPath · stringCanonical StockX product urlKey returned by `/v1/products`.
Example: nike-mind-001-slide-black-chrome
Response
lookupstringproductobjectproduct.brand?string | nullproduct.browseVerticals?string[]product.categories?object | nullproduct.condition?string | nullproduct.conditions?object | nullproduct.description?string | nullproduct.gender?string | nullproduct.idstringproduct.listingType?string | nullproduct.market?object | nullproduct.market_summary?objectproduct.market_summary.askServiceLevels?objectproduct.market_summary.countrystringproduct.market_summary.currencystringproduct.market_summary.highestBid?objectproduct.market_summary.highestBid.amountnumber | nullproduct.market_summary.highestBid.inventoryType?string | nullproduct.market_summary.highestBid.updatedAt?string | nullproduct.market_summary.lastSale?objectproduct.market_summary.lastSale.amountnumber | nullproduct.market_summary.lastSale.inventoryType?string | nullproduct.market_summary.lastSale.updatedAt?string | nullproduct.market_summary.lowestAsk?objectproduct.market_summary.lowestAsk.amountnumber | nullproduct.market_summary.lowestAsk.inventoryType?string | nullproduct.market_summary.lowestAsk.updatedAt?string | nullproduct.market_summary.marketstringproduct.market_summary.price_scope?string, default: product_market_snapshotproduct.market_summary.processingFees?objectproduct.market_summary.statistics?objectproduct.market_summary.statistics.annual?objectproduct.market_summary.statistics.annual.amount?number | nullproduct.market_summary.statistics.annual.averagePrice?number | nullproduct.market_summary.statistics.annual.pricePremium?number | nullproduct.market_summary.statistics.annual.salesCount?integer | nullproduct.market_summary.statistics.annual.volatility?number | nullproduct.market_summary.statistics.last72Hours?objectproduct.market_summary.statistics.last72Hours.amount?number | nullproduct.market_summary.statistics.last72Hours.averagePrice?number | nullproduct.market_summary.statistics.last72Hours.pricePremium?number | nullproduct.market_summary.statistics.last72Hours.salesCount?integer | nullproduct.market_summary.statistics.last72Hours.volatility?number | nullproduct.market_summary.statistics.last90Days?objectproduct.market_summary.statistics.last90Days.amount?number | nullproduct.market_summary.statistics.last90Days.averagePrice?number | nullproduct.market_summary.statistics.last90Days.pricePremium?number | nullproduct.market_summary.statistics.last90Days.salesCount?integer | nullproduct.market_summary.statistics.last90Days.volatility?number | nullproduct.market_summary.statistics.lastSale?objectproduct.market_summary.statistics.lastSale.amount?number | nullproduct.market_summary.statistics.lastSale.averagePrice?number | nullproduct.market_summary.statistics.lastSale.pricePremium?number | nullproduct.market_summary.statistics.lastSale.salesCount?integer | nullproduct.market_summary.statistics.lastSale.volatility?number | nullproduct.media?object | nullproduct.model?string | nullproduct.name?string | nullproduct.primaryCategory?string | nullproduct.productCategory?string | nullproduct.source_recordobjectproduct.titlestringproduct.traits?object[]product.urlKeystringproduct.uuid?string | nullproduct.variants?object[]product.variants[].idstringproduct.variants[].information_status?string, default: identifier_only_in_discoveryproduct.variants[].prices?object | nullproduct.variants[].sizeLabel?string | nullretrieval_modestringsource_urlstringFields marked ? are optional.
Don’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.