# GetYourGuide Search Scraper - Tours, Activities & Prices (`apt_marble/getyourguide-search-scraper`) Actor

Export GetYourGuide search results for tours, activities, attraction tickets and experiences. Collect activity title, link, photo, location, duration, star rating, review count and current price. Search by keyword or paste a full GetYourGuide search link to keep its filters.

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

## Pricing

from $0.90 / 1,000 activity saveds

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

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 Search Scraper

Export GetYourGuide search results: tours, activities, attraction tickets and experiences with prices, ratings, review counts, photos and links.

### What you get

For every activity found:

- Activity title, link and photo
- Location and duration (for example "2.5 - 3 hours - Skip the line")
- Star rating and review count
- Current price ("From" price) and currency
- The search term that found it and the total result count

### How to use

1. Add one or more **search terms** (for example `paris`) or paste full **GetYourGuide search links** such as `https://www.getyourguide.com/s?q=paris&interestFilters=tc-48`. Filters inside a link are kept.
2. Set the **maximum results per search**. Pagination is automatic.
3. Run the actor and export the dataset as JSON, CSV or Excel.

Several searches run in one go, each with its own progress log. Duplicate activities and repeated pages are removed automatically.

### Reliability

- Automatic pagination until the maximum or the end of results.
- Broad searches (500+ results) with a maximum above 600 are split into price ranges that are collected in parallel, so the full result set is collected instead of only the first pages. Smaller maximums use the plain most-popular list.
- Activities that are new and have no reviews yet have no rating or review count and carry `newActivity: true`.
- Temporary empty responses are retried automatically. When the site slows down or answers in bursts, the actor backs off on its own and any price range that could not be collected is retried one at a time at the end of the search.
- The log names any price range that stayed incomplete and why, so a partial result is never silent.
- Partial results are always kept: if a later page cannot be collected, everything gathered so far stays in the dataset and the run still succeeds.
- Searches with no results and invalid inputs do not fail the run.

### Output example

```json
{
  "query": "rome",
  "activityId": 631866,
  "url": "https://www.getyourguide.com/rome-l33/rome-colosseum-underground-experience-with-roman-forum-t631866/",
  "image": "https://cdn.getyourguide.com/img/tour/de83673bd7f4f95ff8d7be25c511284d096843c63fb6f69ea5da5ec0e5e15fda.jpg/132.jpg",
  "location": "Rome",
  "title": "Colosseum 3-in-1 Tour with Underground Option",
  "duration": "2.5 - 3 hours • Skip the line • Small group",
  "rating": 4.6,
  "reviewCount": 1679,
  "pricePrefix": "From",
  "price": 53,
  "currency": "$",
  "totalCount": "500+ results:"
}
```

### Legal

Collect and use only publicly available information for a lawful purpose. Follow GetYourGuide's terms and applicable laws. This is an independent product and is not affiliated with GetYourGuide.

# Actor input Schema

## `queries` (type: `array`):

Search terms (for example: paris) or full GetYourGuide search links such as https://www.getyourguide.com/s?q=paris\&interestFilters=tc-48. Filters included in a link are kept.

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

Stop after this many unique activities for each search. Pagination is automatic.

## `concurrency` (type: `integer`):

How many different searches to process at the same time. Pages within each search are collected in order.

## Actor input object example

```json
{
  "queries": [
    "paris"
  ],
  "maxResults": 50,
  "concurrency": 3
}
```

# Actor output Schema

## `activities` (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 = {
    "queries": [
        "paris"
    ],
    "maxResults": 50,
    "concurrency": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/getyourguide-search-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 = {
    "queries": ["paris"],
    "maxResults": 50,
    "concurrency": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/getyourguide-search-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 '{
  "queries": [
    "paris"
  ],
  "maxResults": 50,
  "concurrency": 3
}' |
apify call apt_marble/getyourguide-search-scraper --silent --output-dataset

```

## MCP server setup

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