# Airbnb Reviews

Extract Airbnb reviews — text, author, rating, date — from provided URLs, specifying a locale

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

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

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

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | array | Yes | List of Airbnb room URLs to extract reviews from. |
| `locale` | string | No | Localized reviews will be extracted in this locale (language and region). |
| `maxResults` | integer | No | Number of reviews to fetch per listing. Use 0 for all. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/airbnb/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/airbnb/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 |
|-------|--------------|------|
| `listingUrl` | Listing URL | url |
| `reviewText` | Review Text | text |
| `translatedText` | Translated Text | text |
| `originalLanguage` | Original Language | text |
| `rating` | Rating | rating |
| `postedDate` | Posted Date | text |
| `highlight` | Highlight | text |
| `highlightType` | Highlight Type | text |
| `reviewer` | Reviewer | object |
| `host` | Host | object |
| `hostResponse` | Host Response | text |
