# Yelp Reviews

Extract individual Yelp reviews from business pages — full review text, star rating, absolute review date, reviewer profile, reader-reaction counts (helpful, thanks, love this, oh no), photos, videos, and owner public replies. One clean row per review.

**Pricing:** $0.25 / 1k reviews

**Endpoint:** `POST /api/v1/agents/yelp/reviews/run`

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

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | string | Yes | Yelp business page URL to scrape reviews from (e.g. https://www.yelp.com/biz/katzs-delicatessen-new-york). |
| `maxReviews` | integer | No | Number of reviews to return in total. Use 0 for all available reviews. |

## Example

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

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/yelp/reviews/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "urls": "..."
}},
)
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 |
|-------|--------------|------|
| `reviewId` | Review ID | text |
| `rating` | Rating | rating |
| `reviewText` | Review Text | text |
| `reviewDate` | Review Date | text |
| `reviewUrl` | Review URL | url |
| `language` | Language | text |
| `translatedText` | Translated Text | text |
| `publicReply` | Public Reply | text |
| `photos` | Photos | array |
| `videos` | Videos | array |
| `totalReactions` | Total Reactions | number |
| `reactions` | Reactions | object |
| `firstReviewer` | First Reviewer | boolean |
| `reviewer` | Reviewer | object |
| `business` | Business | object |
