# GetYourGuide Listings Scraper (`piotrv1001/getyourguide-listings-scraper`) Actor

The GetYourGuide Scraper extracts tour and activity listings from GetYourGuide.com — capturing names, prices, ratings, review counts, sample reviews, descriptions, images, and language alternates across 45+ locales — ideal for travel market research, price tracking, and competitive analysis.

- **URL**: https://apify.com/piotrv1001/getyourguide-listings-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Travel, Automation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 activity listings

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### 🎟️ GetYourGuide Listings & Activities Scraper

Easily extract tours, activities, and experiences from [GetYourGuide](https://www.getyourguide.com/). The **GetYourGuide Listings & Activities Scraper** turns city listing pages and individual activity URLs into structured JSON — prices, ratings, review counts, sample reviews, descriptions, and 45+ language alternates.

### ✨ Features

- 🏷️ **Comprehensive Activity Data**: Activity name, URL, image, price, currency, rating, total review count, location, and stable activity ID.
- 🔍 **Three Input Modes**: Scrape **By city** listing pages, **By activity URLs** (direct PDPs), or **All activities** (full sitemap crawl).
- 📝 **Optional Detail Mode**: Toggle `includeDetails` to fetch the full activity page — description, 10 sample reviews with author/body/date/rating, and language alternates (45+ locales).
- 📄 **Smart Pagination**: Auto-paginates city listings (16 items per page) up to your configured limit.
- ⚡ **Fast & Efficient**: Built on Crawlee's `CheerioCrawler` — no headless browser overhead, parses GetYourGuide's JSON-LD directly.
- 🌍 **Multi-language**: Extracts `hreflang` alternates for every locale GetYourGuide serves.

### 🛠️ How It Works

1. **Pick a mode** — by city listing URL, by direct activity URL, or full-site sitemap crawl.
2. **Set caps** — `maxItemsPerCity` and `maxActivities` keep your run bounded and predictable.
3. **Choose depth** — flip `includeDetails` on for full PDP scraping, leave off for fast shallow listings.
4. **Run** — receive structured JSON in the dataset, downloadable as JSON, CSV, Excel, or HTML.

### 📥 Input

| Field | Type | Description | Default |
|---|---|---|---|
| `mode` | enum | Discovery strategy: `by-city`, `by-url`, or `all-activities`. | `by-city` |
| `cityUrls` | array of URLs | City listing pages (used when `mode = by-city`). Example: `https://www.getyourguide.com/paris-l16/`. | `[paris-l16]` |
| `activityUrls` | array of URLs | Specific activity (PDP) URLs (used when `mode = by-url`). | `[]` |
| `maxItemsPerCity` | integer | Cap on activities pulled from each city listing (16 per page → 96 = 6 pages). | `96` |
| `maxActivities` | integer | Hard cap on activities visited across the whole run. `0` = unlimited. | `50` |
| `includeDetails` | boolean | If `true`, visits each activity's detail page for rich data (price, rating, reviews, description, language alternates). If `false`, only listing-level data is returned. Auto-enabled for `all-activities` mode. | `false` |
| `proxyConfiguration` | object | Optional Apify proxy settings. Recommended `residential` group for large runs. | `{ useApifyProxy: false }` |

### 📊 Sample Output Data

The scraper produces structured JSON with one record per activity. Shallow (listing) record:

```json
[
    {
        "activityId": "193940",
        "name": "Paris: 1-Hour Seine River Cruise",
        "url": "https://www.getyourguide.com/paris-l16/paris-1-hour-seine-cruise-t193940/",
        "imageUrl": "https://cdn.getyourguide.com/img/tour/.../68.jpg",
        "price": 18,
        "currency": "EUR",
        "rating": 4.4,
        "reviewCount": 83127,
        "location": "Paris",
        "sourceCityUrl": "https://www.getyourguide.com/paris-l16/",
        "sourcePage": 1
    }
]
````

Detailed record (with `includeDetails: true`) additionally includes:

```json
{
    "description": "Take in the magnificent sights of Paris from the Seine on a 1-hour cruise…",
    "sampleReviews": [
        {
            "author": "Leonie",
            "rating": 5,
            "date": "2026-04-10",
            "body": "Beautiful views, smooth ride, would recommend!"
        }
    ],
    "alternateLanguageUrls": {
        "en-US": "https://www.getyourguide.com/paris-l16/paris-1-hour-seine-cruise-t193940/",
        "de-DE": "https://www.getyourguide.de/paris-l16/paris-1-stunde-seine-bootsfahrt-t193940/",
        "fr-FR": "https://www.getyourguide.fr/paris-l16/paris-croisiere-seine-1-heure-t193940/"
    },
    "highlights": ["1-hour cruise", "Live audio guide", "Free Wi-Fi"]
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### 💰 Pricing

This actor uses Apify's **Pay-Per-Event** pricing model. You only pay for the data you actually extract.

| Event | When it fires | Price |
|---|---|---|
| `product-listing` | Shallow record from a city listing page (name, URL, image, price, rating, review count). | **$0.002** per result ($2 per 1,000) |
| `item-detail` | Full activity detail record (price, currency, rating, 10 sample reviews, description, language alternates, DOM extras). | **$0.007** per result ($7 per 1,000) |

**Example costs:**

- 50 listings, no details → ~**$0.10**
- 50 listings + full details → ~**$0.45**
- 500 full detail pages → ~**$3.50**

### 📚 Resources

- [Apify SDK for JavaScript](https://docs.apify.com/sdk/js)
- [Crawlee documentation](https://crawlee.dev/)
- [Apify Platform documentation](https://docs.apify.com/platform)
- [Join our developer community on Discord](https://discord.com/invite/jyEM2PRvMU)

Start collecting GetYourGuide activity data today! 🎟️

# Actor input Schema

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

How to discover activities. 'By city' paginates city listing pages. 'By activity URLs' scrapes specific activity pages. 'All activities' streams every activity on GetYourGuide.

## `cityUrls` (type: `array`):

City/location listing URLs. Used when mode = 'By city'. Example: https://www.getyourguide.com/paris-l16/

## `activityUrls` (type: `array`):

Specific activity URLs. Used when mode = 'By activity URLs'. Always use exact URLs from GetYourGuide — slug mismatches silently serve a different page.

## `maxItemsPerCity` (type: `integer`):

Cap on activities pulled from each city listing (16 per page). Default 96 = 6 pages.

## `maxActivities` (type: `integer`):

Hard cap on activities visited across the entire run. 0 = unlimited.

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

If true, follows each discovered activity URL and scrapes the full detail page (price, rating, reviews, description, languages). If false, only listing-level data is collected.

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

Optional proxy. Default off — works for low-volume crawls. Use Apify residential proxy for large runs.

## Actor input object example

```json
{
  "mode": "by-city",
  "cityUrls": [
    {
      "url": "https://www.getyourguide.com/paris-l16/"
    }
  ],
  "activityUrls": [],
  "maxItemsPerCity": 96,
  "maxActivities": 50,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

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

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/getyourguide-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cityUrls": [
    {
      "url": "https://www.getyourguide.com/paris-l16/"
    }
  ],
  "activityUrls": []
}' |
apify call piotrv1001/getyourguide-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/getyourguide-listings-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "GetYourGuide Listings Scraper",
        "description": "The GetYourGuide Scraper extracts tour and activity listings from GetYourGuide.com — capturing names, prices, ratings, review counts, sample reviews, descriptions, images, and language alternates across 45+ locales — ideal for travel market research, price tracking, and competitive analysis.",
        "version": "0.0",
        "x-build-id": "HWVCM1tarORarjvy4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~getyourguide-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-getyourguide-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~getyourguide-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-getyourguide-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~getyourguide-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-getyourguide-listings-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Scraping mode",
                        "enum": [
                            "by-city",
                            "by-url",
                            "all-activities"
                        ],
                        "type": "string",
                        "description": "How to discover activities. 'By city' paginates city listing pages. 'By activity URLs' scrapes specific activity pages. 'All activities' streams every activity on GetYourGuide.",
                        "default": "by-city"
                    },
                    "cityUrls": {
                        "title": "City listing URLs",
                        "type": "array",
                        "description": "City/location listing URLs. Used when mode = 'By city'. Example: https://www.getyourguide.com/paris-l16/",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "activityUrls": {
                        "title": "Activity (PDP) URLs",
                        "type": "array",
                        "description": "Specific activity URLs. Used when mode = 'By activity URLs'. Always use exact URLs from GetYourGuide — slug mismatches silently serve a different page.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItemsPerCity": {
                        "title": "Max activities per city",
                        "minimum": 16,
                        "type": "integer",
                        "description": "Cap on activities pulled from each city listing (16 per page). Default 96 = 6 pages.",
                        "default": 96
                    },
                    "maxActivities": {
                        "title": "Max activities (global)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Hard cap on activities visited across the entire run. 0 = unlimited.",
                        "default": 50
                    },
                    "includeDetails": {
                        "title": "Include activity details",
                        "type": "boolean",
                        "description": "If true, follows each discovered activity URL and scrapes the full detail page (price, rating, reviews, description, languages). If false, only listing-level data is collected.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional proxy. Default off — works for low-volume crawls. Use Apify residential proxy for large runs.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
