# GetYourGuide Scraper — Tours and Activities (`khadinakbar/getyourguide-scraper`) Actor

Extract GetYourGuide activities from destination, category, and activity URLs for travel research. Return starting prices, currencies, ratings, duration, images, and optional operator and activity details. Bounded batches with per-row source URLs and explicit partial or blocked outcomes.

- **URL**: https://apify.com/khadinakbar/getyourguide-scraper.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Travel, E-commerce, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 activity saveds

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

## GetYourGuide Scraper — Tours and Activities

Collect tours, tickets and activities from GetYourGuide for any city, category or keyword. You get one clean row per activity with its price, discount, rating, review count, duration, cancellation terms, operator and a short summary an AI assistant can read. A destination page returns the whole list (up to 1,000 activities per run), not just the first screen.

**Who it is for:** travel agencies, tour operators, price-comparison and market-research teams, and anyone building travel apps or AI travel assistants.

### What you get

| Data | What it tells you |
|---|---|
| `title`, `url`, `id` | The activity and its link |
| `price`, `originalPrice`, `discountPercent`, `priceUnit`, `currency` | Starting price, the price before a discount, percent saved, what the price is for (such as per person) |
| `rating`, `reviewCount` | How well it is rated and by how many people |
| `duration`, `category`, `city`, `country` | What it is and where |
| `freeCancellation`, `availabilityMessage`, `nextAvailableDate` | Cancellation and availability shown on the listing |
| `isBestseller`, `isLikelySellOut`, `recentBookings` | Popularity marks the site shows |
| `agentSummary` | One plain sentence with the key facts and link |
| With full details: `description`, `providerName`, `highlights`, `inclusions`, `exclusions`, `cancellationPolicy`, `reviews` | The full picture, including the 10 newest reviews (rating, text, date, first name) |
| `changeType` | With the monitor option: `new` or `changed` |
| `sourceUrl`, `scrapedAt` | Where and when each row was collected |

Fields the site does not show for an activity are `null` or empty. The Actor never invents values.

### How to use it

**A whole city or category**

```json
{
  "startUrls": [{ "url": "https://www.getyourguide.com/paris-l16/" }],
  "maxResults": 500
}
```

**Search by keyword**

```json
{
  "searchQueries": ["food tour rome", "Eiffel Tower tickets"],
  "maxResults": 100,
  "currency": "EUR"
}
```

**Only the good deals, with full details and reviews**

```json
{
  "startUrls": [{ "url": "https://www.getyourguide.com/barcelona-l45/" }],
  "maxResults": 100,
  "minRating": 4.5,
  "minReviews": 50,
  "maxPrice": 60,
  "freeCancellationOnly": true,
  "enrichDetails": true
}
```

**Watch a market (schedule it daily or weekly)**

```json
{
  "startUrls": [{ "url": "https://www.getyourguide.com/lisbon-l42/" }],
  "maxResults": 1000,
  "onlyNewOrChanged": true
}
```

The first run saves everything. Later runs with the same pages and searches save only activities that are new or whose price or rating changed.

### Settings

| Setting | What it does |
|---|---|
| `startUrls` | Destination, category or activity pages. |
| `searchQueries` | Keyword searches, like using the site's search box. Up to 50 pages and searches in total. |
| `maxResults` | How many different activities to save in total (1 to 1,000). |
| `enrichDetails` | Add full details and the 10 newest reviews to each activity. |
| `minRating`, `minReviews`, `maxPrice`, `freeCancellationOnly` | Save only activities that match. Rows that do not match are not saved and not charged. |
| `onlyNewOrChanged` | Save only new or changed activities since your last run. |
| `currency` | Ask for prices in one of 18 currencies. The Actor saves the currency the site shows and never converts. |
| `maxPages` | Most "Show more" clicks per page (default 30, which reaches roughly 600 activities). |
| `maxRunSeconds` | Stop starting new work after this many seconds and keep what is saved. |
| `useApifyProxy` | Optional Apify residential proxy if direct access is ever blocked. |

#### Free Apify plan

Runs on the free Apify plan return up to 50 activities. Paid plans can collect up to 1,000 per run.

### What it costs

You pay per saved activity, plus a small start charge and Apify's normal usage. The activity price is on the Pricing tab; activities with full details cost a little more than listing-only rows. Cost for a run is the number of rows times the prices shown there. Filters, duplicates and failed pages are never charged as rows, and a row whose details could not be fetched is not charged the details price. Set a maximum charge on your run to cap what it can spend.

### Honest results

- `COMPLETE`: everything found within your settings was saved.
- `PARTIAL`: useful rows were saved, but a time, charge or page limit was reached or some details could not be fetched.
- `VALID_EMPTY`: the site showed no matching activities, or your filters matched nothing.
- `UPSTREAM_FAILED`: nothing usable could be collected. The run is marked failed, not empty, and no placeholder rows are saved.
- `INVALID_INPUT`: fix the settings and run again.

The `OUTPUT` record has the short result and `RUN_SUMMARY` has counts and warnings.

### For AI assistants and the API

```bash
curl --request POST \
  'https://api.apify.com/v2/acts/khadinakbar~getyourguide-scraper/runs?maxTotalChargeUsd=2' \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"searchQueries":["food tour rome"],"maxResults":50}'
```

Example request for an assistant: "Use `khadinakbar/getyourguide-scraper` to find the 50 best-rated food tours in Rome in EUR and summarize the cheapest five with free cancellation." Each row's `agentSummary` is written for this.

### What is new in this version

- Returns the full list for a destination (up to 1,000), where the old version stopped at the first 24.
- Keyword search.
- Much faster full details, now with the 10 newest reviews.
- New fields: discount, price unit, availability, popularity marks, recent bookings, agent summary.
- New-or-changed monitoring, and filters that save you money.
- Memory is chosen by run size.

### Good to know

- Prices are the "from" prices the site shows. Dates, group size and options can change the final price at checkout.
- Reviews are the newest 10 per activity (a sample, not the full history).
- Popularity marks and availability notes come from the listing and are `null` when not shown.
- Looking for other travel data? See our other travel Actors on [our Apify profile](https://apify.com/khadinakbar).

### Responsible use

GetYourGuide is a trademark of its owner. This independent Actor is not affiliated with, associated with, or endorsed by GetYourGuide. It collects public activity information only; it does not book activities or access customer accounts. Use the data within your authorization and the source's terms, and follow privacy rules for any personal data. Review texts show first names only.

# Changelog

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

# Actor input Schema

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

GetYourGuide pages to collect tours and activities from, such as https://www.getyourguide.com/paris-l16/. A destination or category page returns every activity it lists, not just the first screen. Up to 50 URLs and search words together. Login, checkout and supplier pages are not supported.

## `searchQueries` (type: `array`):

Find activities by keyword, like searching on the site. For example: food tour rome, Eiffel Tower tickets. Each word or phrase is searched separately. You can use this together with the URLs above, up to 50 in total.

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

Total number of different activities to save across all pages and searches. Use 20 for a quick sample or up to 1,000 for a full city. This is a limit, not a promise: a small destination may have fewer. Free Apify plan runs are limited to 50.

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

Also open each activity to add its full description, operator, highlights, what is included, the cancellation policy and the 10 newest reviews. Each activity with details costs a small extra amount (see Pricing). Off by default.

## `minRating` (type: `number`):

Keep only activities rated at least this high (0 to 5). For example, 4.5. Use 0 to keep everything. Activities that do not match are not saved and not charged.

## `minReviews` (type: `integer`):

Keep only activities with at least this many reviews. For example, 50. Use 0 to keep everything. Activities that do not match are not saved and not charged.

## `maxPrice` (type: `number`):

Keep only activities whose starting price is at or below this amount, in the currency you chose. Use 0 for no limit. Activities that do not match are not saved and not charged.

## `freeCancellationOnly` (type: `boolean`):

Keep only activities that show free cancellation. Off by default.

## `onlyNewOrChanged` (type: `boolean`):

For repeat runs and schedules: save only activities that are new since your last run with the same pages and searches, or whose price or rating changed. Each saved row says whether it is new or changed. The first run saves everything. Off by default.

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

Show prices in this currency. For example, EUR for euros. The Actor never converts prices itself; it saves the currency the site shows.

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

Each GetYourGuide page lists about 24 activities and loads about 20 more each time Show more is clicked. This limits the clicks for each page or search, so a very large destination cannot run forever. 30 clicks reach roughly 600 activities. The default is 30 and the maximum is 60.

## `useApifyProxy` (type: `boolean`):

Send the browser through the Apify residential proxy if direct access is blocked. Needs a plan that includes residential proxy. Off by default. Proxy traffic adds Apify usage charges.

## `maxRunSeconds` (type: `integer`):

Stop starting new work near this time and keep everything already saved. For example, 600 for ten minutes. Allowed range 30 to 1,800. The default is 600.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.getyourguide.com/paris-l16/"
    }
  ],
  "maxResults": 20,
  "enrichDetails": false,
  "minRating": 0,
  "minReviews": 0,
  "maxPrice": 0,
  "freeCancellationOnly": false,
  "onlyNewOrChanged": false,
  "currency": "USD",
  "maxPages": 30,
  "useApifyProxy": false,
  "maxRunSeconds": 600
}
```

# Actor output Schema

## `activities` (type: `string`):

No description

## `output` (type: `string`):

No description

## `summary` (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 = {
    "startUrls": [
        {
            "url": "https://www.getyourguide.com/paris-l16/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/getyourguide-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 = { "startUrls": [{ "url": "https://www.getyourguide.com/paris-l16/" }] }

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/getyourguide-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 '{
  "startUrls": [
    {
      "url": "https://www.getyourguide.com/paris-l16/"
    }
  ]
}' |
apify call khadinakbar/getyourguide-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,khadinakbar/getyourguide-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/trmmvpPL9zF9nv1Ns/builds/ykq4ZymmunaOzbGjI/openapi.json
