---
title: "Shopping - Tools | SnowAI"
description: "Shopping tools on SnowAI. Google Shopping and Walmart products and prices. 4 tools, each with its parameters, its price and a call to copy."
url: "https://trysnow.ai/docs/tools/shopping"
---

# Shopping

> Google Shopping and Walmart products and prices.

## Things to ask

Ask your agent in plain words. It picks the tool.

- Where is the Sony WH-1000XM5 cheapest across shops?
- Compare this Walmart listing's price with what Google Shopping shows.
- Search Walmart for air fryers and show the top results with their ratings.

## Tools in Shopping

4 tools. Prices are in credits; 1,000 credits are $1.

| Tool | Use it when | Cost |
| --- | --- | --- |
| [`shopping_search_products`](https://trysnow.ai/docs/tools/shopping#shopping_search_products) | You need prices and sellers for a product across shops. | 1.65 credits per call |
| [`shopping_get_product`](https://trysnow.ai/docs/tools/shopping#shopping_get_product) | You have a Google Shopping product link and need its prices across sellers. | 1.65 credits per call |
| [`walmart_get_product`](https://trysnow.ai/docs/tools/shopping#walmart_get_product) | You have a Walmart product URL and need its price, rating or seller. | 1.65 credits per call |
| [`walmart_search_products`](https://trysnow.ai/docs/tools/shopping#walmart_search_products) | You need the products Walmart shows for a search, with prices. | 1.65 credits per product |

## Search Google Shopping

Tool: `shopping_search_products` (read-only)

- **Good for**: You need prices and sellers for a product across shops.
- **Not the tool for**: Amazon-only data (use `amazon_search_products`).
- **What you get**: Products Google Shopping lists, with title, price, seller, rating and link.
- **Cost**: 1.65 credits per call. Cached 6 hours: a cache hit costs 0.825 credits.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | `string` | Yes | The product to look for. |
| `country` | `string` | No | Two-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us. |

**Example: MCP**

```json
{
  "name": "shopping_search_products",
  "arguments": {
    "query": "sony wh-1000xm5 headphones",
    "country": "us"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/shopping_search_products \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "sony wh-1000xm5 headphones",
  "country": "us"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/shopping_search_products", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "sony wh-1000xm5 headphones",
    "country": "us"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/shopping_search_products",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "query": "sony wh-1000xm5 headphones",
        "country": "us",
    },
)
print(response.json())
```

## Get a Google Shopping product

Tool: `shopping_get_product` (read-only)

- **Good for**: You have a Google Shopping product link and need its prices across sellers.
- **Not the tool for**: Searching (use `shopping_search_products`, whose links this takes).
- **What you get**: The product: title, rating, review count, description, every seller with price, total, shipping and stock, and the spec sheet.
- **Cost**: 1.65 credits per call. Cached 6 hours: a cache hit costs 0.825 credits.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | The Google Shopping product URL, e.g. https://www.google.com/search?ibp=oshop&q=...&prds=catalogid:... |

**Example: MCP**

```json
{
  "name": "shopping_get_product",
  "arguments": {
    "url": "https://www.google.com/search?ibp=oshop&q=Sony+WH-1000XM5+Noise+Canceling+Wireless+Headphones&prds=catalogid%3A17755277695162489284%2Cgpcid%3A11726664398501807381%2CheadlineOfferDocid%3A10419985032498353209%2CimageDocid%3A8167406120833962747%2Cproductid%3A8123523306754565002%2Cpvt%3Ahg%2Crds%3APC_11726664398501807381%7CPROD_PC_11726664398501807381&hl=en&gl=us&udm=28"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/shopping_get_product \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.google.com/search?ibp=oshop&q=Sony+WH-1000XM5+Noise+Canceling+Wireless+Headphones&prds=catalogid%3A17755277695162489284%2Cgpcid%3A11726664398501807381%2CheadlineOfferDocid%3A10419985032498353209%2CimageDocid%3A8167406120833962747%2Cproductid%3A8123523306754565002%2Cpvt%3Ahg%2Crds%3APC_11726664398501807381%7CPROD_PC_11726664398501807381&hl=en&gl=us&udm=28"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/shopping_get_product", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://www.google.com/search?ibp=oshop&q=Sony+WH-1000XM5+Noise+Canceling+Wireless+Headphones&prds=catalogid%3A17755277695162489284%2Cgpcid%3A11726664398501807381%2CheadlineOfferDocid%3A10419985032498353209%2CimageDocid%3A8167406120833962747%2Cproductid%3A8123523306754565002%2Cpvt%3Ahg%2Crds%3APC_11726664398501807381%7CPROD_PC_11726664398501807381&hl=en&gl=us&udm=28"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/shopping_get_product",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://www.google.com/search?ibp=oshop&q=Sony+WH-1000XM5+Noise+Canceling+Wireless+Headphones&prds=catalogid%3A17755277695162489284%2Cgpcid%3A11726664398501807381%2CheadlineOfferDocid%3A10419985032498353209%2CimageDocid%3A8167406120833962747%2Cproductid%3A8123523306754565002%2Cpvt%3Ahg%2Crds%3APC_11726664398501807381%7CPROD_PC_11726664398501807381&hl=en&gl=us&udm=28",
    },
)
print(response.json())
```

## Get a Walmart product

Tool: `walmart_get_product` (read-only)

- **Good for**: You have a Walmart product URL and need its price, rating or seller.
- **Not the tool for**: Searching Walmart (use `walmart_search_products`).
- **What you get**: The product: title, brand, price, availability, rating, review count, seller and identifiers.
- **Cost**: 1.65 credits per call. Cached 6 hours: a cache hit costs 0.825 credits.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | The Walmart product (with /ip/) URL, e.g. https://www.walmart.com/ip/123456789 |

**Example: MCP**

```json
{
  "name": "walmart_get_product",
  "arguments": {
    "url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation/1752657021"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/walmart_get_product \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation/1752657021"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/walmart_get_product", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation/1752657021"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/walmart_get_product",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation/1752657021",
    },
)
print(response.json())
```

## Search Walmart

Tool: `walmart_search_products` (read-only)

- **Good for**: You need the products Walmart shows for a search, with prices.
- **Not the tool for**: One product's full details (use `walmart_get_product`).
- **What you get**: Products with title, price, rating, review count and URL.
- **Cost**: 1.65 credits per product. Cached 6 hours: a cache hit costs 50% of the live price.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | `string` | Yes | What to search Walmart for. |
| `limit` | `integer` | No | How many products to return, at most 100. Default 20. |

**Example: MCP**

```json
{
  "name": "walmart_search_products",
  "arguments": {
    "query": "air fryer",
    "limit": 10
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/walmart_search_products \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "air fryer",
  "limit": 10
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/walmart_search_products", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "air fryer",
    "limit": 10
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/walmart_search_products",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "query": "air fryer",
        "limit": 10,
    },
)
print(response.json())
```

Every docs page as Markdown: https://trysnow.ai/llms.txt
