# SameStay Direct Booking Site Finder (`samestay/samestay-direct-site-finder`) Actor

Find a host's own booking site from an Airbnb or Vrbo listing URL. Returns a verified direct site URL, or null when none can be confirmed. Prices vary by listing.

- **URL**: https://apify.com/samestay/samestay-direct-site-finder.md
- **Developed by:** [SameStay](https://apify.com/samestay) (community)
- **Categories:** Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $150.00 / 1,000 direct site founds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## SameStay Direct Booking Site Finder

Find a host's own booking website from an Airbnb or Vrbo listing URL.

This actor is built by [SameStay](https://samestay.app). For each listing URL you provide, it returns the host's direct booking page when one can be verified, or `null` when it cannot. It does not invent matches.

Prices vary by listing. A direct booking site is not always cheaper than booking on the platform.

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `listingUrls` | string list | Yes | Public https Airbnb or Vrbo listing URLs. |
| `maxResults` | integer | No | Process at most this many URLs from the top of the list. |

Example:

```json
{
  "listingUrls": [
    "https://www.airbnb.com/rooms/47972703",
    "https://www.vrbo.com/4920662"
  ],
  "maxResults": 10
}
```

### Output

One dataset item is written per input URL:

| Field | Type | Description |
| --- | --- | --- |
| `listingUrl` | string | The listing URL that was looked up. |
| `directSiteUrl` | string or null | The host's own booking page, or `null` if none was verified. |
| `confidence` | string or null | `"strong"` when a direct site is returned; otherwise `null`. |
| `evidence` | string or null | A short reason for the result. |
| `source` | string or null | The lookup source that produced the evidence. |
| `checkedAt` | string | ISO-8601 timestamp for when the lookup finished. |

A `null` result means no direct site was confirmed. It is not a guarantee that the host has no website.

### Pricing

Pay per event:

- `direct-site-found`: $0.15 when a verified direct booking site is returned.
- `lookup-miss`: $0.01 when a valid listing is looked up and no direct site is confirmed.

Invalid input URLs are recorded as a miss in the dataset and are not charged.

### Notes

- SameStay only returns a direct site when the match meets its confidence threshold.
- Repeat lookups of the same listing within 30 days may be served from cache.
- Prices vary by listing.

# Actor input Schema

## `listingUrls` (type: `array`):

Listing URLs to look up. Each item should be a public https Airbnb or Vrbo listing link.

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

Optional cap on how many URLs from the list are processed in this run, starting from the top.

## Actor input object example

```json
{
  "listingUrls": [
    "https://www.airbnb.com/rooms/47972703",
    "https://www.vrbo.com/4920662"
  ]
}
```

# Actor output Schema

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

Dataset of lookup results. Each item is one listing URL and the verified host booking site, or null when none was confirmed.

# 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 = {
    "listingUrls": [
        "https://www.airbnb.com/rooms/47972703",
        "https://www.vrbo.com/4920662"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("samestay/samestay-direct-site-finder").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 = { "listingUrls": [
        "https://www.airbnb.com/rooms/47972703",
        "https://www.vrbo.com/4920662",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("samestay/samestay-direct-site-finder").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 '{
  "listingUrls": [
    "https://www.airbnb.com/rooms/47972703",
    "https://www.vrbo.com/4920662"
  ]
}' |
apify call samestay/samestay-direct-site-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,samestay/samestay-direct-site-finder"
        }
    }
}
```

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/16e0iIDsJv6QsyZia/builds/N1Oju9cbeD0EfLtnt/openapi.json
