# Despegar Hotel Scraper – Prices, Rates & Availability (`knagymate/despegar-scraper`) Actor

Scrape Despegar and Decolar hotel prices, rates and availability for any destination and dates. Get price per night, total price, discounts, free cancellation, stars, guest rating, address, GPS and photos from 17 Latin American sites. Filter like on Despegar. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/knagymate/despegar-scraper.md
- **Developed by:** [knagymate](https://apify.com/knagymate) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Despegar Hotel Scraper – Prices, Rates & Availability

Scrape **Despegar hotel prices, rates and availability** for any destination and any travel dates. This **Despegar scraper** returns every hotel, apartment and vacation rental in the search results with its **price per night**, **total price**, **original price and discount**, **free cancellation** and **pay-at-property** options, star rating, guest review score, address, GPS coordinates and photos, from **17 Despegar and Decolar country sites** in their local currencies and languages.

Filter the search just like on Despegar: **total price range**, **stars**, **guest rating**, **property type**, **free cancellation**, **breakfast**, **services** (pool, parking, pet friendly…), **discounts** and **property name**, with any number of rooms, adults and children.

Use it as a **Despegar API alternative** for hotel price monitoring, rate shopping, market research and travel apps. No Despegar login, no API key, no browser: results are fast and cheap, and you can download them as **JSON, CSV, Excel** or pull them through the **Apify API**.

Despegar (Decolar in Brazil) is the largest online travel agency in Latin America, which makes it the go-to source for hotel prices in Buenos Aires, São Paulo, Rio de Janeiro, Cancún, Mexico City, Bogotá, Santiago, Lima, Bariloche and beyond.

***

### What Despegar data can you scrape?

| Data point | Example |
|---|---|
| 🏨 Property name and ID | `GrandView Hotel & Convention Center`, `6609496` |
| 🔗 Link to the property page on Despegar | `https://www.us.despegar.com/accommodations/detail/6609496/2026-12-08/2026-12-10/2` |
| 🏷️ Category and property type | `hotel` / `vacation_rental`, `Boutique hotel`, `Apartment` |
| 💲 **Price per night** (as displayed, see `taxInfo`) | `178` |
| 💰 **Total price for the stay** | `356` |
| 🏷️ **Original (crossed-out) price and discount %** | `548`, `35` |
| 💱 Price currency of the country site | `USD`, `ARS`, `BRL`, `MXN`, `COP`, `CLP` |
| ✅ **Free cancellation and pay-at-property** options | `true` / `false` |
| ⭐ Star rating | `4` |
| 💬 Guest review score, rating label and review count | `8.0`, `Comfortable`, `960` |
| 🛎️ Main services | `Pool`, `Gym / Fitness center`, `Free Wi-Fi in common areas` |
| 🏠 Vacation rental details | `4 people`, bedrooms, bathrooms, size |
| 📍 Address, neighborhood, GPS coordinates and distance from downtown | `Azcuenaga 45`, `Once`, `-34.6091`, `1.07 mi from downtown` |
| 🖼️ Main photo and all photo URLs | `https://media.staticontent.com/media/pictures/…` |
| 🗓️ Search details: dates, nights, rooms, guests, country site and scrape time | `2026-12-08`, `2`, `2` |

Need the review texts too? Use the companion **[Despegar Reviews Scraper](https://apify.com/knagymate/despegar-reviews-scraper)**.

***

### How to scrape Despegar hotels

1. Open the [Despegar Hotel Scraper](https://apify.com/knagymate/despegar-scraper) and click **Try for free**.
2. Type a **destination**: a city (`Cancun`), a neighborhood (`Palermo`), a landmark or an airport.
3. Pick the **country site** (it sets the currency and language), your **dates**, **rooms**, **adults** and **children's ages**. Without dates the Actor searches a 1-night stay 7 days from today.
4. Optionally choose a **sort order** and **filters**: total price, stars, guest rating, category and property type, free cancellation, payment, meal plan, services, discounts or property name.
5. Click **Start** and download the Despegar data as JSON, CSV, Excel, XML or HTML.

#### Input example

```json
{
  "search": "Buenos Aires",
  "countrySite": "US",
  "checkIn": "2026-12-23",
  "checkOut": "2026-12-25",
  "rooms": 1,
  "adults": 2,
  "childrenAges": [7],
  "sortBy": "price_low_to_high",
  "starRating": ["4", "5"],
  "minReviewScore": "8",
  "freeCancellation": true,
  "maxItems": 200
}
```

#### Input parameters

| Field | Type | Description |
|---|---|---|
| **Destination** | | |
| `search` | string | City, neighborhood, landmark or airport, as typed into the Despegar search box **(required)** |
| `maxItems` | integer | Maximum number of properties to scrape (default `100`) |
| `countrySite` | string | Despegar country site: `US`, `AR`, `BR` (Decolar), `MX`, `CO`, `CL`, `PE`, `UY`, `EC`, `BO`, `PY`, `CR`, `PA`, `GT`, `SV`, `NI`, `VE` (default `US`). Sets the currency and language |
| **📅 Dates & guests** | | |
| `checkIn` | string | Check-in date, `YYYY-MM-DD`, today or later. Leave both dates empty for a 1-night stay 7 days from today |
| `checkOut` | string | Check-out date, `YYYY-MM-DD`, after the check-in date |
| `rooms` | integer | Number of rooms, 1–8 (default `1`) |
| `adults` | integer | Number of adults, at least one per room, spread evenly over the rooms (default `2`) |
| `childrenAges` | array | Age of each child, 0–17, e.g. `[3, 7]` (default `[]`) |
| **🔍 Filters & sorting** | | |
| `sortBy` | string | `recommended`, `price_low_to_high`, `price_high_to_low`, `review_score`, `stars_high_to_low`, `stars_low_to_high` |
| `includeNearbyAreas` | boolean | Keep Despegar's widened search (e.g. "Buenos Aires and surroundings"); `false` searches only the destination (default `true`) |
| `accommodationCategory` | string | `all`, `hotel` or `vacation_rental` (default `all`) |
| `propertyTypes` | array | `hotel`, `boutique_hotel`, `apart_hotel`, `apartment`, `house`, `hostel`, `bed_and_breakfast`, `inn`, `villa`, `residential_condominium` |
| `minTotalPrice` / `maxTotalPrice` | integer | Price range for the whole stay, in the currency of the country site |
| `starRating` | array | Any of `1`–`5` |
| `minReviewScore` | string | `any`, `6`, `7`, `8` or `9` (score out of 10) |
| `freeCancellation` | boolean | Only properties with free cancellation (default `false`) |
| `paymentType` | string | `any`, `pay_at_property` or `pay_online` (default `any`) |
| `mealPlans` | array | `breakfast`, `room_only` |
| `amenities` | array | Properties with **all** of: `parking`, `pool`, `pet_friendly`, `kids`, `accessibility`, `transfer` |
| `discount` | string | `any`, `all` (any discount), `20` (from 20% off), `50` (from 50% off) |
| `propertyName` | string | Only properties whose name contains this text, e.g. `Hilton` |

***

### Output example

Each dataset item is one Despegar property (the `images` list is shortened here):

```json
{
  "propertyId": "6609496",
  "name": "GrandView Hotel & Convention Center",
  "url": "https://www.us.despegar.com/accommodations/detail/6609496/2026-12-08/2026-12-10/2-3-7",
  "accommodationCategory": "hotel",
  "propertyType": "Hotel",
  "image": "https://media.staticontent.com/media/pictures/1e2b434e-3cb1-4ca3-860d-8701e10588b4",
  "images": ["https://media.staticontent.com/media/pictures/1e2b434e-3cb1-4ca3-860d-8701e10588b4"],
  "address": {
    "street": "Azcuenaga 45",
    "zone": "Once",
    "city": "Buenos Aires",
    "country": "Argentina",
    "countryCode": "AR"
  },
  "location": { "latitude": -34.60914, "longitude": -58.40034 },
  "distanceFromCenter": "1.07 mi from downtown",
  "searchArea": "Buenos Aires and surroundings",
  "stars": 4.0,
  "reviewScore": 8.0,
  "reviewScoreText": "Comfortable",
  "reviewCount": 960,
  "amenities": ["Pool", "Free Wi-Fi in common areas", "Gym / Fitness center"],
  "guestsCapacity": null,
  "bedrooms": null,
  "bathrooms": null,
  "size": null,
  "pricePerNight": 178.0,
  "totalPrice": 356.0,
  "originalPricePerNight": 274.0,
  "originalTotalPrice": 548.0,
  "discountPercent": 35.0,
  "priceCurrency": "USD",
  "priceDescription": "2 nights, 4 people",
  "taxInfo": "Taxes included",
  "freeCancellation": true,
  "payAtProperty": true,
  "isRecommendedDeal": true,
  "position": 1,
  "checkIn": "2026-12-08",
  "checkOut": "2026-12-10",
  "nights": 2,
  "rooms": 1,
  "adults": 2,
  "childrenAges": [3, 7],
  "countrySite": "US",
  "scrapedAt": "2026-11-23T18:18:04Z"
}
```

#### Output fields

| Field | Type | Description |
|---|---|---|
| `propertyId` | string | Unique Despegar property ID |
| `name` | string | Property name |
| `url` | string | Link to the property page on the selected country site, for your dates and guests |
| `accommodationCategory` | string | `hotel` or `vacation_rental` |
| `propertyType` | string | Property type, e.g. `Hotel`, `Boutique hotel`, `Apartment`, `Hostel` |
| `image` | string | URL of the main photo |
| `images` | array | URLs of all photos shown in the search results |
| `address` | object | `street`, `zone` (neighborhood), `city`, `country` and `countryCode` |
| `location` | object | `latitude` and `longitude` |
| `distanceFromCenter` | string | Distance from downtown, as shown on Despegar (miles or km depending on the site) |
| `searchArea` | string | The wider area Despegar searched, e.g. `Buenos Aires and surroundings`; `null` when the search was not widened |
| `stars` | number | Star rating, 1–5; `null` for vacation rentals and unrated properties |
| `reviewScore` | number | Guest review score out of 10; `null` without reviews |
| `reviewScoreText` | string | Rating label, e.g. `Very good`, in the site language |
| `reviewCount` | integer | Number of guest reviews |
| `amenities` | array | Main services highlighted in the search results |
| `guestsCapacity` | string | Vacation rentals: how many guests fit, e.g. `4 people` |
| `bedrooms` | string | Vacation rentals: number of bedrooms, as shown |
| `bathrooms` | string | Vacation rentals: number of bathrooms, as shown |
| `size` | string | Vacation rentals: size of the unit, as shown |
| `pricePerNight` | number | Price per night for all rooms and guests, as displayed on the site |
| `totalPrice` | number | Price of the whole stay for all rooms and guests, as displayed on the site |
| `originalPricePerNight` | number | Crossed-out price per night before the discount; `null` without a discount |
| `originalTotalPrice` | number | Crossed-out price of the whole stay before the discount; `null` without a discount |
| `discountPercent` | number | Discount in percent; `null` without a discount |
| `priceCurrency` | string | Currency of all prices, set by the country site (e.g. `USD`, `ARS`, `BRL`) |
| `priceDescription` | string | What the price covers, e.g. `2 nights, 4 people` |
| `taxInfo` | string | The site's note about taxes, e.g. `Taxes included` |
| `freeCancellation` | boolean | `true` if the property has a free cancellation option |
| `payAtProperty` | boolean | `true` if you can reserve now and pay at the property |
| `isRecommendedDeal` | boolean | `true` if Despegar highlights the offer as a recommended deal |
| `position` | integer | Rank of the property in the search results, starting at 1 |
| `checkIn` | string | Searched check-in date, `YYYY-MM-DD` |
| `checkOut` | string | Searched check-out date, `YYYY-MM-DD` |
| `nights` | integer | Number of nights |
| `rooms` | integer | Number of rooms searched |
| `adults` | integer | Number of adults searched |
| `childrenAges` | array | Ages of the children searched |
| `countrySite` | string | Country site the data comes from, e.g. `US`, `AR`, `BR` |
| `scrapedAt` | string | Time of scraping, ISO 8601 UTC |

***

### Despegar API alternative

Despegar has no public API for hotel search results; its affiliate and partner programs are only open to selected businesses. This Actor works as an **unofficial Despegar API** and **Decolar API**: send a destination and dates, get structured hotel prices, discounts and availability back as JSON.

You can call it from any language through the [Apify API](https://docs.apify.com/api/v2), use the [Python](https://docs.apify.com/api/client/python) or [JavaScript](https://docs.apify.com/api/client/js) client, or run it synchronously and receive the dataset in the same HTTP response.

***

### Monitor Despegar hotel prices

Hotel prices on Despegar change several times a day, especially around holidays, Black Friday and the end-of-year season. Typical **price monitoring** workflows:

- 📉 **Lowest price in a city** – sort by `price_low_to_high` and track `totalPrice` for your target dates.
- 🏷️ **Discount tracking** – use `discount` to collect offers with 20% or 50% off and watch `discountPercent` and `originalTotalPrice`.
- 🏨 **Competitor rate shopping** – filter by `propertyName`, `starRating` and `propertyTypes` to follow the hotels you compete with.
- 🗓️ **Price history** – save the Actor as a [task](https://docs.apify.com/platform/actors/running/tasks), [schedule](https://docs.apify.com/platform/schedules) it daily and build a price history per `propertyId`.
- 🌎 **Cross-country price parity** – run the same destination on several `countrySite` values and compare local prices.

Tip: when you schedule a run, pass fresh dates through the API or update the task input so you always scrape future dates.

***

### Scrape Decolar and every Despegar country site

Despegar runs a separate site for each Latin American country, and Decolar.com is its Brazilian brand. Choose the site with `countrySite`: the results come in that site's currency (for example `ARS` in Argentina, `BRL` on Decolar, `MXN` in Mexico) and language, exactly as local travelers see them. The `US` site returns English texts and USD prices.

### Hotels, apartments and vacation rentals

Despegar lists hotels and vacation rentals in the same search. Set `accommodationCategory` to `hotel` or `vacation_rental`, or pick exact `propertyTypes` such as `apartment`, `house` or `hostel`. Vacation rentals also come with `guestsCapacity`, `bedrooms`, `bathrooms` and `size` when Despegar shows them.

***

### Use cases

- 🏨 **Hotels and revenue managers** – compare your rates with competitors on Latin America's largest OTA.
- ✈️ **Travel agencies and tour operators** – find the best-priced hotels for packages and group trips.
- 📈 **Market research and investors** – measure average prices, supply and ratings by city, neighborhood and property type.
- 🏠 **Vacation rental hosts** – benchmark apartments and houses near yours.
- 🧳 **Travel apps and deal sites** – feed live Despegar prices and discounts into your product.
- 📊 **Data and AI projects** – hotel datasets for analytics, dashboards, LLM agents and RAG.

***

### How much does it cost to scrape Despegar?

The Actor uses **pay-per-result** pricing: you pay only for the properties you get, plus a tiny start fee per run. On the Free plan a result costs **$0.004**, which means about **$4 per 1,000 hotels**; on Apify Gold and higher plans it drops to **$1.50 per 1,000 hotels**. The $5 free monthly Apify credit covers about 1,000 Despegar hotels.

***

### Integrations

Connect the Despegar Hotel Scraper to almost any tool:

- **Make, Zapier, n8n** – send new prices to Google Sheets, Slack, Airtable or your CRM.
- **Webhooks** – trigger your own backend when a run finishes.
- **Apify API and clients** – Python, JavaScript or plain HTTP.
- **AI agents and MCP** – use the Actor as a tool through the [Apify MCP server](https://mcp.apify.com) in Claude, Cursor and other MCP clients.

***

### Related scrapers

- [Despegar Reviews Scraper](https://apify.com/knagymate/despegar-reviews-scraper) – scrape Despegar hotel reviews, ratings and reviewer details.
- [Agoda Hotel Scraper](https://apify.com/knagymate/fast-agoda-scraper) – hotel prices and availability from Agoda.
- [Trip.com Reviews Scraper](https://apify.com/knagymate/trip-com-reviews-scraper) – reviews from Trip.com hotels.

***

### FAQ

#### Can I use this Despegar scraper as a Despegar API?

Yes. Despegar doesn't offer a public search API, so developers use this Actor as a **Despegar API alternative**: it returns structured prices, availability and ratings as JSON through the Apify API.

#### Does it work for Decolar.com?

Yes. Set `countrySite` to `BR` to scrape Decolar, Despegar's Brazilian site, with prices in BRL and texts in Portuguese.

#### Can I search a neighborhood, landmark or airport instead of a whole city?

Yes. Type it into `search` (e.g. `Palermo`, `Copacabana` or `Ezeiza airport`); the Actor picks Despegar's best matching destination and logs it. Despegar sometimes widens a city search to the surrounding region; set `includeNearbyAreas` to `false` to stay within the destination.

#### Can I filter by price, stars, rating or free cancellation?

Yes. Use `minTotalPrice` / `maxTotalPrice`, `starRating`, `minReviewScore`, `freeCancellation`, `paymentType`, `mealPlans`, `amenities`, `discount`, `accommodationCategory`, `propertyTypes` and `propertyName`. Filters can be combined.

#### How do I search for several rooms or children?

Set `rooms`, `adults` and `childrenAges`. Despegar prices children by age, so list each child's age, e.g. `[4, 10]`. Adults and children are spread over the rooms in turn.

#### Which currencies and languages are supported?

The currency and language come from the country site: USD and English on `US`, ARS in Argentina, BRL and Portuguese on Decolar Brazil, MXN in Mexico, COP in Colombia, CLP in Chile, and the local currency (or USD where the site uses it) on the other sites.

#### Are taxes included in the prices?

The prices are exactly what Despegar displays in the search results. The `taxInfo` field contains the site's own note, for example `Taxes included`; local taxes paid at the property may come on top on some sites.

#### Does it return sold-out hotels?

No. Despegar only lists properties that are available for your dates and guests, so every result can be booked at the given price.

#### Does it scrape Despegar reviews?

This Actor returns the review score, label and review count of each property. For the full review texts use the [Despegar Reviews Scraper](https://apify.com/knagymate/despegar-reviews-scraper).

#### How often is Despegar data updated?

Every run fetches live data from Despegar, so prices and availability are current at the time of the run. Schedule the Actor to build a price history.

#### Is it legal to scrape Despegar?

Scraping publicly available data is generally legal, but personal data is protected by GDPR in the European Union and by other regulations worldwide. Don't scrape personal data unless you have a legitimate reason; if you're unsure, consult your lawyers. Read more in our blog post: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### I found a bug or need a new feature

Open an issue in the **Issues** tab of the Actor. Feature requests are welcome.

# Actor input Schema

## `search` (type: `string`):

City, neighborhood, landmark or airport, as you would type it into the Despegar search box, e.g. Buenos Aires, Cancun, Rio de Janeiro or Palermo.

## `maxItems` (type: `integer`):

Maximum number of properties to scrape.

## `countrySite` (type: `string`):

Despegar country site to search. It sets the currency (e.g. USD on the US site, ARS in Argentina, BRL on Decolar Brazil) and the language of the results.

## `checkIn` (type: `string`):

Check-in date, YYYY-MM-DD. Leave both dates empty to search a 1-night stay 7 days from today.

## `checkOut` (type: `string`):

Check-out date, YYYY-MM-DD, later than the check-in date.

## `rooms` (type: `integer`):

Number of rooms to book (1–8).

## `adults` (type: `integer`):

Number of adults, at least one per room. Adults are spread evenly over the rooms.

## `childrenAges` (type: `array`):

Age of each child (0–17), e.g. \[3, 7] for two children. Despegar prices children by age. Leave empty for no children.

## `sortBy` (type: `string`):

Order of the results, as on Despegar's search page.

## `includeNearbyAreas` (type: `boolean`):

Despegar widens some city searches to the surrounding region (e.g. 'Buenos Aires and surroundings'). Turn this off to search only the selected destination.

## `accommodationCategory` (type: `string`):

Only hotels or only vacation rentals (apartments, houses).

## `propertyTypes` (type: `array`):

Only properties of any of these types. Leave empty for all types.

## `minTotalPrice` (type: `integer`):

Lowest price for the whole stay, in the currency of the country site.

## `maxTotalPrice` (type: `integer`):

Highest price for the whole stay, in the currency of the country site.

## `starRating` (type: `array`):

Only properties with any of these star ratings.

## `minReviewScore` (type: `string`):

Only properties with at least this guest review score (out of 10).

## `freeCancellation` (type: `boolean`):

Only properties with a free cancellation option.

## `paymentType` (type: `string`):

Only properties that can be paid at the property, or online.

## `mealPlans` (type: `array`):

Only properties offering any of these meal plans.

## `amenities` (type: `array`):

Only properties offering all of these services.

## `discount` (type: `string`):

Only discounted offers.

## `propertyName` (type: `string`):

Only properties whose name contains this text, e.g. Hilton.

## Actor input object example

```json
{
  "search": "Buenos Aires",
  "maxItems": 100,
  "countrySite": "US",
  "checkIn": "",
  "checkOut": "",
  "rooms": 1,
  "adults": 2,
  "childrenAges": [],
  "sortBy": "recommended",
  "includeNearbyAreas": true,
  "accommodationCategory": "all",
  "propertyTypes": [],
  "starRating": [],
  "minReviewScore": "any",
  "freeCancellation": false,
  "paymentType": "any",
  "mealPlans": [],
  "amenities": [],
  "discount": "any"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "checkIn": "",
    "checkOut": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("knagymate/despegar-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "checkIn": "",
    "checkOut": "",
}

# Run the Actor and wait for it to finish
run = client.actor("knagymate/despegar-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "checkIn": "",
  "checkOut": ""
}' |
apify call knagymate/despegar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,knagymate/despegar-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/c8ZeihngTnomDlFyM/builds/lWt2Us38spRmmVTIz/openapi.json
