Scraper APIAirbnb
airbnb.search
The listings on a page of Airbnb's search results for a place: price, rating, reviews, coordinates, badges and photos.
- 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; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
checkin | string | The first night, YYYY-MM-DD.Limit: matches ^\d{4}-\d{2}-\d{2}$. |
checkout | string | The day of departure, YYYY-MM-DD, after checkin.Limit: matches ^\d{4}-\d{2}-\d{2}$. |
adults | integer | The number of adults.Limit: 1 to 16. Default: 1. |
children | integer | The number of children (2 to 12).Limit: 0 to 15. Default: 0. |
infants | integer | The number of infants (under 2).Limit: 0 to 5. Default: 0. |
pets | integer | The number of pets.Limit: 0 to 5. Default: 0. |
currency | string | 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". |
locationrequired | string | 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 | 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. |
amount (in price) | number | The amount, as the page writes it. |
currency (in price) | 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. |
amount (in price_before_discount) | number | The amount, as the page writes it. |
currency (in price_before_discount) | 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
# Start a run and wait up to 60 seconds for it to finish
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"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("airbnb.search", {"location": "Kyoto, Japan"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("airbnb.search", { location: "Kyoto, Japan" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "airbnb.search", map[string]any{"location": "Kyoto, Japan"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("airbnb.search", Map.of("location", "Kyoto, Japan"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run airbnb.search --input-json '{"location":"Kyoto, Japan"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"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.
{
"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.
{
"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 lists every status and the reasons every scraper shares; the reasons of the Airbnb scrapers are in their own section there.