Shopify · Search products
shopify/catalog/search_catalogGet product, price and seller data with Shopify · Search products from Alexandria through one Spiral API key. Search products across Shopify merchants by query, such as trail running shoes under $150. Narrow results by country and use limit and cursor to page through them. Results are estimates, not an exhaustive merchant inventory. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
like | JSON | — | Advanced similarity search instead of, or alongside, query. Provide up to two items as {"id":"gid://shopify/..."} or {"image":{"content_type":"image/jpeg","data":"<base64>"}}. |
view | text | — | Advanced Shopify output view. Leave empty for the default representation. |
limit | number 1 to 50 | — | Number of products per page, from 1 to 50. Shopify defaults to 10. |
query | text | — | What are you looking for? For example: |
cursor | text | — | For the next page, paste pagination.cursor from the previous response and keep the same search and filters. |
intent | text | — | Optional shopping preferences or intended use. |
region | text | — | Buyer's state, province or region, such as CA. |
country | text | — | Buyer's two-letter country code, such as US, CA or GB, for localized results. |
filters | JSON | — | Advanced filters, such as {"available":true,"price":{"max":15000}}. Price amounts use minor currency units: 15000 means USD 150. |
currency | text | — | Three-letter currency code, such as USD, CAD or GBP. |
language | text | — | Preferred language tag, such as en or en-US. |
catalog_id | text | — | Optional saved Shopify catalog ID to restrict the search. |
postal_code | text | — | Buyer's postal or ZIP code for localized results. |
Same request in code
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": "shopify/catalog/search_catalog",
"input": {
"query": "<query>"
}
}'Frequently asked questions
How much does Shopify · Search products cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Shopify · Search products through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "shopify/catalog/search_catalog"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Shopify · Search products?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Shopify · Search products?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.