# Vrbo Scraper (`scrapeai/vrbo-scraper`) Actor

Standalone public-page Vrbo scraper with detailed structured live output.

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

## Pricing

from $2.49 / 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.

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

## Vrbo native property listings

Collects live accommodations from native Vrbo VacationRental JSON-LD or visible property cards with an actual property-selected URL. Category, destination, breadcrumb and calendar links are excluded. HTTP is attempted first, followed by a public browser page when needed.

### Input

Provide `startUrls` as strings or url objects for HTTPS vrbo.com pages. The sample requests San Francisco destination listings. `maxItems` is the global limit, falling back to maxItemsPerActor (default 10). maxPagesPerActor bounds explicitly linked next pages; unrelated navigation is never used as pagination. `proxyConfiguration` / proxyUrls support configured proxies; residential is the default unless proxyEnabled=false.

The destination page can show recommendations around the destination, including nearby cities. Source-selected property URLs can include source-generated travel dates and guest counts. These are retained in stayContext; they do not claim the user selected those dates. For date-specific results, supply the corresponding filtered public search URL. query, location and propertyType alone do not create a filtered route; a start URL is required when those values are supplied.

### Output

Rows contain a native property ID, actual property URL, title, source page and available location, photos, rating/review count and price labels. JSON-LD properties can additionally expose coordinates, bedrooms, bathrooms, occupancy, description, amenities and offers. Only observed fields are emitted: no default zero price/coordinates, invented bedrooms or calendar-derived area.

Current visible cards use /search?selected=PROPERTY_ID with source date/guest parameters. This is an actual property selection link, retained intact. Price display and totalDisplay preserve source labels; the Actor does not guess a nightly rate or currency from an ambiguous dollar sign. Rating scales are retained from the displayed label. rawData is the individual source property/card, not the whole page context. Provenance identifies JSON-LD versus visible-card extraction.

### Details and limits

includeDetails defaults false. If true, extra requests enrich a property only from matching ID/URL JSON-LD. Blocked detail requests keep the genuine card with detailStatus and an error; they are not marked complete. browserFallback defaults true. All requests have bounded timeouts, no challenge solving and no authenticated browser-cookie reuse. Partial and zero-result runs are reported honestly; no extra fake properties are added to meet the requested count.

Use `apify run --input-file input.json` locally and inspect the default Dataset and RUN_SUMMARY. SOURCE_HTML records retain the observed pages for review. Compute and configured proxy usage incur platform charges. The audit sample tests ten native listing cards; exhaustive property detail extraction is a separate mode requiring its own verification.

When a destination page contains no property records, the Actor can follow its own native search form using the observed region ID, destination, adults and any explicit form dates. It does not invent a different destination or dates. Rendered pages wait for actual property links/structured records rather than stopping at a breadcrumb JSON-LD script.

Native search-result cards use a different lodging-card-responsive layout and cottage-rental/p links; these are parsed with source Expedia property IDs and optional Vrbo path IDs. The original sourcePropertyUrl retains query context. Dateless search cards can display suggested travel dates; displayedStayLabel preserves that source label without inventing a year.

The checked en-ca sample uses a Canada residential proxy. HTTP requests retain a stable header session. If HTTP returns 429, the browser fallback waits at least 15 seconds and honors a numeric Retry-After up to 60 seconds before its single normal attempt. A continued block remains an explicit failure.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapeai/vrbo-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Public Vrbo search, listing, or detail URLs.

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

Optional request metadata; supply a filtered startUrl. This field does not silently filter default destination properties.

## `location` (type: `string`):

Optional request metadata; supply a filtered startUrl. This field does not silently filter default destination properties.

## `listingType` (type: `string`):

Vrbo accommodation context is stay. Transaction filters for property sales are not supported.

## `propertyType` (type: `string`):

Optional portal-specific property type filter.

## `maxItemsPerActor` (type: `integer`):

Maximum detailed records emitted by each selected adapter.

## `maxPagesPerActor` (type: `integer`):

Maximum search/list pages followed per actor.

## `includeDetails` (type: `boolean`):

Fetch each property link and merge only matching native property JSON-LD. If detail access fails, retain the actual list card and report detailStatus. This mode costs more requests.

## `includeRawData` (type: `boolean`):

Keep selected JSON-LD, metadata, card data, and JSON responses under rawData.

## `scrollCount` (type: `integer`):

Number of incremental scrolls used for lazy-loaded results.

## `requestTimeoutSecs` (type: `integer`):

Maximum seconds allowed for one page.

## `maxConcurrency` (type: `integer`):

Concurrent browser pages. Keep low for public portals.

## `maxRequestRetries` (type: `integer`):

Retries for transient HTTP blocks and navigation failures. Retries use session rotation and backoff.

## `sameDomainDelaySecs` (type: `integer`):

Minimum delay between requests to the same portal, in seconds.

## `proxyEnabled` (type: `boolean`):

Use an authorized Apify or user-supplied proxy route when available. This does not bypass access controls and may incur proxy costs.

## `proxyUrls` (type: `array`):

Optional custom proxy URLs (http://user:pass@host:port) to route requests through.

## `serpApiKey` (type: `string`):

Optional SerpApi API key used as fallback data provider when portals are blocked.

## `captchaApiKey` (type: `string`):

Optional CapSolver, 2Captcha, or Anti-Captcha API key to automatically solve challenge pages.

## `headless` (type: `boolean`):

Run Chromium without a visible window.

## `testMode` (type: `boolean`):

Run an offline fixture smoke test for every selected adapter instead of visiting websites.

## `proxyConfiguration` (type: `object`):

Optional Apify proxy configuration used when proxyEnabled is true.

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

Global output limit across all start URLs (default maxItemsPerActor, then 10).

## `browserFallback` (type: `boolean`):

Read public rendered property cards when HTTP JSON-LD is unavailable.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.vrbo.com/en-ca/vacation-rentals/united-states/california/san-francisco-county/san-francisco"
    }
  ],
  "query": "",
  "location": "",
  "listingType": "stay",
  "propertyType": "",
  "maxItemsPerActor": 10,
  "maxPagesPerActor": 2,
  "includeDetails": false,
  "includeRawData": true,
  "scrollCount": 3,
  "requestTimeoutSecs": 45,
  "maxConcurrency": 2,
  "maxRequestRetries": 3,
  "sameDomainDelaySecs": 3,
  "proxyEnabled": false,
  "proxyUrls": [],
  "serpApiKey": "",
  "captchaApiKey": "",
  "headless": true,
  "testMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "browserFallback": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Detailed, non-null records from every selected adapter.

## `files` (type: `string`):

Run summary, per-actor counters, and blocked-page diagnostics.

# 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 = {};

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

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/vrbo-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 '{}' |
apify call scrapeai/vrbo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/vrbo-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/2AS57RVoBLqh1GbEZ/builds/a1VQVUnkEqwRntlQU/openapi.json
