{
  "openapi": "3.0.1",
  "info": {
    "title": "GetYourGuide Activity Pricing & Highlights Extractor",
    "description": "Search GetYourGuide by destination or activity keyword, or supply direct URLs, and get pricing, ratings, highlights, duration, cancellation policy, and supplier details for each tour or activity.",
    "version": "1.1",
    "x-build-id": "XLZTaKeRScGfc7ZN4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~getyourguide-activity-pricing-and-highlights/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-getyourguide-activity-pricing-and-highlights",
        "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/vexaloom-labs~getyourguide-activity-pricing-and-highlights/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-getyourguide-activity-pricing-and-highlights",
        "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/vexaloom-labs~getyourguide-activity-pricing-and-highlights/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-getyourguide-activity-pricing-and-highlights",
        "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",
        "properties": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Cities, landmarks, or activity keywords to search on GetYourGuide. One search per item, e.g. 'rome', 'eiffel tower', 'food tour paris'. Used for the keyword-search mode.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "GetYourGuide URLs or activity IDs. Accepts search pages (/s/?q=...), destination/attraction pages (…-l<id>/), category pages (…-tc<id>/), activity pages (…-t<id>/), and bare IDs such as 631866 or t631866. URL query filters are preserved.",
            "items": {
              "type": "string"
            }
          },
          "activityIds": {
            "title": "Activity IDs (optional)",
            "type": "array",
            "description": "Direct GetYourGuide activity IDs. Each ID opens its activity page and returns full detail fields.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum activities to return across all queries, URLs, and IDs.",
            "default": 30
          },
          "includeDetails": {
            "title": "Fetch activity detail pages",
            "type": "boolean",
            "description": "Open each activity page to add full descriptions, highlights, inclusions, exclusions, meeting point, cancellation policy, supplier, and review fields. Turn off for the fastest search-card-only runs.",
            "default": true
          },
          "maxReviews": {
            "title": "Reviews per activity",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many recent reviews to attach to each activity (0 disables reviews). Only used when detail pages are fetched.",
            "default": 0
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "AUD",
              "CAD",
              "CHF",
              "JPY",
              "INR",
              "BRL",
              "MXN",
              "NZD",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "CZK",
              "HUF",
              "RON",
              "TRY",
              "ZAR",
              "AED",
              "SAR",
              "ILS",
              "SGD",
              "HKD",
              "TWD",
              "KRW",
              "THB",
              "MYR",
              "IDR",
              "PHP",
              "VND",
              "CNY",
              "ARS",
              "CLP",
              "COP",
              "PEN",
              "RUB",
              "UAH",
              "EGP"
            ],
            "type": "string",
            "description": "Currency for all prices.",
            "default": "USD"
          },
          "language": {
            "title": "Content language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "pl",
              "ru",
              "tr",
              "ja",
              "ko",
              "zh",
              "ar",
              "da",
              "sv",
              "no",
              "fi",
              "cs",
              "el",
              "he",
              "hu",
              "id",
              "ms",
              "ro",
              "sk",
              "sl",
              "sr",
              "th",
              "uk",
              "vi"
            ],
            "type": "string",
            "description": "Language for titles, descriptions, highlights, and policies.",
            "default": "en"
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "popularity",
              "rating",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of search and listing results.",
            "default": "popularity"
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "any",
              "3.0",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Only return activities with at least this star rating.",
            "default": "any"
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Minimum starting price in the selected currency. 0 means no minimum.",
            "default": 0
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum starting price in the selected currency. 0 means no maximum.",
            "default": 0
          },
          "dateFrom": {
            "title": "Available from",
            "type": "string",
            "description": "Only activities available on or after this date (YYYY-MM-DD). Leave empty for any date."
          },
          "dateTo": {
            "title": "Available to",
            "type": "string",
            "description": "Only activities available on or before this date (YYYY-MM-DD). Leave empty for any date."
          },
          "startTime": {
            "title": "Start time of day",
            "type": "array",
            "description": "Filter by start time. Any of: morning, afternoon, evening.",
            "items": {
              "type": "string"
            }
          },
          "durations": {
            "title": "Duration buckets",
            "type": "array",
            "description": "Filter by duration. Any of: up_to_3_hours, 3_to_5_hours, 5_to_7_hours, full_day, 2_days, 3_days, 4_days, 5_days_plus.",
            "items": {
              "type": "string"
            }
          },
          "features": {
            "title": "Activity features",
            "type": "array",
            "description": "Filter by features. Any of: private_tour, skip_the_line, small_group, wheelchair_accessible, hotel_pickup, gyg_originals.",
            "items": {
              "type": "string"
            }
          },
          "guideLanguages": {
            "title": "Guide languages",
            "type": "array",
            "description": "Only activities offered in these guide languages, using two-letter codes (en, de, fr, es, it, pt, …).",
            "items": {
              "type": "string"
            }
          },
          "interests": {
            "title": "Interest IDs",
            "type": "array",
            "description": "GetYourGuide interest IDs such as tc-27 (culture & history) or tc-103 (food & drink). Copy them from a search page URL or the available filters.",
            "items": {
              "type": "string"
            }
          },
          "places": {
            "title": "Place IDs",
            "type": "array",
            "description": "Numeric GetYourGuide place/attraction IDs (e.g. 2619 for the Colosseum). Copy them from a search page URL.",
            "items": {
              "type": "string"
            }
          },
          "departsFrom": {
            "title": "Departure city IDs",
            "type": "array",
            "description": "Numeric departure-city IDs. Copy them from a search page URL.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}