[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [StockX product search](https://spiral.ai/integrations/muse-code/stockx-product-search)

# How to Use StockX product search in Muse Code

Returns keyword-matched StockX products with titles and product links. Use it to identify the exact model and release before checking its size-level market details or recent sales.

|  |  |
| --- | --- |
| Model | StockX product search |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with StockX product search in Muse Code

- Use StockX product search to find Jordan 4 Retro Black Cat releases. Add the returned titles and product links to this project's matching screen so a merchandiser can select the correct release year.
- Use StockX product search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from StockX product search and tell me what changed since last week.
- Check StockX product search and summarize what you find in three bullet points.
- Pull the newest data from StockX product search and give me the result as a table.

## How to set up StockX product search in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run StockX product search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "stockx-com/products/search_products",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds StockX product search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## StockX product search tools and prices

- [StockX · Search products](https://spiral.ai/tools/alexandria/stockx-com/products/search_products) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 100 | 1 | 1-based page index. |
| sort | featured, most-active, lowest_ask, highest_bid, release_date, last_sale, price_premium, deadstock_sold, recent_bids, recent_asks | featured | Sort id as the site names it (getBrowseSorts). |
| limit | 1 to 40 | 20 | Results per page (the web app uses 10, 20 or 40). |
| country | US, GB | US | StockX market: US (prices in USD) or GB (prices in GBP). Other markets exist upstream but were not verified. |

## What can you do with StockX product search in Muse Code?

Build a StockX research view that takes a catalog shortlist through to size-level sales and competing offers. A coding agent can add brand discovery, exact-release matching, and market comparisons to your project's inventory tools.

### Build a sneaker assortment shortlist

Identify brand aliases and ranking labels, browse candidate sneakers, and search exact releases. Compare size-level market details, recent sales, and offer depth before choosing products for a store's shortlist.

### Prepare a US and UK sourcing comparison

Use the brand directory and catalog browsing to choose comparable products, then resolve exact releases through search. Compare the same sizes across market details, recent sales, and bid/ask depth in each market.

### Research a weekly sneaker market brief

Review StockX's brand directories and catalog rankings for story candidates, then search the exact releases. Support each product discussion with size-level market statistics, recent transactions, and competing offers.

### Benchmark a store's inventory against alternatives

Match inventory to exact StockX releases through search. Use brand aliases and catalog browsing to find alternatives, then compare their size-level market state, recent sales, and offer quantities.

### Separate similar releases

Search a model name, compare the returned titles and product links, and inspect the selected release's market details. Keep different release years separate in a buying report.

### Create a brand research queue

Read StockX's brand aliases and sorting labels, browse a selected brand, and search named models for closer review. Produce a queue of exact product links for a merchandiser.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## StockX product search in other agents

- [Amp](https://spiral.ai/integrations/amp/stockx-product-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/stockx-product-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/stockx-product-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/stockx-product-search)
- [Cline](https://spiral.ai/integrations/cline/stockx-product-search)
- [Codex](https://spiral.ai/integrations/codex/stockx-product-search)
- [Cursor](https://spiral.ai/integrations/cursor/stockx-product-search)
- [Devin](https://spiral.ai/integrations/devin/stockx-product-search)
- [dots](https://spiral.ai/integrations/dots/stockx-product-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/stockx-product-search)
- [Gemini](https://spiral.ai/integrations/gemini/stockx-product-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/stockx-product-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/stockx-product-search)
- [goose](https://spiral.ai/integrations/goose/stockx-product-search)
- [Grok](https://spiral.ai/integrations/grok/stockx-product-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/stockx-product-search)
- [Hermes](https://spiral.ai/integrations/hermes/stockx-product-search)
- [Instinct](https://spiral.ai/integrations/instinct/stockx-product-search)
- [Manus](https://spiral.ai/integrations/manus/stockx-product-search)
- [Muse](https://spiral.ai/integrations/muse/stockx-product-search)
- [n8n](https://spiral.ai/integrations/n8n/stockx-product-search)
- [Notion](https://spiral.ai/integrations/notion/stockx-product-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/stockx-product-search)
- [opencode](https://spiral.ai/integrations/opencode/stockx-product-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/stockx-product-search)
- [Raycast](https://spiral.ai/integrations/raycast/stockx-product-search)
- [VS Code](https://spiral.ai/integrations/vscode/stockx-product-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/stockx-product-search)
- [Zapier](https://spiral.ai/integrations/zapier/stockx-product-search)

## More Muse Code guides

- [StockX product market details](https://spiral.ai/integrations/muse-code/stockx-product-market-details)
- [StockX recent product sales](https://spiral.ai/integrations/muse-code/stockx-recent-product-sales)
- [StockX filtered product catalog](https://spiral.ai/integrations/muse-code/stockx-filtered-product-catalog)
- [Supermicro product details](https://spiral.ai/integrations/muse-code/supermicro-product-details)
- [StockX brand and sort directory](https://spiral.ai/integrations/muse-code/stockx-brand-and-sort-directory)
- [Supermicro product search](https://spiral.ai/integrations/muse-code/supermicro-product-search)

## Questions about StockX product search in Muse Code

**Can Muse Code use StockX product search?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run StockX product search like any built-in tool.

**How much does StockX product search cost in Muse Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use StockX product search in Muse Code?**

No. Spiral runs StockX product search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up StockX product search in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while StockX product search runs?**

StockX product search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Where does the StockX data come from?**

The provider reads StockX's own GraphQL gateway. Its documented coverage includes product search, category browsing, size-level market state, recent sales, and bid/ask depth.

**Does StockX distinguish individual shoe sizes?**

Yes. StockX separates sales history and active offers by product and size, and product market details include size-level lowest asks, highest bids, and last sales.

**Are bids and asks completed sales?**

StockX reports active bids and asks separately from sales history. Compare recent sale records with current offers when assessing a product's market.

**Why can displayed offers differ by location?**

StockX says its market-data bids and asks include applicable duties and taxes based on location. Keep the market consistent when comparing offers.

**Does a search result confirm that my size is available?**

The provider's product-search example contains empty size-related values. Use product market details to inspect the exact release's size-level market state.

