# Etsy Product Search

Search Etsy for products matching keywords, returning listing title, price, image, shop ratings, shipping origin, and fulfilment terms

**Pricing:** $8 / 1k products

**Endpoint:** `POST /api/v1/agents/etsy/search/run`

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

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `keywords` | array | Yes | Etsy search keywords. One per line. Each keyword is searched separately. |
| `maxResults` | integer | No | Maximum number of items to return per keyword. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/etsy/search/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"keywords":["..."]}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/etsy/search/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "keywords": [
        "..."
    ]
}},
)
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 |
|-------|--------------|------|
| `productUrl` | Product URL | url |
| `listingId` | Listing ID | number |
| `title` | Title | text |
| `price` | Price | currency |
| `imageUrl` | Image URL | url |
| `shopRating` | Shop Rating | rating |
| `shopReviews` | Shop Reviews | number |
| `shipsFromCountry` | Ships From Country | text |
| `shipsFromPostalCode` | Ships From Postal Code | text |
| `minProcessingDays` | Min Processing Days | number |
| `maxProcessingDays` | Max Processing Days | number |
| `returnsAccepted` | Returns Accepted | boolean |
| `exchangesAccepted` | Exchanges Accepted | boolean |
| `returnExchangeDeadlineDays` | Return/Exchange Deadline (Days) | number |
