# Despegar Scraper | Hotels Flights Packages LatAm (`lentic_clockss/despegar-scraper`) Actor

Scrape Despegar LatAm hotels, flights, suggestions & packages. Extract prices, ratings, hotel IDs & offer URLs across AR/MX/CO and more. Export Excel/CSV/JSON. Unofficial — not affiliated with Despegar.

- **URL**: https://apify.com/lentic\_clockss/despegar-scraper.md
- **Developed by:** [kane liu](https://apify.com/lentic_clockss) (community)
- **Categories:** Travel, Lead generation, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.20 / 1,000 results

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

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Despegar Scraper — Hotels, Flights & Packages (LatAm)

**Scrape Despegar hotel search, hotel detail, flight search, destination suggestions, and packages SEO pages across Latin American Despegar sites — then download structured results as Excel, CSV, or JSON.**

Use this Actor as a practical **Despegar hotels / flights data API** for LatAm price monitoring, OTA competitive research, and travel lead enrichment. Pick a country site (default `despegar.com.ar`), choose a mode, enter a destination or route, and get Dataset rows with names, prices, scores, product URLs, and trip metadata.

- Scrape **Despegar hotel search** by city / destination (with optional hotel-detail enrichment)
- Collect **flight search** offers (one-way / round-trip style routes)
- Resolve destinations via **suggestions** (GID lookup)
- Pull **packages SEO** landing signals where supported
- Cover LatAm hosts such as **Argentina, Mexico, Colombia, Chile, Brazil, Peru, Ecuador, Uruguay**
- Export to **Excel / CSV / JSON**, or connect Make, n8n, Zapier, Python, or the Apify API
- **Pay per event** — Actor start + each Dataset result; **platform usage is included** (you do not pay separate Apify compute on top)

> **Unofficial tool.** This Actor is not affiliated with, endorsed by, or sponsored by Despegar.com Corp or Despegar brand sites. It collects publicly reachable shopping / SEO surfaces and does **not** complete bookings or access private accounts.

***

### What does the Despegar Scraper do?

Despegar Scraper lets you **extract structured travel inventory from Despegar LatAm OTAs** without operating your own anti-bot browser fleet. Give it a destination (for example `Buenos Aires`), dates, and a mode, then start a run.

Under the hood, the Actor:

1. Validates your input (mode, country site, destination / route, dates, enrichment flags)
2. Enforces free-tier caps when you are on a free Apify plan
3. Calls a managed Cloud Run worker (`despegar-com`) that opens shopping pages with residential egress
4. Parses guest-visible hotel / flight / suggestion / packages signals into normalized records
5. Pushes Dataset rows ready for Excel / CSV / JSON export
6. Writes `RUN_SUMMARY` (and `ERROR_SUMMARY` on failure) to the key-value store

You run it like any other Apify Actor — schedule it, call it from the API, or plug it into automations.

***

### What Despegar data can I extract?

| Data | Suggestions | Hotels search | Hotel detail\* | Flights search | Packages SEO |
| --- | :---: | :---: | :---: | :---: | :---: |
| Destination / GID / display | ✅ | ✅ | — | — | ✅ |
| Hotel name / hotelId | — | ✅ | ✅ | — | — |
| Price text / currency | — | ✅ | ✅ | ✅ | ✅ |
| Score / rating signals | — | ✅ | ✅ | — | — |
| Product / offer URL | — | ✅ | ✅ | ✅ | ✅ |
| Check-in / check-out | — | ✅ | ✅ | — | — |
| Origin / destination / trip type | — | — | — | ✅ | ✅ |
| Country site | ✅ | ✅ | ✅ | ✅ | ✅ |

\*Enable `enrichDetails` (+ `maxDetailHotels`) to visit a bounded number of hotel detail pages after search.

**Not shipped as successful scrapes (schema waivers):** `cars`, `transfers`, `activities` — selecting these returns a clear failure instead of fake empty success.

***

### Why scrape Despegar?

Despegar is one of the largest online travel platforms in Latin America. Teams scrape Despegar to:

- Monitor **hotel prices and availability** by city and stay dates
- Compare **flight offer signals** for popular LatAm routes
- Enrich catalogs with **destination GIDs** from suggestions
- Track **packages SEO** landing content for market research
- Feed BI dashboards, pricing tools, or AI agents with structured LatAm OTA rows

Compared with Despegar Actors that only collect **hotel reviews** or a single-country hotel SERP, this Actor covers **hotels + flights + suggestions + packages SEO** across multiple LatAm country sites in one input surface.

***

### More Actors like this

Need another travel OTA or a different vertical? Use a **dedicated Actor** below for structured fields. Use this Actor for **Despegar LatAm** hotels, flights, suggestions, and packages.

#### Similar travel & stays Actors

- [Booking.com Hotels Scraper](https://apify.com/lentic_clockss/booking-hotels-scraper)
- [Airbnb Listings Scraper](https://apify.com/lentic_clockss/airbnb-listings-scraper)
- [Expedia Scraper](https://apify.com/lentic_clockss/expedia-scraper)
- [Booking.com & Airbnb Scraper](https://apify.com/lentic_clockss/booking-airbnb-scraper)
- [Agoda Scraper](https://apify.com/lentic_clockss/agoda-scraper)
- [Trip.com Scraper](https://apify.com/lentic_clockss/trip-com-scraper)
- [Traveloka Scraper](https://apify.com/lentic_clockss/traveloka-scraper)
- [Travelstart Flights Scraper](https://apify.com/lentic_clockss/travelstart-scraper)
- [TripAdvisor Scraper](https://apify.com/lentic_clockss/tripadvisor-scraper)

#### Prefer another specialized scraper?

If your target has a specialized Actor below, use that first — usually cheaper and more structured than a generic scrape.

**Jobs & Freelance**

- [LinkedIn Jobs Scraper](https://apify.com/lentic_clockss/linkedin-jobs-scraper)
- [Indeed Jobs Scraper](https://apify.com/lentic_clockss/indeed-jobs-scraper)
- [Upwork Jobs Scraper](https://apify.com/lentic_clockss/upwork-jobs-scraper)
- [Glassdoor Scraper](https://apify.com/lentic_clockss/glassdoor-scraper)
- [Fiverr Gigs Scraper](https://apify.com/lentic_clockss/fiverr-programming-tech-gigs-scraper)
- [Bayt Jobs Scraper](https://apify.com/lentic_clockss/bayt-scraper)

**E-commerce**

- [Walmart Product Scraper](https://apify.com/lentic_clockss/walmart-scraper)
- [Amazon Search Scraper](https://apify.com/lentic_clockss/amazon-search-results-collector)
- [Shopee Search Scraper](https://apify.com/lentic_clockss/shopee-search-scraper)
- [Etsy Scraper](https://apify.com/lentic_clockss/etsy-scraper)
- [SHEIN Product Scraper](https://apify.com/lentic_clockss/shein-scraper)
- [Temu Product Scraper](https://apify.com/lentic_clockss/temu-scraper)
- [Mercari Japan Scraper](https://apify.com/lentic_clockss/mercari-scraper)
- [Allegro Scraper](https://apify.com/lentic_clockss/allegro-scraper)

**Real Estate**

- [Zillow & Zumper Scraper](https://apify.com/lentic_clockss/us-real-estate-scraper)
- [Realtor.com Scraper](https://apify.com/lentic_clockss/realtor-com-scraper)
- [Apartments.com Rental Scraper](https://apify.com/lentic_clockss/apartments-com-rental-scraper)
- [Rightmove Scraper](https://apify.com/lentic_clockss/rightmove-property-scraper)
- [Idealista Scraper](https://apify.com/lentic_clockss/idealista-scraper)
- [realestate.com.au Scraper](https://apify.com/lentic_clockss/realestate-com-au-scraper)

**Social & Content**

- [YouTube Research Scraper](https://apify.com/lentic_clockss/youtube-research-scraper)
- [TikTok Scraper](https://apify.com/lentic_clockss/tiktok-scraper)
- [Reddit Scraper](https://apify.com/lentic_clockss/reddit-scraper)
- [YouTube Shorts Scraper](https://apify.com/lentic_clockss/youtube-shorts-scraper)

**Ads Intelligence**

- [Facebook Ad Library Scraper](https://apify.com/lentic_clockss/facebook-ad-library-scraper)
- [TikTok Ads Scraper](https://apify.com/lentic_clockss/tiktok-ads-top-ads-actor)

**Local & Maps**

- [Google Maps Scraper](https://apify.com/lentic_clockss/google-maps-scraper)

**General Tools**

- [Stealth Web Scraper](https://apify.com/lentic_clockss/stealth-web-scraper)
- [Email Risk Validator](https://apify.com/lentic_clockss/email-risk-validator)
- [Phone Number Intelligence](https://apify.com/lentic_clockss/phone-number-intelligence)

→ See the full catalog in [Related Actors](#related-actors) below, or browse [apify.com/lentic\_clockss](https://apify.com/lentic_clockss).

***

### How to scrape Despegar (no code required)

1. Create a free [Apify](https://apify.com/) account
2. Open [Despegar Scraper](https://apify.com/lentic_clockss/despegar-scraper)
3. Choose a **mode**: `hotelsSearch` (default), `hotelDetail`, `flightsSearch`, `suggestions`, or `packagesSeo`
4. Choose a **country site** (default `despegar.com.ar`)
5. Enter a **query** / destination (hotels) or **origin + destination** (flights)
6. *(Optional)* Set `checkin` / `checkout`, `enrichDetails`, or `destinationGid`
7. Click **Start** and download the Dataset as JSON, CSV, Excel, or JSONL

Start with `maxResults: 5–10` to verify the query, then scale up.

***

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

This Actor uses **pay-per-event** pricing. You are charged for:

| Event | Price |
| --- | --- |
| Actor Start (`apify-actor-start`) | **$0.005** per start |
| Result (`apify-default-dataset-item`) | **$3.00 / 1,000** results (**$0.003** each) |

**Platform usage costs are included** — you do **not** pay separate Apify compute/proxy usage for this Actor on top of the event prices above.

#### Example cost estimates

| Results collected | Approx. event cost\* |
| --- | ---: |
| 100 | ~$0.31 |
| 1,000 | ~$3.01 |
| 10,000 | ~$30.01 |

\*Assumes one Actor start at default memory billing for start events, plus `$0.003` per Dataset item. Exact start billing can scale with allocated memory (one start event per GB, minimum one).

Free Apify trial credit can cover a small test run — try `maxResults: 5` first.

#### Free-tier caps (Actor developer limits)

| Cap | Value |
| --- | --- |
| Free Apify-plan runs of this Actor | **10** total |
| Free results / run | **200** |
| Paying Apify users | Unlimited runs (schema max still applies) |

These limits are enforced in Actor code (set by the Actor developer, not Apify). When the run cap is hit, the Actor finishes successfully with `RUN_SUMMARY.status = FREE_TIER_LIMIT` and a clear status message.

***

### Input

Open the **Input** tab for the full form. Common fields:

| Field | Description |
| --- | --- |
| `mode` | `suggestions`, `hotelsSearch`, `hotelDetail`, `flightsSearch`, `packagesSeo` (plus unsupported waivers) |
| `countrySite` | LatAm host such as `despegar.com.ar` (default), `.mx`, `.co`, `.cl`, `.br`, `.pe`, `.ec`, `.uy` |
| `query` | City / place text for suggestions or hotel search |
| `destinationGid` | Optional Despegar GID (e.g. `CIT_982`) to skip suggestions lookup |
| `hotelId` | Required for `hotelDetail` |
| `checkin` / `checkout` | Stay dates (`YYYY-MM-DD`) |
| `origin` / `destination` | Flight / packages route fields |
| `tripType` | `roundtrip` or `oneway` for flights |
| `maxResults` | Cap on emitted Dataset rows |
| `enrichDetails` | Enrich hotel search hits with detail pages |
| `maxDetailHotels` | Bounded detail enrichment count |
| `workerBaseUrl` | Advanced allowlisted worker override (optional) |

#### Input example

```json
{
  "mode": "hotelsSearch",
  "countrySite": "despegar.com.ar",
  "query": "Buenos Aires",
  "checkin": "2026-08-20",
  "checkout": "2026-08-24",
  "maxResults": 20,
  "enrichDetails": false
}
```

***

### Output

Each Dataset item includes mode / site metadata plus fields such as:

| Field | Description |
| --- | --- |
| `mode` / `countrySite` | Collection mode and Despegar host |
| `name` / `title` / `display` | Hotel, offer, or suggestion label |
| `hotelId` / `gid` | Despegar identifiers when present |
| `priceText` / `currency` / `score` | Pricing and rating signals |
| `productUrl` | Public product / offer URL |
| `origin` / `destination` | Route fields for flights / packages |
| `checkin` / `checkout` | Stay dates |
| `capturedAt` | Capture timestamp |

Field presence depends on mode and what the public page exposes for that run.

***

### Coverage matrix

| Dimension | Coverage |
| --- | --- |
| Country sites | `despegar.com.ar` (default) + MX / CO / CL / BR / PE / EC / UY hosts in schema |
| Modes shipped | `suggestions` · `hotelsSearch` · `hotelDetail` · `flightsSearch` · `packagesSeo` |
| Waivers | `cars` / `transfers` / `activities` — clear error only (no fake success) |

**Notes:** SEO paths like `/hoteles/hl|h-` are marketing landings and are **not** the same as priced shopping SERP/PDP. Prefer shopping modes (`hotelsSearch` / `hotelDetail`) for offer-like prices.

***

### Architecture and proxy ownership

```text
Apify Actor (input, Dataset, free tier, Standby, PPE)
        │ HTTPS + WORKER_AUTH
        ▼
Cloud Run worker despegar-com (Patchright session, parse, OpenAPI)
        ▼
Despegar LatAm public shopping / SEO pages
```

`WORKER_PROVIDES_PROXY=1` is enabled by default. The Actor does not mint or transmit `proxyUrl`; proxy/egress is configured on the worker (including egress-control). Set `WORKER_BASE_URL` and secret `WORKER_AUTH` in Actor settings.

Default run memory: **1024 MB** (min 512).

***

### Run artifacts

| Key | Purpose |
| --- | --- |
| `INPUT_ECHO` | Normalized non-secret input and resolved worker source |
| `RUN_SUMMARY` | Worker, proxy source, free-tier, and record metrics |
| `ERROR_SUMMARY` | Structured failure before valid records are emitted |

***

### Integrations & API

- Schedule recurring Despegar hotel / flight pulls from Apify Console
- Call the Actor from Python, Node.js, or `curl` via the [Apify API](https://docs.apify.com/api/v2)
- Connect to Make, n8n, Zapier, Google Sheets, or your BI stack

#### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/lentic_clockss~despegar-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "hotelsSearch",
    "countrySite": "despegar.com.ar",
    "query": "Buenos Aires",
    "maxResults": 20
  }'
```

***

### FAQ

#### Is login required?

No. The Actor targets publicly reachable shopping / SEO surfaces via the managed worker.

#### Can it book hotels or flights?

No. Booking, payment, and account flows are intentionally excluded.

#### Why is my SEO hotel URL different from search results?

Despegar SEO hotel landings (`/hoteles/hl|h-`) are not the same stack as priced accommodations shopping results. Use `hotelsSearch` / `hotelDetail` for offer-oriented extraction.

#### Do cars, transfers, or activities work?

Not yet. Those modes are schema placeholders and fail with an explicit unsupported-mode error.

#### Do I pay Apify platform usage separately?

No for this Actor’s configured PPE plan — **User pays platform usage costs = No**. You pay the event prices above; platform usage is covered by the Actor developer.

***

### Legal & responsible use

Use this Actor only for lawful purposes and in line with Despegar terms and applicable laws. You are responsible for how you store and use the data. Prefer low-volume smoke inputs first (`maxResults: 2–5`).

***

### Support

Questions or feature requests: open an issue on the Actor page in Apify Console or contact the developer through Apify.

***

### Related Actors

All **77** public Actors from \[[lentic\_clockss](https://apify.com/lentic_clockss)]. Click a name to open the Store detail page.

#### Jobs & Freelance

- [LinkedIn Jobs Scraper](https://apify.com/lentic_clockss/linkedin-jobs-scraper)
- [Bayt Jobs Scraper](https://apify.com/lentic_clockss/bayt-scraper)
- [Fiverr Gigs Scraper](https://apify.com/lentic_clockss/fiverr-programming-tech-gigs-scraper)
- [Freelancer.com Scraper](https://apify.com/lentic_clockss/freelancer-scraper)
- [Glassdoor Scraper](https://apify.com/lentic_clockss/glassdoor-scraper)
- [Himalayas Jobs Scraper](https://apify.com/lentic_clockss/himalayas-jobs-scraper)
- [Indeed Jobs Scraper](https://apify.com/lentic_clockss/indeed-jobs-scraper)
- [Jobicy Remote Jobs Scraper](https://apify.com/lentic_clockss/jobicy-remote-jobs-scraper)
- [RemoteOK Jobs Scraper](https://apify.com/lentic_clockss/remoteok-all-jobs-scraper)
- [SEEK Jobs Scraper](https://apify.com/lentic_clockss/seek-scraper)
- [Upwork Jobs Scraper](https://apify.com/lentic_clockss/upwork-jobs-scraper)

#### Real Estate

- [Zillow & Zumper Scraper](https://apify.com/lentic_clockss/us-real-estate-scraper)
- [Realtor.com Scraper](https://apify.com/lentic_clockss/realtor-com-scraper)
- [99.co Scraper](https://apify.com/lentic_clockss/ninetynine-co-sg-scraper)
- [Realtor.com Agents Scraper](https://apify.com/lentic_clockss/realtor-com-agents-scraper)
- [Apartments.com Rental Scraper](https://apify.com/lentic_clockss/apartments-com-rental-scraper)
- [Bayut Scraper](https://apify.com/lentic_clockss/bayut-uae-scraper)
- [Craigslist Housing Scraper](https://apify.com/lentic_clockss/craigslist-housing-scraper)
- [Daft.ie Scraper](https://apify.com/lentic_clockss/daft-property-scraper)
- [Dot Property Scraper](https://apify.com/lentic_clockss/dot-property-th-scraper)
- [FINN.no Scraper](https://apify.com/lentic_clockss/finn-scraper)
- [Funda Scraper](https://apify.com/lentic_clockss/funda-scraper)
- [Hepsiemlak Scraper](https://apify.com/lentic_clockss/hepsiemlak-scraper)
- [Idealista Scraper](https://apify.com/lentic_clockss/idealista-scraper)
- [Immobiliare.it Scraper](https://apify.com/lentic_clockss/immobiliare-property-scraper)
- [ImmoScout24 Scraper](https://apify.com/lentic_clockss/immobilienscout24-scraper)
- [Naver Land Scraper](https://apify.com/lentic_clockss/naver-land-scraper)
- [OpenSooq Scraper](https://apify.com/lentic_clockss/opensooq-real-estate-scraper)
- [Otodom Scraper](https://apify.com/lentic_clockss/otodom-scraper)
- [Property Finder Scraper](https://apify.com/lentic_clockss/property-finder-uae-scraper)
- [PropertyGuru Scraper](https://apify.com/lentic_clockss/propertyguru-sg-scraper)
- [realestate.com.au Scraper](https://apify.com/lentic_clockss/realestate-com-au-scraper)
- [Realtor.ca Scraper](https://apify.com/lentic_clockss/realtor-ca-scraper)
- [Rightmove Scraper](https://apify.com/lentic_clockss/rightmove-property-scraper)
- [SeLoger Scraper](https://apify.com/lentic_clockss/seloger-property-scraper)
- [SUUMO Scraper](https://apify.com/lentic_clockss/suumo-property-scraper)
- [Zillow Group Scraper](https://apify.com/lentic_clockss/zillow-group-scraper)

#### E-commerce

- [Shopee Search Scraper](https://apify.com/lentic_clockss/shopee-search-scraper)
- [E-commerce Scraper](https://apify.com/lentic_clockss/ecommerce-scraper)
- [1688 Global Product Search Scraper](https://apify.com/lentic_clockss/1688-global-scraper)
- [Allegro Scraper](https://apify.com/lentic_clockss/allegro-scraper)
- [Amazon Search Scraper](https://apify.com/lentic_clockss/amazon-search-results-collector)
- [ASOS Product Scraper](https://apify.com/lentic_clockss/asos-scraper)
- [Cdiscount Product Scraper](https://apify.com/lentic_clockss/cdiscount-scraper)
- [Costco Product Scraper](https://apify.com/lentic_clockss/costco-scraper)
- [Coupang Product Scraper](https://apify.com/lentic_clockss/coupang-scraper)
- [Etsy Scraper](https://apify.com/lentic_clockss/etsy-scraper)
- [Lazada Scraper](https://apify.com/lentic_clockss/lazada-ph-search-results-collector)
- [MercadoLibre Scraper](https://apify.com/lentic_clockss/mercadolibre-scraper)
- [Mercari Japan Scraper](https://apify.com/lentic_clockss/mercari-scraper)
- [Rakuten Japan Scraper](https://apify.com/lentic_clockss/rakuten-scraper)
- [SHEIN Product Scraper](https://apify.com/lentic_clockss/shein-scraper)
- [Target Product Scraper](https://apify.com/lentic_clockss/target-scraper)
- [Temu Product Scraper](https://apify.com/lentic_clockss/temu-scraper)
- [Walmart Product Scraper](https://apify.com/lentic_clockss/walmart-scraper)

#### Travel & Stays

- [Booking.com & Airbnb Scraper](https://apify.com/lentic_clockss/booking-airbnb-scraper)
- [Agoda Scraper](https://apify.com/lentic_clockss/agoda-scraper)
- [Airbnb Listings Scraper](https://apify.com/lentic_clockss/airbnb-listings-scraper)
- [Booking.com Hotels Scraper](https://apify.com/lentic_clockss/booking-hotels-scraper)
- [Despegar Scraper](https://apify.com/lentic_clockss/despegar-scraper)
- [Expedia Scraper](https://apify.com/lentic_clockss/expedia-scraper)
- [Traveloka Scraper](https://apify.com/lentic_clockss/traveloka-scraper)
- [Travelstart Flights Scraper](https://apify.com/lentic_clockss/travelstart-scraper)
- [Trip.com Scraper](https://apify.com/lentic_clockss/trip-com-scraper)
- [TripAdvisor Scraper](https://apify.com/lentic_clockss/tripadvisor-scraper)

#### Social & Content

- [TikTok Scraper](https://apify.com/lentic_clockss/tiktok-scraper)
- [Reddit Scraper](https://apify.com/lentic_clockss/reddit-scraper)
- [YouTube Shorts Scraper](https://apify.com/lentic_clockss/youtube-shorts-scraper)
- [YouTube Research Scraper](https://apify.com/lentic_clockss/youtube-research-scraper)
- [Hacker News Scraper](https://apify.com/lentic_clockss/hacker-news-scraper)

#### Ads Intelligence

- [Facebook Ad Library Scraper](https://apify.com/lentic_clockss/facebook-ad-library-scraper)
- [Google Ads Transparency VN](https://apify.com/lentic_clockss/google-ads-transparency-center-vn)
- [TikTok Ads Scraper](https://apify.com/lentic_clockss/tiktok-ads-top-ads-actor)

#### Local & Maps

- [Google Maps Scraper](https://apify.com/lentic_clockss/google-maps-scraper)

#### General Tools

- [Stealth Web Scraper](https://apify.com/lentic_clockss/stealth-web-scraper)
- [Email Risk Validator](https://apify.com/lentic_clockss/email-risk-validator)
- [Phone Number Intelligence](https://apify.com/lentic_clockss/phone-number-intelligence)

→ Browse the full profile: [apify.com/lentic\_clockss](https://apify.com/lentic_clockss)

# Actor input Schema

## `mode` (type: `string`):

Shipped modes collect data. cars/transfers/activities are schema waivers only and will fail with a clear error.

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

LatAm Despegar host. Default AR. Other TLDs shopping parity not fully verified.

## `query` (type: `string`):

City or place text for suggestions / hotelsSearch (resolved via /suggestions).

## `destinationGid` (type: `string`):

Optional Despegar GID (e.g. CIT\_982). Skips suggestions lookup when set.

## `hotelId` (type: `string`):

Required for hotelDetail.

## `checkin` (type: `string`):

YYYY-MM-DD. Defaults to ~21 days ahead.

## `checkout` (type: `string`):

YYYY-MM-DD. Defaults to ~28 days ahead.

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

Number of adults for hotel/flight distribution.

## `children` (type: `integer`):

Number of children.

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

Number of rooms.

## `origin` (type: `string`):

IATA (flights) or city slug (packagesSeo).

## `destination` (type: `string`):

IATA (flights) or city slug (packagesSeo).

## `departureDate` (type: `string`):

Flight departure date YYYY-MM-DD.

## `returnDate` (type: `string`):

Flight return date YYYY-MM-DD.

## `tripType` (type: `string`):

roundtrip or oneway for flightsSearch.

## `currency` (type: `string`):

Optional override (e.g. ARS).

## `maxResults` (type: `integer`):

Maximum dataset rows to collect.

## `maxPages` (type: `integer`):

Hotel SERP pages to walk (21 cards/page).

## `enrichDetails` (type: `boolean`):

When true, enrich top hotelSearch rows with detail pages.

## `enrichLimit` (type: `integer`):

How many hotels to enrich when enrichDetails is true.

## `maxReviews` (type: `integer`):

Max review items to attach on hotelDetail.

## `workerBaseUrl` (type: `string`):

Optional override for Cloud Run worker origin.

## Actor input object example

```json
{
  "mode": "hotelsSearch",
  "countrySite": "despegar.com.ar",
  "query": "Buenos Aires",
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "tripType": "roundtrip",
  "maxResults": 21,
  "maxPages": 1,
  "enrichDetails": false,
  "enrichLimit": 3,
  "maxReviews": 0
}
```

# Actor output Schema

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

Normalized Despegar hotel / flight / suggestion rows from the default dataset.

## `runSummary` (type: `string`):

Structured summary record stored in the default key-value store.

## `inputEcho` (type: `string`):

Normalized input saved at run start.

## `errorSummary` (type: `string`):

Present when a failed run stores structured terminal error information.

# 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 = {
    "query": "Buenos Aires"
};

// Run the Actor and wait for it to finish
const run = await client.actor("lentic_clockss/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 = { "query": "Buenos Aires" }

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

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

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

```

## CLI example

```bash
echo '{
  "query": "Buenos Aires"
}' |
apify call lentic_clockss/despegar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lentic_clockss/despegar-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/NAZ8C5ZuK4oeNG5Li/builds/X82qvHkbcrfxFNTHy/openapi.json
