# Google Shopping

Extract Google Shopping product listings and details by keyword, country, language, count, and date range

**Pricing:** $3 / 1k results

**Endpoint:** `POST /api/v1/agents/google/shopping/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `queries` | string | Yes | Google Shopping search query to run. |
| `maxResults` | integer | No | Number of products to return. Use 0 for all. |
| `dateRange` | string | No | Limit results to recently-listed products. |
| `country` | string | No | Country to search Google Shopping from. |
| `language` | string | No | Language for results. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/google/shopping/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"queries":"..."}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/google/shopping/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "queries": "..."
}},
)
data = resp.json()
```

## Get the results

`run` is async and returns a `job_id`. Poll until `status` is `completed`, then read the rows:

```bash
# 1) check status
curl https://api.mindcase.co/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/api/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, endpoints): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `title` | Title | text |
| `merchant` | Merchant | text |
| `price` | Price | currency |
| `priceValue` | Price Value | number |
| `rating` | Rating | rating |
| `reviewCount` | Review Count | number |
| `position` | Position | number |
| `productId` | Product ID | text |
| `image` | Image | url |
| `productUrl` | Product URL | url |
