gyg_search_tours
Search GetYourGuide tours and activities using filters for location, category, dates, and sort by price or rating. Use compact mode for efficient browsing.
Instructions
Search GetYourGuide tours and activities. Filter by free text (or "iata:" for airports), location ID, category ID, and date range; sort by popularity, price, or rating. Set compact=true for slim summaries when browsing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search, e.g. "louvre skip the line" or "iata:jfk". | |
| limit | No | Maximum number of items to return (1-500). | |
| dateTo | No | Latest date, YYYY-MM-DD (or full YYYY-MM-DDThh:mm:ss). | |
| offset | No | Number of items to skip (0-based). | |
| compact | No | Return slim tour summaries instead of full records (recommended for browsing). | |
| currency | No | Currency for prices, ISO 4217 (e.g. USD, EUR). Defaults to GYG_CURRENCY when set. | |
| dateFrom | No | Earliest date, YYYY-MM-DD (or full YYYY-MM-DDThh:mm:ss). Required when dateTo is set. | |
| language | No | Content language (e.g. en, de). Defaults to GYG_LANGUAGE when set. | |
| sortField | No | Sort field (API default: popularity). | |
| categoryId | No | Restrict to a category ID. | |
| locationId | No | Restrict to a location ID (city/POI/region). | |
| extraParams | No | Extra raw query params to merge into the request verbatim (escape hatch for API drift). | |
| sortDirection | No | Sort direction (ignored for popularity). |