# StockX Scraper — Resale Prices, Bid/Ask Spread & Price Data (`jamhimself/stockx-search-scraper`) Actor

Scrape StockX search results for sneaker resale prices, live bid/ask spread, and 1-year price data. No API key, no login, bulk, pay per result.

- **URL**: https://apify.com/jamhimself/stockx-search-scraper.md
- **Developed by:** [Jaime Martinez](https://apify.com/jamhimself) (community)
- **Categories:** E-commerce, Agents, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 resale listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## StockX Scraper — Resale Prices, Bid/Ask Spread & Price Data (No API Key)

Scrape StockX search results into a clean resale-market dataset. This StockX scraper pulls public sneaker resale prices, the live bid/ask spread, one-year price statistics, and product identity fields straight from any StockX search or category page — no API key, no login, in bulk, pay per result. Built for developers, market analysts, resellers, and AI pipelines that need structured StockX price data and resell market data without touching a private StockX API.

These actors use Chrome TLS impersonation, residential US proxies, and automatic session rotation to clear anti-bot walls, so you don't manage proxies or logins.

### ⚡ Quick start

Paste this into the Actor's **Input** (JSON view) and hit **Start**:

```json
{
  "searchQuery": "jordan 1",
  "maxResults": 40
}
```

Each result row looks like:

```json
{
  "title": "Jordan 1 Retro High OG Chicago Lost and Found",
  "brand": "Jordan",
  "model": "Jordan 1 Retro High OG",
  "lowestAsk": 189,
  "highestBid": 168,
  "annualAveragePrice": 204,
  "annualSalesCount": 5123,
  "url": "https://stockx.com/air-jordan-1-retro-high-og-chicago-lost-and-found"
}
```

Or run it from the API:

```
POST https://api.apify.com/v2/acts/jamhimself~stockx-search-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN
```

### What you get

| Field | Description |
|---|---|
| `title` / `brand` / `model` | Product identity |
| `category` / `gender` / `releaseDate` | Classification |
| `lowestAsk` / `highestBid` | Live bid/ask spread |
| `askInventoryCount` | Ask-side liquidity (how many are listed) |
| `annualAveragePrice` | 1-year average sale price |
| `annualVolatility` | 1-year price volatility |
| `annualSalesCount` | 1-year sales volume |
| `pricePremium` | Resale premium over retail |
| `variantCount` | Number of size variants |
| `image` / `url` | Product image and StockX page |

### Use cases

- Track sneaker resale prices and the bid/ask spread across models over time.
- Research the resell market: volatility, sales volume, and price premium by brand.
- Source inventory and spot arbitrage between lowest ask and highest bid.
- Feed StockX price data into an LLM, RAG index, or analytics notebook.
- Build sneaker and streetwear datasets for pricing models and dashboards.
- Monitor liquidity via ask inventory counts before listing or buying.

### Input

- **searchQuery** — what to search for, e.g. `jordan 1`, `yeezy 350`, `rolex submariner`
- **startUrls** — (optional) paste StockX search or category URLs directly, e.g. `https://stockx.com/sneakers` (overridden by searchQuery if both are set)
- **maxResults** — how many products to return (paginates automatically, ~40/page, up to 1000)

### Pricing

Pay per product delivered. No subscription.

*A quick review on the Apify Store really helps other builders find it.*

# Actor input Schema

## `searchQuery` (type: `string`):

What to search StockX for, e.g. "jordan 1", "yeezy 350", "rolex submariner".

## `startUrls` (type: `array`):

Alternatively, paste StockX search or category URLs directly (e.g. https://stockx.com/sneakers). Overridden by searchQuery if both are set.

## `maxResults` (type: `integer`):

Maximum number of products to return (paginates automatically, ~40 per page, up to 1000 per search).

## Actor input object example

```json
{
  "searchQuery": "jordan 1",
  "maxResults": 60
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQuery": "jordan 1"
};

// Run the Actor and wait for it to finish
const run = await client.actor("jamhimself/stockx-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchQuery": "jordan 1" }

# Run the Actor and wait for it to finish
run = client.actor("jamhimself/stockx-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": "jordan 1"
}' |
apify call jamhimself/stockx-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=jamhimself/stockx-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/WLFF0rered3WxFWbh/builds/N78BOJWdXGZCiD6cG/openapi.json
