Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIAirbnb

    airbnb.listing

    An Airbnb listing's page: description, capacity, amenities, house rules, rating, photos, the host's name as shown, and the price of a stay.

    Id
    airbnb.listing
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/airbnb.listing/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.listing
    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".
    listingrequiredstringThe listing's id, e.g. 29990558 (the listing_id of an airbnb.search record), or the address of its page (https://www.airbnb.com/rooms/29990558).Limit: at least 1 characters, at most 500 characters.

    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.listing
    FieldTypeNotes
    listing_idstringAirbnb's id of the listing.
    urlstringThe listing's page on airbnb.com.
    titlestringThe name the host gave the listing.
    summarystring or nullThe line under the photos, e.g. Entire rental unit in Lisbon, Portugal.
    property_typestring or nullThe kind of property as Airbnb codes it, in capitals, e.g. APARTMENT, HOUSE, HOTEL.
    descriptionstring or nullThe host's description, as plain text, one line per paragraph.
    locationstring or nullWhere the listing is, as the page states it, e.g. Lisbon, Portugal.
    latitudenumber or nullThe latitude of the map's pin, in decimal degrees.
    longitudenumber or nullThe longitude of that pin.
    location_is_exactboolean or nullFalse when the page places the pin only roughly, as it does for most homes.
    guestsinteger or nullHow many guests the listing takes.
    bedroomsinteger or nullThe number of bedrooms, when the page states it.
    bedsinteger or nullThe number of beds, when the page states it.
    bathroomsnumber or nullThe number of bathrooms, when the page states it; a half bath counts 0.5.
    ratingnumber or nullThe average guest rating, 1 to 5. Null for a listing without reviews.
    review_countinteger or nullThe number of reviews.
    rating_breakdownarray of objectThe rating by category, where the page shows it (it needs a few reviews).
    category (in rating_breakdown[])stringWhat was rated, e.g. Cleanliness, Location, Value.
    rating (in rating_breakdown[])numberThe average rating for it, 1 to 5.
    is_guest_favoriteboolean or nullTrue when the page carries Airbnb's Guest favorite mark.
    amenitiesarray of objectWhat the place offers, grouped as the page groups it. Amenities the page lists as not included are left out.
    title (in amenities[])stringThe group's heading on the page, e.g. Kitchen and dining.
    amenities (in amenities[])array of stringThe amenities of the group that the listing has.
    house_rulesarray of objectThe house rules, in the page's order.
    rule (in house_rules[])stringThe rule, in the page's words, e.g. No pets or Quiet hours.
    detail (in house_rules[])string or nullWhat the page adds to it, e.g. 10:00 PM - 9:00 AM.
    safety_and_propertyarray of stringThe page's safety and property notes, e.g. Smoke alarm installed, Must climb stairs.
    host_namestring or nullThe host's display name, as the listing shows it.
    host_is_superhostboolean or nullTrue when the listing marks the host as a Superhost.
    host_years_hostinginteger or nullThe years of hosting the listing states for the host.
    photosarray of stringThe listing's photos, in the page's order.
    checkinstring (date) or nullThe first night of the stay that was asked for; null when no dates were given.
    checkoutstring (date) or nullThe day of departure that was asked for.
    availableboolean or nullFor a stay: whether the listing can be booked for it. Null when no dates were given or the page did not say.
    priceobject or nullFor a stay the listing can be booked for: the total the page shows for it, before any taxes it adds at checkout. Null otherwise.
    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 total, when the page 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_detailsarray of objectThe lines of the page's price breakdown, e.g. the nights and their rate.
    description (in price_details[])stringWhat the line is, e.g. 2 nights x $114.34.
    amount (in price_details[])numberIts amount, in the currency of the price.
    fetched_atstring (date-time)When the page was 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.listing/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"listing":"1399853605326576581"}}'
    
    # 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.listing", {"listing": "1399853605326576581"})
    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.listing", { listing: "1399853605326576581" });
    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.listing", map[string]any{"listing": "1399853605326576581"})
    	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.listing", Map.of("listing", "1399853605326576581"));
            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.listing --input-json '{"listing":"1399853605326576581"}'

    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": {
        "listing": "1399853605326576581"
      }
    }

    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.listing",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "listing": "1399853605326576581"
      },
      "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": [
        {
          "listing_id": "1399853605326576581",
          "url": "https://www.airbnb.com/rooms/1399853605326576581",
          "title": "Casa Teva Lisboa Hotel",
          "summary": "Hotel in Lisbon, Portugal",
          "property_type": "HOTEL",
          "description": null,
          "location": "Lisbon",
          "latitude": 38.7136259,
          "longitude": -9.1356602,
          "location_is_exact": true,
          "guests": 2,
          "bedrooms": null,
          "beds": null,
          "bathrooms": null,
          "rating": 4.97,
          "review_count": 36,
          "rating_breakdown": [
            {
              "category": "Cleanliness",
              "rating": 5
            },
            {
              "category": "Accuracy",
              "rating": 4.9
            },
            {
              "category": "Check-in",
              "rating": 5
            }
          ],
          "is_guest_favorite": false,
          "amenities": [
            {
              "title": "Food and drink",
              "amenities": [
                "Breakfast for purchase",
                "Bar"
              ]
            },
            {
              "title": "Guest services",
              "amenities": [
                "Luggage dropoff allowed"
              ]
            },
            {
              "title": "Accessibility",
              "amenities": [
                "Elevator"
              ]
            }
          ],
          "house_rules": [
            {
              "rule": "No pets",
              "detail": null
            },
            {
              "rule": "During the stay",
              "detail": "Photo ID and credit card required at check in. No pets."
            }
          ],
          "safety_and_property": [],
          "host_name": null,
          "host_is_superhost": false,
          "host_years_hosting": 1,
          "photos": [
            "https://a0.muscache.com/im/pictures/BnbProperty/BnbProperty-1613776510021915031/original/78c34def-2045-4e46-b624-d9a34809aaf2.jpeg",
            "https://a0.muscache.com/im/pictures/BnbProperty/BnbProperty-1613776510021915031/original/99287c73-7dcb-45fc-87d8-1adfbd6e5b0d.jpeg",
            "https://a0.muscache.com/im/pictures/BnbProperty/BnbProperty-1613776510021915031/original/60e87e04-ee35-4a8c-9370-13d6ad45814d.jpeg"
          ],
          "checkin": null,
          "checkout": null,
          "available": null,
          "price": null,
          "price_before_discount": null,
          "price_details": [],
          "fetched_at": "2026-11-19T18:07:38.094703Z"
        }
      ],
      "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: rating_breakdown: 6 items, the first 3 shown.
    • Shortened: amenities: 5 items, the first 3 shown.
    • Shortened: photos: 61 items, the first 3 shown.
    • Left out: host_name: it is the display name of a private person.

    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.