# Search a store's products (v1)

Runs the store's own search for `query` and returns up to 10 products with price, availability and image. No match returns an empty list; a domain that is not a Shopify store returns `data: null`.

- Platform: Shopify
- Request: `GET https://api.toolzerhub.com/v1/shopify/search`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/shopify/search-shopify-products

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | yes | string | The store's hostname, such as allbirds.com or gymshark.myshopify.com. A full URL is accepted. |
| `query` | query | yes | string | Search text, as typed in the store's search box. |
| `limit` | query | no | integer | Items per page, from 1 to 10. Default: 10. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/shopify/search?domain=<domain>&query=<query>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
