# GetYourGuide API

> GetYourGuide returns tours, tickets, activities, prices and ratings, available as a workflow and API.

GetYourGuide, also known as GYG, returns tours, tickets and activities for a city, including prices, ratings and availability for a selected day. Search activities takes a city and can also use a date, sort order, activity query, currency and maximum result count.

- Page: https://fous.com/workflows/getyourguide
- Handle: `@getyourguide`
- Category: [Travel](https://fous.com/workflows/category/travel)
- Source website: https://getyourguide.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with GetYourGuide.

## Methods

### Search activities

Operation `search_activities`, version 1. 1 credit per call.

Find GetYourGuide tours, tickets and activities in a city, with live prices, ratings, availability for a selected day, and booking features. Results reflect public listings and may include day trips departing from the city.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `city` | string | yes | `"Paris"` | City to explore, such as Amsterdam. |
| `date` | string | no | `"2026-10-10"` | Only activities available on this day, such as 2026-10-10. |
| `sort` | string | no | `"rating"` | Order by popularity, lowest price or rating, such as rating. |
| `query` | string | no | `"Eiffel Tower"` | Activity to look for, such as canal cruise; blank for any. |
| `currency` | string | no | `"EUR"` | Three-letter price currency, such as EUR. |
| `max_results` | integer | no | `4` | Maximum number of activities, such as 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "city"
  ],
  "properties": {
    "city": {
      "type": "string",
      "description": "City to explore, such as Amsterdam.",
      "examples": [
        "Paris",
        "Amsterdam"
      ]
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Only activities available on this day, such as 2026-10-10.",
      "examples": [
        "2026-10-10"
      ]
    },
    "sort": {
      "enum": [
        "popularity",
        "price_low_to_high",
        "rating"
      ],
      "type": "string",
      "default": "popularity",
      "description": "Order by popularity, lowest price or rating, such as rating.",
      "examples": [
        "rating",
        "price_low_to_high"
      ]
    },
    "query": {
      "type": "string",
      "default": "",
      "description": "Activity to look for, such as canal cruise; blank for any.",
      "examples": [
        "Eiffel Tower",
        "canal cruise"
      ]
    },
    "currency": {
      "type": "string",
      "default": "USD",
      "description": "Three-letter price currency, such as EUR.",
      "examples": [
        "EUR"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum number of activities, such as 20.",
      "x-fous-developer": true,
      "examples": [
        4,
        5
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "city": "Paris",
      "date": "2026-10-10",
      "sort": "rating",
      "query": "Eiffel Tower",
      "currency": "EUR",
      "max_results": 4
    },
    {
      "city": "Amsterdam",
      "query": "canal cruise",
      "max_results": 5
    },
    {
      "city": "Amsterdam",
      "sort": "price_low_to_high",
      "max_results": 4
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `activities` | array |  |  |
| `activities[].link` | string | `"https://www.getyourguide.com/paris-l16/paris-eiffel-tower-2nd-floor-or-summit-access-t403886/"` |  |
| `activities[].title` | string | `"Eiffel Tower Summit or 2nd Floor Reserved Access"` |  |
| `activities[].rating` | number or null | `4.7` | Rating out of 5. |
| `activities[].currency` | string | `"EUR"` |  |
| `activities[].duration` | string or null | `"1 hour"` |  |
| `activities[].activity_id` | string | `"403886"` |  |
| `activities[].skip_the_line` | boolean | `false` |  |
| `activities[].free_cancellation` | boolean | `true` |  |
| `activities[].number_of_reviews` | integer or null | `7573` |  |
| `activities[].short_description` | string or null | `"Skip the stress, not the views. Your pre-booked Eiffel Tower ticket is confirmed & waiting. Meet your host, board the e` |  |
| `activities[].starting_price_per_person` | number or null | `69` |  |

**Example input**

```json
{
  "city": "Paris",
  "date": "2026-10-10",
  "sort": "rating",
  "query": "Eiffel Tower",
  "currency": "EUR",
  "max_results": 4
}
```

**Example output**

```json
{
  "activities": [
    {
      "link": "https://www.getyourguide.com/paris-l16/paris-eiffel-tower-2nd-floor-or-summit-access-t403886/",
      "title": "Eiffel Tower Summit or 2nd Floor Reserved Access",
      "rating": 4.7,
      "currency": "EUR",
      "duration": "1 hour",
      "activity_id": "403886",
      "skip_the_line": false,
      "free_cancellation": true,
      "number_of_reviews": 7573,
      "short_description": "Skip the stress, not the views. Your pre-booked Eiffel Tower ticket is confirmed & waiting. Meet your host, board the elevator, and let Paris unfold beautifully beneath you. Summit upgrade available!",
      "starting_price_per_person": 69
    },
    {
      "link": "https://www.getyourguide.com/paris-l16/paris-eiffel-tower-summit-or-second-floor-guided-tour-t411819/",
      "title": "Eiffel Tower Summit or Second Floor Guided Tour",
      "rating": 4.6,
      "currency": "EUR",
      "duration": "1h 30m",
      "activity_id": "411819",
      "skip_the_line": true,
      "free_cancellation": true,
      "number_of_reviews": 41,
      "short_description": "Discover the Eiffel Tower with a hosted introduction and access to the 2nd floor. Upgrade to the Summit for spectacular views or add a Seine River cruise for a complete Paris experience.",
      "starting_price_per_person": 106
    },
    {
      "link": "https://www.getyourguide.com/paris-l16/paris-seine-river-cruise-eiffel-tower-guided-visit-t984690/",
      "title": "Seine River Cruise & Eiffel Tower Guided Tour",
      "rating": 4.6,
      "currency": "EUR",
      "duration": "2 hours",
      "activity_id": "984690",
      "skip_the_line": false,
      "free_cancellation": true,
      "number_of_reviews": 460,
      "short_description": "Two views, one unforgettable Paris experience. Visit the Eiffel Tower with a guide, then relax on a Seine River cruise past the city’s most famous landmarks.",
      "starting_price_per_person": 114
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@getyourguide",
  "visibility": "public",
  "operation": "search_activities",
  "version": 1,
  "input": {
    "city": "Paris",
    "date": "2026-10-10",
    "sort": "rating",
    "query": "Eiffel Tower",
    "currency": "EUR",
    "max_results": 4
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@getyourguide\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_activities\",\n  \"version\": 1,\n  \"input\": {\n    \"city\": \"Paris\",\n    \"date\": \"2026-10-10\",\n    \"sort\": \"rating\",\n    \"query\": \"Eiffel Tower\",\n    \"currency\": \"EUR\",\n    \"max_results\": 4\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@getyourguide",
  "visibility": "public",
  "operation": "search_activities",
  "version": 1,
  "input": {
    "city": "Paris",
    "date": "2026-10-10",
    "sort": "rating",
    "query": "Eiffel Tower",
    "currency": "EUR",
    "max_results": 4
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@getyourguide","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare activity prices across a city
- Find highly rated tours for a selected day
- Locate activities such as canal cruises
- Review activity durations and cancellation options

## FAQ

### Is Fous affiliated with GetYourGuide?

No. Fous is not affiliated with GetYourGuide. This workflow reads the public getyourguide.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a GetYourGuide account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from getyourguide.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### What activities are available in a city on a date?

Search activities returns activities for a city and can filter results to a selected date.

### Which activities have the highest ratings?

Search activities can sort activities by rating and returns ratings out of 5.

### What is the starting price per person?

Search activities returns each activity’s starting price per person and currency.

## Related

- [Klook API](https://fous.com/workflows/klook.md): Activities, attraction tickets, tours and travel passes.
- [Viator API](https://fous.com/workflows/viator.md): Tours, day trips, and experiences.
- [Tripadvisor API](https://fous.com/workflows/tripadvisor.md): Tripadvisor provides traveler-ranked first-page city listings of attractions, restaurants and hotels, plus latest reviews; hotel prices and booking sites depend on supplied stay dates and availability.
- [Agoda API](https://fous.com/workflows/agoda.md): Agoda finds stays and room prices for selected dates; displayed prices exclude taxes and fees, and availability, prices, and cancellation terms may change before booking.
- [Booking.com API](https://fous.com/workflows/booking-com.md): Booking.com helps find stays, property details and public guest reviews; prices and cancellation terms depend on selected dates, and displayed prices may exclude taxes and fees.
- [Airbnb API](https://fous.com/workflows/airbnb.md): Airbnb returns public stays, listing details, dated trip prices, and night availability, which depend on dates and may be limited, unavailable, or change.
- [Hostelworld API](https://fous.com/workflows/hostelworld.md): Hostelworld accommodation search and booking
- [Trip.com API](https://fous.com/workflows/trip-com.md): Trip.com offers hotel and flight bookings, with hotel listings limited to initial public results and prices and fares subject to change.
- [All Travel workflows](https://fous.com/workflows/category/travel)
