[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [StockX bid and ask depth](https://spiral.ai/integrations/claude-code/stockx-bid-and-ask-depth)

# How to Use StockX bid and ask depth in Claude Code

Returns open buy or sell offers with amounts, quantities, and sizes. Use it to measure competition at each offer level, beyond the single highest bid or lowest ask.

|  |  |
| --- | --- |
| Model | StockX bid and ask depth |
| 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 bid and ask depth in Claude Code

- Use StockX bid and ask depth for the Jordan 4 Retro Black Cat (2025) in men's US size 10. Add separate tables for buy offers and sell offers with their amounts and quantities.
- Use StockX bid and ask depth to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from StockX bid and ask depth and tell me what changed since last week.
- Check StockX bid and ask depth and summarize what you find in three bullet points.
- Pull the newest data from StockX bid and ask depth and give me the result as a table.

## How to set up StockX bid and ask depth in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude 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 bid and ask depth**: 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/get_price_levels",
    "input": {
      "id": "<id>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds StockX bid and ask depth on Spiral, shows the price and runs it.

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

## StockX bid and ask depth tools and prices

- [StockX · Get price levels](https://spiral.ai/tools/alexandria/stockx-com/products/get_price_levels) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 100 | 1 | 1-based page index. |
| limit | 1 to 100 | 20 | Levels per page (the web app asks for 20). |
| country | US, GB | US | StockX market: US (prices in USD) or GB (prices in GBP). Other markets exist upstream but were not verified. |
| variant_id |  | — | Size variant UUID from get_product; restricts the levels to that size. Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$. |
| transaction_type | ASK, BID | ASK | transaction_type |

## What can you do with StockX bid and ask depth in Claude 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.

### Compare sizes before restocking

For an identified release, compare size-level bids, asks, and recent transactions. Check offer quantities to see how competition differs between sizes.

### Check an unusually high asking level

Compare a product's lowest ask with recent sale amounts for the same size. Inspect the sell-offer quantities to show whether several offers cluster near that level.

## Overview

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

## StockX bid and ask depth in other agents

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

## More Claude Code guides

- [Steel City Collectibles related products](https://spiral.ai/integrations/claude-code/steel-city-collectibles-related-products)
- [StockX brand and sort directory](https://spiral.ai/integrations/claude-code/stockx-brand-and-sort-directory)
- [Steel City Collectibles product search](https://spiral.ai/integrations/claude-code/steel-city-collectibles-product-search)
- [StockX filtered product catalog](https://spiral.ai/integrations/claude-code/stockx-filtered-product-catalog)
- [Steel City Collectibles product details](https://spiral.ai/integrations/claude-code/steel-city-collectibles-product-details)
- [StockX product market details](https://spiral.ai/integrations/claude-code/stockx-product-market-details)

## Questions about StockX bid and ask depth in Claude Code

**Can Claude Code use StockX bid and ask depth?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run StockX bid and ask depth like any built-in tool.

**How much does StockX bid and ask depth cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use StockX bid and ask depth in Claude Code?**

No. Spiral runs StockX bid and ask depth 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 bid and ask depth in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while StockX bid and ask depth runs?**

StockX bid and ask depth runs in the background. Claude 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.

