Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of airbnb.search
    FieldTypeDescription
    checkinstringThe first night, YYYY-MM-DD.Limit: matches ^\d{4}-\d{2}-\d{2}$.
    checkoutstringThe day of departure, YYYY-MM-DD, after checkin.Limit: matches ^\d{4}-\d{2}-\d{2}$.
    adultsintegerThe number of adults.Limit: 1 to 16. Default: 1.
    childrenintegerThe number of children (2 to 12).Limit: 0 to 15. Default: 0.
    infantsintegerThe number of infants (under 2).Limit: 0 to 5. Default: 0.
    petsintegerThe number of pets.Limit: 0 to 5. Default: 0.
    currencystringThe 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".
    locationrequiredstringWhere 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.
    pageintegerThe 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.

    Record fields of airbnb.search
    FieldTypeNotes
    positionintegerThe listing's place on this results page, from 1.Limit: at least 1.
    pageintegerThe results page the listing was on.Limit: at least 1.
    listing_idstringAirbnb's id of the listing. airbnb.listing takes it.
    urlstringThe listing's page on airbnb.com.
    titlestringThe 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.
    subtitlestring or nullThe card's second line, as shown.
    namestring or nullThe name the host gave the listing.
    latitudenumber or nullThe latitude of the listing's pin on the map, in decimal degrees.
    longitudenumber or nullThe longitude of that pin.
    ratingnumber or nullThe average guest rating, 1 to 5. Null for a listing without one yet.
    review_countinteger or nullThe number of reviews behind the rating.
    is_newbooleanTrue when the card says New in place of a rating.Default: false.
    checkinstring (date) or nullThe first night of the stay that was asked for; null for a search without dates.
    checkoutstring (date) or nullThe day of departure that was asked for.
    priceobject or nullThe 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)numberThe amount, as the page writes it.
    currency (in price)stringThe ISO code of the currency the page priced in: the one asked for, or USD where Airbnb does not offer it.
    price_before_discountobject or nullThe struck-through price, when the card shows one.
    amount (in price_before_discount)numberThe amount, as the page writes it.
    currency (in price_before_discount)stringThe ISO code of the currency the page priced in: the one asked for, or USD where Airbnb does not offer it.
    price_qualifierstring or nullWhat the price is for, in the card's words, e.g. for 2 nights or monthly.
    price_labelstring or nullThe card's whole price line as it is read out, e.g. $229 for 2 nights, originally $289.
    badgesarray of stringThe badges on the card, e.g. Guest favorite, Superhost.
    notesarray of stringThe short notes under the price, e.g. Free cancellation.
    photosarray of stringThe card's photos, in its order.
    fetched_atstring (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:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Airbnb scrapers are in their own section there.