{
  "openapi": "3.0.1",
  "info": {
    "title": "GetYourGuide Scraper - Tours, Prices, Ratings & Duration",
    "description": "Scrape GetYourGuide tours and activities by destination, search link or activity link: price and discount, rating, review count, duration, cancellation, guide languages, highlights, inclusions, meeting point and supplier. Any currency, real filters. Error rows are free.",
    "version": "0.1",
    "x-build-id": "TzWr85ZayzxkxL5g1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~getyourguide-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-getyourguide-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/scrapewise~getyourguide-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-getyourguide-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/scrapewise~getyourguide-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-getyourguide-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",
        "properties": {
          "searchQueries": {
            "title": "Destinations or keywords",
            "type": "array",
            "description": "What you would type in the GetYourGuide search box, one per line: a city (Rome), a landmark (Eiffel Tower) or a keyword (Lisbon food tour). Each line is one search. Leave empty when you paste links below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "GetYourGuide links",
            "type": "array",
            "description": "Search result links (getyourguide.com/s/?q=...), destination pages (getyourguide.com/rome-l33/), category pages, or single activity links (...-t429439/). Filters already in a link are kept.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "AUD",
              "CAD",
              "CHF",
              "JPY",
              "INR",
              "BRL",
              "MXN",
              "SGD",
              "AED",
              "NZD",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "CZK",
              "HKD",
              "ZAR",
              "TRY",
              "THB",
              "KRW",
              "CNY",
              "ILS"
            ],
            "type": "string",
            "description": "Currency of every price in the run.",
            "default": "USD"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "popularity",
              "rating",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of the search results.",
            "default": "popularity"
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "any",
              "3.0",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Keep only activities rated at least this.",
            "default": "any"
          },
          "durations": {
            "title": "Duration",
            "type": "array",
            "description": "Keep only these durations. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "0-3h",
                "3-5h",
                "5-7h",
                "full_day",
                "2_days",
                "3_days",
                "4_days",
                "5_days_plus"
              ],
              "enumTitles": [
                "0 to 3 hours",
                "3 to 5 hours",
                "5 to 7 hours",
                "Full day (7+ hours)",
                "2 days",
                "3 days",
                "4 days",
                "5+ days"
              ]
            }
          },
          "features": {
            "title": "Features",
            "type": "array",
            "description": "Keep only activities with all of these features. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "private_tour",
                "skip_the_line",
                "small_group",
                "wheelchair_accessible",
                "hotel_pickup",
                "gyg_originals"
              ],
              "enumTitles": [
                "Private tour",
                "Skip the line",
                "Small group",
                "Wheelchair accessible",
                "Hotel pickup possible",
                "Originals by GetYourGuide"
              ]
            }
          },
          "languages": {
            "title": "Guide languages",
            "type": "array",
            "description": "Two-letter language codes of the live guide or audio guide, for example en, es, de. Empty = any language.",
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price per person, in the chosen currency."
          },
          "priceMax": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price per person, in the chosen currency."
          },
          "dateFrom": {
            "title": "Available from",
            "type": "string",
            "description": "Only activities with availability on these dates (YYYY-MM-DD). Prices then follow those dates."
          },
          "dateTo": {
            "title": "Available until",
            "type": "string",
            "description": "End of the date window (YYYY-MM-DD). Empty = same day as Available from."
          },
          "includeDetails": {
            "title": "Full activity details",
            "type": "boolean",
            "description": "On: open each activity page for exact rating, cancellation policy, guide languages, highlights, inclusions, meeting point, itinerary and supplier. Off: faster, search card fields only.",
            "default": true
          },
          "maxItems": {
            "title": "Max activities",
            "minimum": 0,
            "type": "integer",
            "description": "Cap for the whole run, across every search and link (0 = no cap).",
            "default": 50
          },
          "onlyNew": {
            "title": "Only new activities",
            "type": "boolean",
            "description": "On: skip activities this Actor already delivered for the same search in earlier runs of your account.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy by default. GetYourGuide refuses datacenter IPs, so the run goes through a US residential proxy, with the search card fields only.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}