---
title: "How to get Airbnb data"
description: "Search Airbnb stays by place and dates with prices, ratings and review counts, and read a listing’s details, calendar and reviews as JSON. Airbnb’s API access, code and prices."
canonical_url: https://groundsocial.dev/guides/how-to-get-airbnb-data
---
# How to get Airbnb data

> Search Airbnb stays by place and dates with prices, ratings and review counts, and read a listing’s details, calendar and reviews as JSON. Airbnb’s API access, code and prices.

_Checked 2026-11-27._

Airbnb has no public API key: its API is offered through programmes Airbnb admits at its discretion, after a data security review. A data API reads Airbnb’s public search: one GET returns stays for a place and dates with total price, rating and review count, 1 credit a page.

> **Checked 27 November 2026** Every request on this page was run against the live API on that date, and the sample response is from that run. Official-API facts link to the platform’s own pages.

## The official Airbnb API

Airbnb’s API is closed to the public.

- Access is through Airbnb API Programs. Joining one requires Airbnb’s data security review, Airbnb decides the scopes, and it can limit or suspend access at its discretion.
- There is no self-serve sign-up and no market data on other hosts’ listings.

Sources: [Airbnb API Terms of Service](https://www.airbnb.com/help/article/3418).

## Quick start

1. **Get a key.** [Sign up](https://groundsocial.dev/app/sign-in?new=1) with an email code: 100 free credits, no card. An agent can sign itself up with `POST https://api.groundsocial.dev/v1/agent/signup`.
2. **Set it in your shell.** `export GROUNDSOCIAL_API_KEY=gs_live_…`
3. **Make the call.** Stays for a place and dates: `GET /v1/airbnb/search`, 1 credit.

cURL:

```bash
curl "https://api.groundsocial.dev/v1/airbnb/search?location=Lisbon%2C%20Portugal&check_in=2027-03-10&check_out=2027-03-14&adults=2" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"
```

TypeScript:

```ts
const res = await fetch('https://api.groundsocial.dev/v1/airbnb/search?location=Lisbon%2C%20Portugal&check_in=2027-03-10&check_out=2027-03-14&adults=2', {
  headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
```

Python:

```python
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/airbnb/search?location=Lisbon%2C%20Portugal&check_in=2027-03-10&check_out=2027-03-14&adults=2",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
```

## Sample response

Trimmed from the real response on 27 November 2026: lists cut to their first items and long strings shortened. Every field is described in the [tutorial](https://groundsocial.dev/tutorials/airbnb/search-all/python).

```json
{
  "listings": [
    {
      "id": "38283736",
      "url": "https://www.airbnb.com/rooms/38283736",
      "title": "Apartment in Lisbon",
      "name": "New Flat with Balcony in the heart of Old Lisbon",
      "subtitle": "New Flat with Balcony in the heart of Old Lisbon",
      "rating": 4.94,
      "review_count": 345,
      "is_new": false,
      "badges": [
        "Guest favorite"
      ],
      "latitude": 38.7094,
      "longitude": -9.1385,
      "price": {
        "label": "$688 for 4 nights",
        "price": "$688",
        "qualifier": "for 4 nights"
      }
    }
  ],
  "pagination": {
    "next_cursor": "eyJsb2NhdGlvbiI6Ikxpc2JvbiwgUG9ydHVnYWwiLCJjaGVja19pbiI6IjIwMjctMDMtMTAiLCJjaGVja19vdXQiOi…",
    "has_more": true
  }
}
```

## Get every page

`/v1/airbnb/search` returns listings a page at a time, and each page costs 1 credit. Pass the response’s `pagination.next_cursor` back as `after` until it runs out.

TypeScript:

```ts
// Collect up to 3 pages of listings.
const first = 'https://api.groundsocial.dev/v1/airbnb/search?location=Lisbon%2C%20Portugal&check_in=2027-03-10&check_out=2027-03-14&adults=2'
const items: unknown[] = []
let cursor: string | undefined
for (let page = 0; page < 3; page++) {
  const url = new URL(first)
  if (cursor) url.searchParams.set('after', cursor)
  const res = await fetch(url, {
    headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
  })
  if (!res.ok) throw new Error((await res.json()).error.hint)
  const data = await res.json()
  items.push(...(data.listings ?? []))
  cursor = data.pagination?.has_more ? data.pagination?.next_cursor : undefined
  if (!cursor) break
}
console.log(items.length, 'listings')
```

Python:

```python
import os, requests

# Collect up to 3 pages of listings.
FIRST = "https://api.groundsocial.dev/v1/airbnb/search?location=Lisbon%2C%20Portugal&check_in=2027-03-10&check_out=2027-03-14&adults=2"
headers = {"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"}
items, cursor = [], None
for page in range(3):
    params = {"after": cursor} if cursor else {}
    res = requests.get(FIRST, params=params, headers=headers)
    res.raise_for_status()
    data = res.json()
    items += data.get("listings") or []
    cursor = (data.get("pagination") or {}).get("next_cursor") if (data.get("pagination") or {}).get("has_more") else None
    if not cursor:
        break
print(len(items), "listings")
```

## What else you can get from Airbnb

| What you get | Endpoint | Credits |
| --- | --- | --- |
| [Stays for a place and dates](https://groundsocial.dev/tutorials/airbnb/search-all/python) | `GET /v1/airbnb/search` | 1 |
| [One listing in full](https://groundsocial.dev/tutorials/airbnb/listing-get/python) | `GET /v1/airbnb/listing` | 1 |
| [Calendar availability](https://groundsocial.dev/tutorials/airbnb/listing-availability/python) | `GET /v1/airbnb/listing/availability` | 2 |
| [A listing’s reviews](https://groundsocial.dev/tutorials/airbnb/listing-reviews/python) | `GET /v1/airbnb/listing/reviews` | 2 |

Each row links to its tutorial. Every Airbnb endpoint and price: [Airbnb API](https://groundsocial.dev/airbnb-api).

## Tips

- Filters include `price_min`/`price_max`, `bedrooms`, `room_type`, `amenities`, `guest_favorite` and `bbox` for a map box.
- Prices come in `currency` (USD by default) for the dates you pass.
- For occupancy research, read a listing’s availability for the coming months on a schedule.

## Use it from Claude or Cursor (MCP)

Every endpoint is also an MCP tool on the remote server `https://api.groundsocial.dev/mcp`. The `?platforms=airbnb` below loads only the Airbnb tools. The client signs in with OAuth, or send your key as a Bearer token. Tools used in this guide: `airbnb_search_all`, `airbnb_listing_get`, `airbnb_listing_availability`, `airbnb_listing_reviews`.

Claude Code:

```bash
claude mcp add --transport http groundsocial "https://api.groundsocial.dev/mcp?platforms=airbnb"
```

Cursor:

```json
{
  "mcpServers": {
    "groundsocial": {
      "url": "https://api.groundsocial.dev/mcp?platforms=airbnb"
    }
  }
}
```

Claude.ai:

```text
Customize → Connectors → + Add → Add custom connector
URL: https://api.groundsocial.dev/mcp?platforms=airbnb
```

> **Then ask** “Find Airbnb stays in Lisbon for 2 adults from 10 to 14 March 2027 under $200 a night with a rating above 4.8.”

Setup for ChatGPT, VS Code, Windsurf, n8n and others: [MCP client setup](https://groundsocial.dev/mcp).

## Pricing

Pay per call from prepaid credits; no subscription. 100 free credits cover the examples on this page. Costs below are at the [credit packs](https://groundsocial.dev/pricing)’ highest and lowest rates.

| Job | Credits | Cost |
| --- | --- | --- |
| 50 search pages | 50 | $0.05 → $0.02 |
| 500 listings with availability | 1,500 | $1.50 → $0.60 |

## FAQ

### Can I book through it?

No. It is read-only public listing data.

### Are failed calls charged?

No. A target that does not exist answers `404 target_not_found`, an upstream failure answers `503`, and neither costs anything. Credits never expire.

### Is Groundsocial official?

No. Groundsocial is an independent API that reads what the platform shows a logged-out visitor. Airbnb is a trademark of its owner. We are not affiliated with or endorsed by it.

## Go deeper

- [Airbnb tutorials: 4 endpoints in six languages](https://groundsocial.dev/tutorials/airbnb)

## Related guides

- [How to get Zillow data](https://groundsocial.dev/guides/how-to-get-zillow-data)
- [How to get Tripadvisor data](https://groundsocial.dev/guides/how-to-get-tripadvisor-data)

Airbnb is a trademark of its owner. We are not affiliated with or endorsed by it.

_Canonical HTML: https://groundsocial.dev/guides/how-to-get-airbnb-data_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Blog](https://groundsocial.dev/blog.md)
- [Tutorials](https://groundsocial.dev/tutorials.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial: Social data in one API call](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Playground](https://groundsocial.dev/playground.md)
- [Use cases](https://groundsocial.dev/use-cases.md)
- [Brand monitoring API](https://groundsocial.dev/use-cases/brand-monitoring-api.md)
- [Social listening API](https://groundsocial.dev/use-cases/social-listening-api.md)
- [Comment scraping API](https://groundsocial.dev/use-cases/comment-scraping-api.md)
- [Influencer discovery API](https://groundsocial.dev/use-cases/influencer-discovery-api.md)
- [Video transcript API](https://groundsocial.dev/use-cases/video-transcript-api.md)
- [Ad library API](https://groundsocial.dev/use-cases/ad-library-api.md)
- [Review monitoring API](https://groundsocial.dev/use-cases/review-monitoring-api.md)
- [Trend detection API](https://groundsocial.dev/use-cases/trend-detection-api.md)
- [Social lead generation API](https://groundsocial.dev/use-cases/lead-generation-api.md)
- [Market research API](https://groundsocial.dev/use-cases/market-research-api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Guides","item":"https://groundsocial.dev/guides"},{"@type":"ListItem","position":3,"name":"How to get Airbnb data","item":"https://groundsocial.dev/guides/how-to-get-airbnb-data"}]}
```
