# Airbnb Listings

Get Airbnb listing records — price, availability, ratings, host info, amenities, photos — from listing URLs

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

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

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

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | array | Yes | Airbnb listing URLs (https://www.airbnb.com/rooms/...). One per line. |
| `checkIn` | date | No | Check-in date for availability and price. |
| `checkOut` | date | No | Check-out date for availability and price. |
| `adults` | integer | No | Number of adults in the party. |
| `children` | integer | No | Number of children (ages 2-12). |
| `infants` | integer | No | Number of infants (under 2). |
| `pets` | integer | No | Number of pets. |
| `locale` | string | No | Language and region for the listing data. |
| `currency` | string | No | Currency for prices. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/airbnb/listings/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/listings/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 |
| `title` | Title | text |
| `propertyType` | Property Type | text |
| `roomType` | Room Type | text |
| `description` | Description | text |
| `capacity` | Capacity | number |
| `summaryDetails` | Summary Details | array |
| `originalLanguage` | Original Language | text |
| `location` | Location | text |
| `locationSubtitle` | Location Subtitle | text |
| `latitude` | Latitude | number |
| `longitude` | Longitude | number |
| `locationPath` | Location Path | text |
| `neighborhoodNotes` | Neighborhood Notes | object_array |
| `ratings` | Ratings | object |
| `reviewCount` | Review Count | number |
| `checkInDate` | Check-In Date | text |
| `checkOutDate` | Check-Out Date | text |
| `available` | Available | boolean |
| `totalPrice` | Total Price | text |
| `pricePerNight` | Price Per Night | text |
| `baseSubtotal` | Base Subtotal | text |
| `originalPrice` | Original Price | text |
| `priceQualifier` | Price Qualifier | text |
| `host` | Host | object |
| `coHosts` | Co-Hosts | object_array |
| `highlights` | Highlights | object_array |
| `amenities` | Amenities | array |
| `houseRules` | House Rules | array |
| `cancellationPolicy` | Cancellation Policy | text |
| `images` | Images | object_array |
| `thumbnail` | Thumbnail | url |
