How to Use StockX filtered product catalog in opencode
Returns a slice of StockX's product catalog selected by shopping criteria. Use it to compare products within a category or brand when you want a broader selection than a keyword match.
Prompts to try with StockX filtered product catalog in opencode
Copy an example into opencode, or ask in your own words.
Use StockX filtered product catalog to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from StockX filtered product catalog and tell me what changed since last week.
Check StockX filtered product catalog and summarize what you find in three bullet points.
Pull the newest data from StockX filtered product catalog and give me the result as a table.
Check StockX filtered product catalog every morning and tell me only when something changed.
How to set up StockX filtered product catalog in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run StockX filtered product catalog
One request; the result comes back by polling or a webhook.
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/browse_products", "input": { "category": "<category>" } }'
Then paste one of the prompts above: opencode finds StockX filtered product catalog on Spiral, shows the price and runs it.
StockX filtered product catalog providers and prices
Spiral runs StockX filtered product catalog through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| 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 and 2 more | most-active | 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 or GB | US | StockX market: US (prices in USD) or GB (prices in GBP). Other markets exist upstream but were not verified. |
| Include filters | on or off | Also return the filter definitions and option counts for this slice (large). |
Every API field of StockX · Browse products is on its tool page: open its card above.
What can you do with StockX filtered product catalog in opencode?
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.
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.
More on StockX filtered product catalog and opencode
Overview
StockX filtered product catalog in other agents
Questions about StockX filtered product catalog in opencode
Can opencode use StockX filtered product catalog?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run StockX filtered product catalog like any built-in tool.
How much does StockX filtered product catalog cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use StockX filtered product catalog in opencode?
No. Spiral runs StockX filtered product catalog 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 filtered product catalog in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while StockX filtered product catalog runs?
StockX filtered product catalog runs in the background. opencode 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.
Start using StockX filtered product catalog in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


