# GetYourGuide — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and browse tours, activities, and experiences on GetYourGuide. Retrieve activity details, reviews, pricing, booking availability, and location autocomplete suggestions.

**Category:** Travel | **Website:** [getyourguide.com/](https://getyourguide.com/) | **Docs:** [parse.bot/marketplace/7556f92d-475e-446b-926d-8ba351dbb2c8/getyourguide-com-api](https://parse.bot/marketplace/7556f92d-475e-446b-926d-8ba351dbb2c8/getyourguide-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### autocomplete_search

Get autocomplete suggestions for a search query. Returns location suggestions with IDs, types (city, poi), and descriptive attributes. Use to discover location IDs for list_activities_by_location.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query text (e.g., 'paris', 'colosseum', 'london') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/autocomplete_search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### get_activity_details

Get structured details for a specific activity from its URL. Extracts JSON-LD data including product info (name, description, images, aggregate rating, offers, reviews) and breadcrumbs. A separate fetch from search results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full activity URL (e.g., 'https://www.getyourguide.com/paris-l16/quick-entrance-louvre-museum-3-hour-tour-t10505/') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/get_activity_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_activity_options

Get booking options and availability for an activity. Returns available dates, participant categories, language options, and option cards with pricing. Optionally filter by a specific date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `activity_id` | integer | Yes | Activity ID (obtainable from search results or activity page URL) |
| `date` | string | No | Selected date in YYYY-MM-DD format to check availability for a specific date |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/get_activity_options \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"activity_id":"<integer>","date":"<string>"}'
```

### get_activity_reviews

Get paginated reviews for an activity. Returns up to 10 reviews per page with author information, rating, review text, and optional media attachments.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `activity_id` | integer | Yes | Activity ID (obtainable from search results or activity page URL) |
| `page` | integer | No | Page number for pagination |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/get_activity_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"activity_id":"<integer>","page":"<integer>"}'
```

### list_activities_by_location

List activities for a specific location by its ID. Returns paginated results sorted by popularity. Use autocomplete_search to discover location IDs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location_id` | integer | Yes | Location ID (e.g., 16 for Paris, 33 for Rome, 57 for London) |
| `page` | integer | No | Page number for pagination |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/list_activities_by_location \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_id":"<integer>","page":"<integer>"}'
```

### search_activities

Full-text search for activities and tours by keyword. Resolves the query to a location via autocomplete when no location_id is provided. Returns paginated results sorted by popularity. Each activity includes pricing, ratings, duration, and availability.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location_id` | integer | No | Location ID to scope search to a specific location. If omitted, the query is resolved to a location via autocomplete. |
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword (e.g., 'paris', 'snorkeling', 'rome') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-getyourguide-com-api-7556f92d/search_activities \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_id":"<integer>","page":"<integer>","query":"<string>"}'
```
