---
title: "Airbnb Scraper or API: What You Get | Perceptlayer"
description: "An Airbnb scraper vs search, listing and reviews endpoints at 1 credit a call: a recorded Paris search with price.amount, price_breakdown and coordinates."
url: https://perceptlayer.com/blog/airbnb-scraper-vs-api
---

[Blog](https://perceptlayer.com/blog) / [API guides](https://perceptlayer.com/blog/category/api-guides)

# Airbnb Scraper or API: What You Get

6 Nov 2026 Perceptlayer 9 min read

An Airbnb scraper fetches search and listing pages for a place and a set of dates, then pulls price, rating, beds and coordinates out of whatever the page returns. You maintain the fetching, the parsing and the checks that tell you when it broke. The alternative is three Airbnb endpoints that return those fields as JSON for 1 credit per successful call. Below, a recorded Paris search shows what you get, and the cost is worked out per listing tracked.

## Key takeaways

-   An Airbnb price is only meaningful with its context: the listing, `checkin`, `checkout`, guest counts and `currency`. A scraper or an API has to capture all five for every row you store.
-   `GET /v1/airbnb/search` requires only `place`. The recorded Paris search returned `price.amount` 714 `EUR` for `nights` 4, plus `price_breakdown`, `bedrooms`, `beds`, `bathrooms`, `latitude` and `longitude`.
-   One listing in the recorded search has `rating` 5 and `review_count` 17; the other has neither field. Parse both as optional, whichever route you take.
-   Search, listing and reviews each cost 1 credit per successful call, and failed calls return `X-Credits-Used: 0`. A search page that returns R listings costs 1 ÷ R credits per listing.
-   A scraper still makes sense for fields the three endpoints don't return, or for a one-off look at a handful of listings.

## What is one Airbnb data point, and why do dates matter?

One Airbnb data point is not a listing; it's a listing quoted for specific dates, a specific party and a specific currency. The same apartment shows a different total for a weekend in November than for a week in July, and a different total for two adults than for four. If you store a price without the query that produced it, you can't compare it with anything later.

That is the first design decision for either route, and it's the same decision. Whatever collects the data has to record `checkin`, `checkout`, the guest counts, the `currency` and the time of the call alongside each price. The search endpoint takes all of those as parameters: `checkin`, `checkout`, `adults`, `children`, `infants`, `pets` and `currency`. The listing endpoint takes `checkin`, `checkout` and `adults`. A scraper has to build the same query into a URL or a form and confirm the page honoured it.

The second consequence is volume. Tracking 100 listings across four date windows is 400 observations per run, not 100. Keep that multiplier in mind when you read the cost section below.

## What does a scraper have to get right for each row?

A scraper for a large travel site is four jobs, and each one fails differently. None of this is specific to Airbnb's systems; it's what any collector for a site that size has to handle. Before you build one, read Airbnb's terms of service and decide whether your use is one you can defend.

### Fetching the right page

You need a search query that reproduces a visitor's search for a place, dates and guests, and a way to confirm the response matches it. Large sites distinguish people from automated traffic, so expect slow responses, challenge pages and blocks at volume. Treat a block as a signal to stop. Getting around a site's protections isn't something we'd recommend.

### Finding the fields

Whether the price is in the HTML, in data embedded in the page, or loaded by a later request is something you find out by inspecting the page. That answer can change without notice. The price itself comes as display text, so you also parse currency symbols, thousands separators and phrases like "for 4 nights" into numbers.

### Paging through a market

One search page holds only part of a city's listings. Your scraper has to find the next page, follow it, and stop at the end without repeating or skipping listings when results shift between requests.

### Noticing when it broke

Scrapers rarely fail loudly. A changed page usually produces rows with empty prices or a sudden drop in result count, not an exception. You need checks that compare today's run with yesterday's and alert you, plus someone to fix the parser when they fire.

## What does the search endpoint return for the same row?

The search endpoint returns each listing as named, typed JSON, with the stay price already split into amount, currency and nights. Here is the request from the recording: Paris, four nights from 10 November 2026, two adults, prices in euros.

```bash
curl "https://api.perceptlayer.com/v1/airbnb/search?place=Paris--France&checkin=2026-11-10&checkout=2026-11-14&adults=2&currency=EUR" \
  -H "X-API-Key: $API_KEY"
```

The recorded response, trimmed with `…`, shows both listings with the fields a price tracker reads. The response echoes the place back as `"Paris, France"`.

```json
{
  "success": true,
  "data": {
    "place": "Paris, France",
    "results": [
      {
        "id": "1669612146929039736",
        "url": "https://www.airbnb.com/rooms/1669612146929039736",
        "title": "Apartment in Paris",
        …
        "rating": 5,
        "review_count": 17,
        "price": {
          "amount": 714,
          "currency": "EUR",
          "nights": 4,
          "qualifier": "for 4 nights"
        },
        "price_breakdown": [
          {
            "description": "4 nights x €178.34",
            "amount": 713.37
          }
        ],
        "bedrooms": 1,
        "beds": 1,
        "bathrooms": 1,
        "latitude": 48.84223,
        "longitude": 2.29241,
        "badges": [
          "Guest favorite"
        ],
        …
      },
      {
        "id": "1789244334462111444",
        …
        "price": {
          "amount": 765,
          "currency": "EUR",
          "nights": 4,
          "qualifier": "for 4 nights"
        },
        …
        "bedrooms": 1,
        "beds": 2,
        "bathrooms": 1,
        "latitude": 48.8419,
        "longitude": 2.3529,
        …
      }
    ],
    "has_more": true,
    "next_cursor": "eyJzZWN0aW9uX29mZnNldCI6MCwiaXRlbXNfb2Zmc2V0IjoxOCwidmVyc2lvbiI6MX0="
  },
  "meta": {
    "endpoint_family": "stay_search",
    "billable": true
  }
}
```

Two details are worth noting before you build on this. First, `price.amount` is a rounded stay total: 714 for the first listing, while its `price_breakdown` line says `4 nights x €178.34` with an `amount` of 713.37. If you need the exact nightly figure, read it from the breakdown. Second, the second listing has no `rating`, `review_count` or `badges`, so code that indexes those fields directly will fail on it.

For more pages, the response ends with `has_more` and `next_cursor`, and the endpoint takes a `cursor` string of up to 200 characters. The names match; test the hand-off on the [Airbnb search endpoint page](https://perceptlayer.com/apis/airbnb/search) before relying on it.

## Scraper or endpoint: how do they compare field by field?

Field for field, both routes can reach the same listing data; the difference is who turns the page into numbers and who fixes it when that stops working. The table compares them for a recurring job, such as a weekly price snapshot of one city.

| What you need | DIY Airbnb scraper | Airbnb endpoints |
| --- | --- | --- |
| Listing identity | Parse an ID out of a link | `id` and `url` |
| Stay price | Parse display text into a number and a currency | `price.amount`, `price.currency`, `price.nights` |
| Nightly rate | Parse it from the breakdown text | `price_breakdown[].description` and `amount` |
| Size | Parse "1 bedroom · 2 beds" style text | `bedrooms`, `beds`, `bathrooms` as numbers |
| Location | Find coordinates in the page, if they're there | `latitude`, `longitude` |
| Ratings | Parse, and handle listings without one | `rating`, `review_count`, optional per listing |
| Next page | Find and follow the site's pagination | `has_more`, `next_cursor`, and a `cursor` parameter |
| Single listing and reviews | Separate page parsers for each | `/v1/airbnb/listing` and `/v1/airbnb/reviews`, both by `listing_id` |
| When it breaks | Empty fields until your checks notice | An HTTP status and an error `code`; failed calls cost 0 |
| Speed | As fast as you can fetch without being blocked | 1 request a second free; at least 5 a second on paid credits |
| Running cost | Hosting, proxies if you use them, and your time | 1 credit per successful call |

The endpoints don't remove every job. You still store the query context with each row, decide which listings to follow, and handle errors. The [errors docs](https://docs.perceptlayer.com/errors) list each code, and the [rate limits docs](https://docs.perceptlayer.com/rate-limits) explain the per-minute counting.

## What does each tracked listing cost in credits?

On the endpoints, cost follows calls, not listings. A search call costs 1 credit whatever it returns, so if a page returns R listings, each costs 1 ÷ R credits for that date window. A listing call or a reviews page is 1 credit for one listing. The sizes below are example numbers, not measurements; count `data.results` on your own search before you plan around a page size.

Suppose you track a Paris neighbourhood that takes 25 search pages to cover, for four date windows, once a day. That's 25 pages × 4 windows = 100 calls × 1 credit = 100 credits a day. On top of that, you refresh the listing detail and one reviews page for 200 listings once a month.

| Job | Calls | Credits |
| --- | --- | --- |
| Daily search, 25 pages × 4 date windows | 100 a day | 100 a day |
| Same, over 30 days | 3,000 | 3,000 |
| Monthly listing detail, 200 listings | 200 | 200 |
| Monthly reviews, first page for 200 listings | 200 | 200 |
| Total for 30 days | 3,400 | 3,400 |

The 100 free credits you get once, after verifying an email address, cover exactly one day of the search part, which is enough to see whether the fields fit. The full month is 3,400 credits, inside the Starter pack's 10,000, and purchased credits last 12 months. See [pricing](https://perceptlayer.com/pricing) for what credits cost and the [credits docs](https://docs.perceptlayer.com/credits) for how `X-Credits-Used` and `X-Credits-Remaining` report spend.

Failed calls cost nothing, so a run that hits errors doesn't drain your balance. One caveat: requests have no idempotency key, so a call whose reply your client timed out on may have succeeded and been billed.

## How do you store dated price rows from code?

Store each result with the query that produced it, so later runs compare like with like. The script below runs one search and writes one row per listing into SQLite with the dates, guest count, currency and fetch time. It reads only fields from the recorded response and uses `.get()` throughout, because the second recorded listing shows that some fields are absent.

```python
import os
import sqlite3
from datetime import datetime, timezone

import requests

QUERY = {
    "place": "Paris--France",
    "checkin": "2026-11-10",
    "checkout": "2026-11-14",
    "adults": 2,
    "currency": "EUR",
}

resp = requests.get(
    "https://api.perceptlayer.com/v1/airbnb/search",
    params=QUERY,
    headers={"X-API-Key": os.environ["API_KEY"]},
    timeout=30,
)
resp.raise_for_status()
print("credits used:", resp.headers.get("X-Credits-Used"))

db = sqlite3.connect("airbnb_prices.db")
db.execute(
    """CREATE TABLE IF NOT EXISTS prices (
        fetched_at TEXT, listing_id TEXT, checkin TEXT, checkout TEXT,
        adults INTEGER, amount REAL, currency TEXT, nights INTEGER,
        rating REAL, review_count INTEGER, latitude REAL, longitude REAL
    )"""
)

fetched_at = datetime.now(timezone.utc).isoformat()
for item in resp.json()["data"]["results"]:
    price = item.get("price") or {}
    db.execute(
        "INSERT INTO prices VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
        (
            fetched_at, item.get("id"), QUERY["checkin"], QUERY["checkout"],
            QUERY["adults"], price.get("amount"), price.get("currency"),
            price.get("nights"), item.get("rating"), item.get("review_count"),
            item.get("latitude"), item.get("longitude"),
        ),
    )
db.commit()
db.close()
```

We have no recorded run of this script, so try it on one search first. Get a key on the [free sign-up page](https://perceptlayer.com/signup) and export it as `API_KEY`; the [authentication docs](https://docs.perceptlayer.com/authentication) cover the `api_key` query parameter for clients that can't set headers.

## Which should you use for your job?

Pick by how often the job runs and which fields it needs, because that decides whether parser upkeep or per-call credits dominate. These verdicts assume the data you need is in the fields shown above.

-   **Daily or weekly price tracking for a city**: use `/v1/airbnb/search` with fixed `checkin`, `checkout`, `adults` and `currency`, and store each row with its query. Cost is 1 credit per page per date window.
-   **Comparing size and location against price**: the search results already carry `bedrooms`, `beds`, `bathrooms`, `latitude` and `longitude`, so you don't need a call per listing.
-   **Watching a fixed set of known listings**: call `/v1/airbnb/listing` with each `listing_id` and your dates, at 1 credit per listing per check. Open the [Airbnb listing endpoint page](https://perceptlayer.com/apis/airbnb/listing) to see its fields before you design the table.
-   **Review text for sentiment or quality work**: use `/v1/airbnb/reviews` with `limit` and `offset`, and see the [Airbnb reviews endpoint page](https://perceptlayer.com/apis/airbnb/reviews). Keep reviewers' names out of anything you store.
-   **A field none of the endpoints return**: a narrow scraper for that one field may be justified, after you've read the terms.
-   **Five listings, once**: open them in a browser. Neither a scraper nor an API is worth setting up.
-   **An AI agent answering stay questions**: expose the endpoints through the MCP server as the [AI agents docs](https://docs.perceptlayer.com/ai-agents) describe, so the agent calls search instead of browsing pages.

For the full parameter tables of all three endpoints, see [Airbnb listings data API: search, details and reviews](https://perceptlayer.com/blog/airbnb-listings-data-api). For hotels rather than rentals, [Hotel API: Expedia, Booking.com and Google Hotels](https://perceptlayer.com/blog/hotel-api-comparison) compares the options, and the [travel APIs](https://perceptlayer.com/verticals/travel) page lists the rest. Next step: run the Paris search with your own dates in the playground on the [Airbnb API page](https://perceptlayer.com/apis/airbnb).

## APIs in this post

-   [Airbnb **1 credit per call** · 3 endpoints](https://perceptlayer.com/apis/airbnb)

## Frequently asked questions

### Is scraping Airbnb allowed?

That depends on Airbnb's terms of service, how you use the data, and the law where you operate, so read the terms and take legal advice for commercial use. Don't get around blocks or other protections. Listing facts such as price, beds and coordinates are lower risk than personal data; leave hosts' and reviewers' names and photos out of anything you keep.

### How much does an Airbnb API call cost?

Each successful call to search, listing or reviews costs 1 credit, and failed calls cost nothing and return `X-Credits-Used: 0`. Every account gets 100 free credits once, after email verification, with no credit card. Credit packs start at 10,000 credits, and purchased credits last 12 months. See the pricing page for what credits cost.

### Why does the same listing show different prices?

A search price is the total for the dates, guests and currency you asked for. In the recorded Paris search, `price.amount` is 714 `EUR` for `nights` 4, while the breakdown shows €178.34 a night and 713.37 in total. Change `checkin`, `checkout` or `adults` and the total changes, so store those values with every price.

### How do I get more than one page of search results?

The recorded search response ends with `has_more: true` and a `next_cursor` string, and the search endpoint takes an optional `cursor` parameter of up to 200 characters. The names match, but no page size is documented, so test the hand-off in the playground and count `data.results` on each page before you plan credits.

### What happens when my credits run out mid-run?

The next call returns `insufficient_credits` with HTTP status 402 and nothing is debited. The service is prepaid with no automatic top-up, so the job stops rather than overspending. Every response carries `X-Credits-Remaining`, so your script can stop early or alert you before the balance reaches zero.

airbnb scraping short-term rentals price tracking travel data

## More from the blog

1.  [API guides](https://perceptlayer.com/blog/category/api-guides) 9 Nov 2026 Perceptlayer 9 min read
    
    ## [Vrbo Scraper or API: What You Get](https://perceptlayer.com/blog/vrbo-scraper-vs-api)
    
    A Vrbo scraper vs 6 endpoints at 1 credit a call: a recorded Lake Tahoe search with stay\_total, nightly\_original and rating, and the cost per listing.
    
2.  [API guides](https://perceptlayer.com/blog/category/api-guides) 17 Nov 2026 Perceptlayer 8 min read
    
    ## [Etsy Scraper or API: What You Get](https://perceptlayer.com/blog/etsy-scraper-vs-api)
    
    An Etsy scraper vs one 10-credit product endpoint: a recorded listing with price, discount, quantity, variations and favorites, and the cost per item tracked.
    
3.  [API guides](https://perceptlayer.com/blog/category/api-guides) 13 Nov 2026 Perceptlayer 8 min read
    
    ## [Amazon Scraper or API: Search, Offers and Reviews](https://perceptlayer.com/blog/amazon-scraper-vs-api)
    
    An Amazon scraper vs 18 endpoints at 1 credit a call: a recorded laptop stand search with asin, price.amount and rating, and the domains each call takes.
