# airbnb.search

The listings on a page of Airbnb's search results for a place: price, rating, reviews, coordinates, badges and photos.

Airbnb search, one of the Airbnb scrapers.

| | |
| --- | --- |
| Id | `airbnb.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/airbnb.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checkin` | string | no | The first night, `YYYY-MM-DD`. Limit: matches ^\d{4}-\d{2}-\d{2}$. |
| `checkout` | string | no | The day of departure, `YYYY-MM-DD`, after `checkin`. Limit: matches ^\d{4}-\d{2}-\d{2}$. |
| `adults` | integer | no | The number of adults. Limit: 1 to 16. Default: `1`. |
| `children` | integer | no | The number of children (2 to 12). Limit: 0 to 15. Default: `0`. |
| `infants` | integer | no | The number of infants (under 2). Limit: 0 to 5. Default: `0`. |
| `pets` | integer | no | The number of pets. Limit: 0 to 5. Default: `0`. |
| `currency` | string | no | The currency prices are shown in, as an ISO code, e.g. `USD`, `EUR`, `GBP`. Airbnb answers a currency it does not offer in US dollars; each price says which currency it is in. Limit: matches ^[A-Za-z]{3}$. Default: `"USD"`. |
| `location` | string | yes | Where to stay, as typed into Airbnb's search box: a city, a region or a neighbourhood, e.g. `Lisbon, Portugal`. Name the country: Airbnb answers words it knows no place for with listings from anywhere. Limit: at least 1 characters, at most 200 characters. |
| `page` | integer | no | The results page, from 1; 18 listings a page, 15 pages at most. Limit: 1 to 15. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer | The listing's place on this results page, from 1. Limit: at least 1. |
| `page` | integer | The results page the listing was on. Limit: at least 1. |
| `listing_id` | string | Airbnb's id of the listing. `airbnb.listing` takes it. |
| `url` | string | The listing's page on airbnb.com. |
| `title` | string | The card's first line: for a home the kind of place and its area, e.g. `Apartment in Graça`; for a hotel its name. |
| `subtitle` | string or null | The card's second line, as shown. |
| `name` | string or null | The name the host gave the listing. |
| `latitude` | number or null | The latitude of the listing's pin on the map, in decimal degrees. |
| `longitude` | number or null | The longitude of that pin. |
| `rating` | number or null | The average guest rating, 1 to 5. Null for a listing without one yet. |
| `review_count` | integer or null | The number of reviews behind the rating. |
| `is_new` | boolean | True when the card says `New` in place of a rating. Default: `false`. |
| `checkin` | string (date) or null | The first night of the stay that was asked for; null for a search without dates. |
| `checkout` | string (date) or null | The day of departure that was asked for. |
| `price` | object or null | The price the card shows, for what `price_qualifier` says: with dates, the total for the stay. Without dates Airbnb prices a stay of its own choosing and says for how many nights. |
| `price.amount` | number | The amount, as the page writes it. |
| `price.currency` | string | The ISO code of the currency the page priced in: the one asked for, or USD where Airbnb does not offer it. |
| `price_before_discount` | object or null | The struck-through price, when the card shows one. |
| `price_before_discount.amount` | number | The amount, as the page writes it. |
| `price_before_discount.currency` | string | The ISO code of the currency the page priced in: the one asked for, or USD where Airbnb does not offer it. |
| `price_qualifier` | string or null | What the price is for, in the card's words, e.g. `for 2 nights` or `monthly`. |
| `price_label` | string or null | The card's whole price line as it is read out, e.g. `$229 for 2 nights, originally $289`. |
| `badges` | array of string | The badges on the card, e.g. `Guest favorite`, `Superhost`. |
| `notes` | array of string | The short notes under the price, e.g. `Free cancellation`. |
| `photos` | array of string | The card's photos, in its order. |
| `fetched_at` | string (date-time) | When the results were read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/airbnb.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"location":"Kyoto, Japan"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "airbnb.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "location": "Kyoto, Japan"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "page": 1,
      "listing_id": "1744088620623845596",
      "url": "https://www.airbnb.com/rooms/1744088620623845596",
      "title": "Townhouse in Kyoto",
      "subtitle": "Machiya with garden and open-air bath",
      "name": "LuckyaKotako|Shijo&Nishiki|Shigaraki Open-Air Bath",
      "latitude": 35.0061,
      "longitude": 135.7554,
      "rating": 5,
      "review_count": 10,
      "is_new": false,
      "checkin": null,
      "checkout": null,
      "price": {
        "amount": 735,
        "currency": "USD"
      },
      "price_before_discount": {
        "amount": 819,
        "currency": "USD"
      },
      "price_qualifier": "for 2 nights",
      "price_label": "$735 for 2 nights, originally $819",
      "badges": [
        "Guest favorite"
      ],
      "notes": [],
      "photos": [
        "https://a0.muscache.com/im/pictures/hosting/Hosting-1744088620623845596/original/f2418a95-1718-4e9a-8101-027810200885.png",
        "https://a0.muscache.com/im/pictures/hosting/Hosting-1744088620623845596/original/85edb652-5142-45fc-b00d-8b7b3d6958b7.jpeg",
        "https://a0.muscache.com/im/pictures/hosting/Hosting-1744088620623845596/original/6a6f8dfb-07e2-49e4-8d1a-ec616615a132.png"
      ],
      "fetched_at": "2026-11-19T18:07:38.110735Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `photos`: 6 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Airbnb scrapers](https://docs.enrichednow.com/results-and-statuses.md#airbnb) are in their own section there.
