# GetYourGuide Activities Scraper - Search, Reviews, Availability (`rl1987/getyourguide-api-scraper`) Actor

Collect GetYourGuide activities by destination and keyword, then pull full detail, public reviews, destination lookups and the availability calendar. Five modes write four flat row types, with activity titles, prices and ratings and one row per availability date.

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

## Pricing

from $3.00 / 1,000 activity rows

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

## GetYourGuide Activities Scraper - Search, Reviews, Availability

GetYourGuide activities, public reviews, destination lookups and availability dates as flat JSON rows. One `mode` input selects the slice: `search`, `destinations`, `detail`, `reviews` or `availability`. All five write to one dataset with four row kinds (`activity`, `destination`, `review`, `availability`), so an agent can request one slice, filter on `recordType`, and join rows on `locationId` or `activityId`. Search and reviews return 20 rows on each API page; a sampled Paris run delivered 8 activity rows from 2 requests with 0 failed requests. The Actor reads the app's GraphQL JSON directly, uses no browser, and needs no GetYourGuide account, login or API key. It is read-only: no booking, cart, checkout or voucher endpoint is called. Field-by-field I/O schemas: https://keyspace.dev/data-dictionaries/getyourguide/index.html

### What can I extract from GetYourGuide?

Five modes cover the catalogue surface the app exposes without a login. Each mode has its own dataset view, so the rows you receive contain only the columns that mode fills.

| `mode` | Input used | Dataset view and row kind | Main columns | Charge event |
| --- | --- | --- | --- | --- |
| `search` (default) | `destination`, optional `q` | `search` / `activity` | `id`, `title`, `url`, `price`, `currency`, `rating`, `reviewCount`, `category`, `activityType`, `destination`, `locationId`, `images`, `availabilityMessage` | `activity-row` |
| `destinations` | `destination` | `destinations` / `destination` | `id` (e.g. `location:16`), `title`, `url`, `abstract`, `locationId`, `locationType`, `images` | `destination-row` |
| `detail` | `activityId`, or `destination` | `detail` / `activity` | search columns plus `description`, `inclusions`, `exclusions`, `meetingPoint`, `duration`, `durationInMinutes`, `supplierName`, `supplierUrl`, `cancellationPolicy` | `activity-row` |
| `reviews` | `activityId`, or `destination` | `reviews` / `review` | `id`, `activityId`, `activityTitle`, `reviewText`, `reviewDate`, `reviewLanguage`, `travelerType`, `authorFirstName`, `authorCountry`, `rating` | `review-row` |
| `availability` | `activityId`, or `destination` | `availability` / `availability` | `id` (the date), `activityId`, `activityTitle`, `availabilityDate`, `hasDeal`, `isCheapestDate`, `isLikelyToSellout` | `availability-row` |

Every row also carries `scrapedAt` (UTC delivery time) and `provenance` (actor and build plus row kind). `activityId` is the number in a tour URL: `...-t66157` means `66157`. Reviews and availability rows repeat `activityTitle`, so they are readable without a join back to the activity.

### What does one row contain?

The dataset is flat: one row per activity, autocomplete suggestion, review or calendar date, with unused columns null or empty. The observed 8-row Paris search sample, captured 2026-11-17, had `title`, `url`, `highlights`, `price`, `currency`, `rating`, `reviewCount`, `category`, `activityType`, `destination`, `locationId`, `images`, `scrapedAt` and `provenance` filled on 8 of 8 rows. `latitude`, `longitude` and `duration` were null on 8 of 8 of those search rows; `duration` is filled by `detail` mode, and the coordinates describe the primary location (the city centre for a city-level location), not the meeting point.

`detail` adds the long `description` with HTML stripped, `inclusions`, `exclusions`, `meetingPoint`, `duration` text and `durationInMinutes` (the lower bound when the API gives a range), supplier fields and the API's `cancellationPolicy` type token. A live check on 2026-11-17 found `duration` text such as "1 day" and "12.5–13 hours" on day trips, and a true null on open-dated entry tickets. Images are absolute CDN URLs with the app's `{options}` token replaced by `format=auto`; search cards carried 1 image and detail records can supply up to 100, of which 20 are kept.

A `review` row holds the reviewer's public text, first name, country, `travelerType`, self-declared language and 1–5 `rating`; `reviewDate` is the API's own timestamp with its offset, not normalized to UTC. An `availability` row holds one `YYYY-MM-DD` date and the API's own `hasDeal`, `isCheapestDate` and `isLikelyToSellout` flags; the flag can be null when the API makes no prediction.

### Which places and activities can I target?

`destination` is a place name resolved through the app's own autocomplete before any search. The captured "Paris" autocomplete response contained 10 suggestions, each becoming a `destination` row in that mode:

| Suggestion | `id` | `locationId` | `locationType` |
| --- | --- | --- | --- |
| Paris | `location:16` | 16 | city |
| Disneyland Paris | `location:2603` | 2603 | poi |
| Eiffel Tower | `location:2600` | 2600 | poi |
| Louvre Museum | `location:3224` | 3224 | poi |
| Paris Catacombs | `location:2605` | 2605 | poi |
| Moulin Rouge | `location:2604` | 2604 | poi |
| Palace of Versailles | `location:317` | 317 | poi |
| Notre Dame Cathedral | `location:3230` | 3230 | poi |
| Seine River | `location:2601` | 2601 | poi |
| Opera, Paris | `location:215906` | 215906 | neighborhood |

The 8 delivered activity rows in the sampled Paris search were `66157` "Paris: Arc de Triomphe Rooftop Tickets", `395320` "Disneyland® Paris 1-Day Ticket (1 or 2 parks)", `81297` "Paris: Palais Garnier Self-Guided Tour", `1349437` "Seine River Sightseeing Guided Cruise Vedettes du Pont Neuf", `65756` "Paris: Orsay Museum Entry Ticket", `1282311` "Paris: Evening Lights Cruise with Legendary Bateaux-Mouches®", `59565` "Paris: Versailles Palace and Gardens Full Access Ticket" and `70627` "Les Invalides: Napoleon's Tomb & Army Museum Entry". Activity `66157` carried a rating of 4.6471934 from 38,589 reviews in that sample.

For `detail`, `reviews` and `availability`, pass `activityId` directly or leave it empty to take the destination's top-ranked activity. Review records captured for `66157` include reviewers named Mihaela (Netherlands), Donna (United Kingdom) and Michael (Australia), with `travelerType` values `couple` and `family_old`. The availability fixture for the same activity held 44 dates starting 2026-11-17. The dataset schema gives "GetYourGuide Tours & Tickets GmbH" as its `supplierName` example.

### How do I narrow a search or bound a run?

Set `destination` for `search` and `destinations`. In `search`, `q` is passed to the API as a ranking hint, not a filter, so the Actor keeps only rows whose title, summary, description or highlights contain every meaningful keyword word. Measured on 2026-11-17 with `Eiffel Tower` in Paris: the API reported `totalCount` 2,981 and ranked a Disneyland Paris ticket first. A nonsense query (`xyzzyqqq nonexistent gibberish 12345`) still returned 20 unrelated Paris activities with `totalCount` 47. Off-keyword rows from both cases were withheld rather than delivered.

`maxItems` (default 100, 0 for no limit) stops delivery after that many rows have passed de-duplication, the keyword gate and the dataset schema check. `maxPages` (default 0) caps upstream pages; search and reviews fetch 20 rows on each page. The end-of-run status message reports the place the name resolved to, the delivered row count, the stop reason, and how many rows the keyword gate withheld. This matters for ambiguous names: `London` resolves to a city in Ontario as well as one in England, and the status message says which one was used.

`currency` is an `accept-currency` header, not a query variable; it changes the numbers the API returns, so compare values only within one currency. `language` is the `accept-language` header; only `en` was verified against live responses. Accepted currency codes are EUR, USD, GBP, CHF, AUD, CAD, JPY and INR; accepted languages are en, de, fr, es, it, pt, nl and ja.

### What did a real run return?

The stored Paris search run captured on 2026-11-17 used `mode: search`, `destination: Paris`, `maxItems: 8` and `currency: EUR`. It finished in 22.95 seconds with 2 requests finished, 0 failed, 0 retries and 8 delivered `activity` rows. The billing audit records 42 further rows trimmed by `maxItems`, 0 duplicates, 0 unresolved rows and 0 schema-invalid rows; the stop reason was `max-items`. All 8 rows were stamped `scrapedAt` 2026-11-17T09:02:30Z with provenance `local@local activity`. These figures describe that run, not a fixed result for other inputs.

The catalogue itself is larger: a captured search page for `Eiffel Tower` in Paris reported `totalCount` 2,981, which is about 149 pages at 20 rows on each page. `maxPages` exists to bound that walk.

### What happens when a request fails or a row is repeated?

Rows pass through one ledger before delivery: it de-duplicates on `id`, drops rows that have no id or no title, review text or date, validates against the shipped dataset schema, then writes and charges. A repeated search hit, a keyword miss, a schema-invalid row or a row cut by `maxItems` is neither delivered nor charged. The run also stops when it reaches the maximum total charge set on the run, and reports that stop reason.

Requests that exhaust their retries land in the `failed-requests` dataset view with the URL, request label, error type and message, so the failing mode is identifiable. Blocked responses (403/429) rotate the proxy session and retry, and a challenge page served with HTTP 200 rotates the visitor identity. The gateway is Cloudflare-fronted and answered a datacenter egress with 403 in testing; the default proxy configuration uses Apify's residential group. Valid input problems are rejected before the first network call and finish with an explanatory status message.

### What do people ask before running this?

**Do I need a GetYourGuide account or API key?**\
No. The Actor calls the public GraphQL gateway the Android app uses, sends a generated guest visitor id, and never signs in.

**Does it book tickets or read my orders?**\
No. It is read-only: search, activity detail, destination lookup, public reviews and the date calendar. No booking, cart, checkout or account endpoint is called.

**What does a review row contain?**\
A public review's text, id, rating, language, date, `travelerType`, the reviewer's first name and country, plus `activityId` and `activityTitle` for the parent activity.

**Can I get one activity's calendar without scraping the whole catalogue?**\
Yes. Set `mode` to `availability` and pass `activityId` (for example `66157`). You get one row per returned date, with the API's deal, date and sell-out flags.

**Why did my keyword return nothing?**\
The upstream keyword ranks rather than filters, so the Actor applies its own word-level gate. If no row's title, summary, description or highlights contain all keyword words, the dataset is empty and the status message says how many nearby rows were withheld.

**How do I limit the size of a run?**\
Use `maxItems` for delivered rows and `maxPages` for upstream pages. `maxItems` counts rows after de-duplication and the keyword gate; the run's maximum total charge is a second stop condition.

**Can I schedule it?**\
Yes. It is an Apify Actor, so it can be started from the Console, the Apify API or an Apify schedule, with the same input fields.

**Where do I see the current charge rates?**\
See the Pricing tab on this Actor's page.

### Where are the full input and output schemas?

The input reference (11 fields: `mode`, `destination`, `q`, `activityId`, `maxItems`, `maxPages`, `currency`, `language`, `proxyConfiguration`, `maxConcurrency` and `maxRequestRetries`), all five dataset views and the row-level field definitions are documented here: https://keyspace.dev/data-dictionaries/getyourguide/index.html

# Actor input Schema

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

What to extract. Search = activities of a destination (optionally narrowed by a keyword). Destinations = place lookup (name -> location id). Reviews = public reviews of one activity. Availability = the read-only date calendar of one activity. Detail = the full record of one activity.

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

A place name (Paris, London, Rome, Eiffel Tower) resolved to a GetYourGuide location id through the app's own autocomplete. Used by Search mode (the area to search) and Destinations mode (the text to look up); in Reviews, Availability and Detail mode it is only used when Activity ID is empty, to take that destination's top activity. The end-of-run status message names the place it resolved to - 'London' is a city in Ontario as well as in England.

## `q` (type: `string`):

Optional free-text keyword for Search mode, e.g. 'Eiffel Tower' or 'Seine cruise'. IMPORTANT: the upstream keyword RANKS, it does not filter - a keyword nothing matches still returns a full page of whatever is nearby. Only rows whose title, summary or highlights contain every keyword word are delivered and charged; the rest are counted in the status message.

## `activityId` (type: `integer`):

Numeric GetYourGuide activity id (the t-number in a tour URL: ...-t66157 -> 66157). Consumed by Detail, Reviews and Availability mode. Leave empty to use the top activity of Destination instead.

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

Stop after this many rows have been DELIVERED (0 = no limit). Counted by the billing ledger after de-duplication and after the keyword gate, so it limits what you receive and pay for, not what the upstream returned.

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

Optional page cap for the paginated modes (Search 20 activities per page, Reviews 20 per page). 0 = walk to the end or until Max rows is reached. Set this to bound the number of upstream requests on a large destination such as Paris (2 980 activities = 149 pages).

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

ISO currency code sent as the `accept-currency` header - the price in the dataset is the price the app itself would show this visitor. Currency is a header on this API, not a query parameter: the same activity answers EUR 16 with EUR and USD 19 with USD. Only English language data was verified in this build.

## `language` (type: `string`):

Language code sent as the `accept-language` header, which controls the translation of titles and descriptions. This build was verified with `en` against live responses; the other codes are passed through the same header unchanged.

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

The gateway sits behind Cloudflare bot management and answers this scrapers' own datacenter egress with a 403, so the default is Apify residential. Apify's datacenter proxy group also returned 200 in testing (2026-11-17), which is a cheaper fallback if residential concurrency is unavailable.

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

Parallel requests. The default of 3 is deliberately low: the gateway is Cloudflare-fronted and each blocked response retires a proxy session. Search pages are 20 rows each, so this is not the bottleneck.

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

How many times a failed request is retried before it is recorded in the failed-requests dataset. Blocked (403/429) responses rotate the proxy session and retry; the visitor id is rotated too when a challenge page is detected in a 200 response.

## Actor input object example

```json
{
  "mode": "search",
  "destination": "Paris",
  "q": "",
  "maxItems": 100,
  "maxPages": 0,
  "currency": "EUR",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 3,
  "maxRequestRetries": 5
}
```

# Actor output Schema

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

Activities, destinations, reviews and availability dates in one flat dataset, discriminated by `recordType`.

## `failedRequests` (type: `string`):

Requests that exhausted their retries (blocked, 5xx, or an unexpected response shape), with the request label so the failing mode is identifiable.

# 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 = {
    "destination": "Paris",
    "q": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/getyourguide-api-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 = {
    "destination": "Paris",
    "q": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rl1987/getyourguide-api-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 '{
  "destination": "Paris",
  "q": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call rl1987/getyourguide-api-scraper --silent --output-dataset

```

## MCP server setup

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