# Shopify · Storefront: Search products

Get product, price and seller data with Shopify · Storefront: Search products from Alexandria through one Spiral API key. Search products in a Shopify store by store_domain and query, or leave query empty to browse. Use limit and cursor for pagination. The store must expose Shopify's Storefront Catalog endpoint. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: E-commerce
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `shopify/storefront/search_catalog`
- Page: https://spiral.ai/tools/alexandria/shopify/storefront/search_catalog

## Pricing

$0.00873 per call.

## Limits

- 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 | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `store_domain` (required) | text |  | — | Store domain, such as `www.lemsshoes.com`. Enter the canonical hostname without https://, a path or port. |
| `limit` | number | 1 to 250 | — | Number of products per page, from 1 to 250. Shopify defaults to 10. |
| `query` | text |  | — | What are you looking for? For example: `trail shoes`. Leave empty to browse the store. |
| `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. |
| `postal_code` | text |  | — | Buyer's postal or ZIP code for localized results. |

## Example

```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": "shopify/storefront/search_catalog",
    "input": {
      "store_domain": "<store_domain>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=shopify%2Fstorefront%2Fsearch_catalog

## Common questions

### Shopify · Storefront: Search products

**How much does Shopify · Storefront: 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 · Storefront: Search products through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "shopify/storefront/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 · Storefront: Search products?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Shopify · Storefront: Search products?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

