{
  "openapi": "3.0.1",
  "info": {
    "title": "Intrepid Travel Package Tour Scraper",
    "description": "Scrape small-group package tours from intrepidtravel.com - browse by destination/region or trip style/theme (wildlife, cycling, family, walking, expeditions...), filter by duration/price/travel style, and get full tour detail with itinerary, inclusions, and reviews. No login required.",
    "version": "1.0",
    "x-build-id": "Dmbe67YU2aSOBW1YR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~intrepid-travel-tour-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-intrepid-travel-tour-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/crawlerbros~intrepid-travel-tour-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-intrepid-travel-tour-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/crawlerbros~intrepid-travel-tour-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-intrepid-travel-tour-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "browse",
              "tripDetail"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "browse"
          },
          "destination": {
            "title": "Destination / region",
            "enum": [
              "none",
              "africa",
              "antarctica",
              "arctic",
              "asia",
              "caribbean",
              "central-america",
              "europe",
              "latin-america",
              "middle-east",
              "north-america",
              "oceania",
              "south-america",
              "south-pacific",
              "southeast-asia",
              "argentina",
              "australia",
              "austria",
              "bali",
              "belize",
              "bhutan",
              "bolivia",
              "borneo",
              "botswana",
              "brazil",
              "bulgaria",
              "cambodia",
              "canada",
              "chile",
              "china",
              "colombia",
              "costa-rica",
              "croatia",
              "cuba",
              "cyprus",
              "czech-republic",
              "ecuador",
              "egypt",
              "ethiopia",
              "fiji",
              "finland",
              "france",
              "galapagos-islands",
              "georgia",
              "germany",
              "greece",
              "greenland",
              "guatemala",
              "hong-kong",
              "hungary",
              "iceland",
              "india",
              "indonesia",
              "iran",
              "ireland",
              "israel",
              "italy",
              "japan",
              "jordan",
              "kazakhstan",
              "kenya",
              "kyrgyzstan",
              "laos",
              "madagascar",
              "malaysia",
              "maldives",
              "malta",
              "mexico",
              "mongolia",
              "morocco",
              "myanmar-burma",
              "namibia",
              "nepal",
              "netherlands",
              "new-zealand",
              "nicaragua",
              "norway",
              "oman",
              "pakistan",
              "panama",
              "papua-new-guinea",
              "patagonia",
              "peru",
              "philippines",
              "poland",
              "portugal",
              "romania",
              "russia",
              "rwanda",
              "saudi-arabia",
              "scotland",
              "serbia",
              "seychelles",
              "singapore",
              "slovenia",
              "south-africa",
              "south-korea",
              "spain",
              "sri-lanka",
              "sweden",
              "switzerland",
              "taiwan",
              "tanzania",
              "thailand",
              "tibet",
              "tunisia",
              "turkey",
              "uganda",
              "ukraine",
              "united-kingdom",
              "united-states",
              "uzbekistan",
              "vanuatu",
              "vietnam",
              "zambia",
              "zimbabwe"
            ],
            "type": "string",
            "description": "Browse tours in this destination or region (mode=browse). Leave as `none` to browse by theme only. If both destination and theme are left as `none`, the actor falls back to a demo destination (\"peru\") so the daily test run still returns data.",
            "default": "none"
          },
          "customDestinationSlug": {
            "title": "Custom destination slug (overrides Destination)",
            "type": "string",
            "description": "For a destination not in the dropdown, enter its intrepidtravel.com URL slug directly, e.g. `armenia` from intrepidtravel.com/us/armenia."
          },
          "theme": {
            "title": "Trip style / theme",
            "enum": [
              "none",
              "wildlife",
              "family",
              "walking",
              "18-35s",
              "womens-expeditions",
              "short-breaks",
              "explorer",
              "cruising",
              "expeditions",
              "sailing",
              "food",
              "rail",
              "polar",
              "cycling",
              "camping",
              "festivals",
              "solo-travel"
            ],
            "type": "string",
            "description": "Browse tours in this trip style/theme (mode=browse). Leave as `none` to browse by destination only.",
            "default": "none"
          },
          "sortBy": {
            "title": "Sort by (mode=browse)",
            "enum": [
              "relevance",
              "priceLowToHigh",
              "priceHighToLow",
              "durationShortToLong",
              "durationLongToShort",
              "ratingHighToLow"
            ],
            "type": "string",
            "description": "Reorder the returned tours. Applied to the tours already fetched/filtered for the given destination/theme (client-side reorder, same as the site's own sort-by control) -- does not change which tours are returned, only their order, and is applied before `maxItems` truncates the list.",
            "default": "relevance"
          },
          "travelStyle": {
            "title": "Travel style tier filter",
            "enum": [
              "any",
              "Basic",
              "Original",
              "Comfort",
              "Premium"
            ],
            "type": "string",
            "description": "Filter results to a specific comfort tier.",
            "default": "any"
          },
          "searchKeyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Only keep tours whose name/destinations contain this text (case-insensitive)."
          },
          "minDuration": {
            "title": "Min duration (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Drop tours shorter than this many days."
          },
          "maxDuration": {
            "title": "Max duration (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Drop tours longer than this many days."
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop tours priced below this (from-price, USD)."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop tours priced above this (from-price, USD)."
          },
          "departureDateFrom": {
            "title": "Departure date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Only keep tours with a listed departure on/after this date."
          },
          "departureDateTo": {
            "title": "Departure date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Only keep tours with a listed departure on/before this date."
          },
          "tripUrls": {
            "title": "Tour URLs / slugs (mode=tripDetail)",
            "type": "array",
            "description": "Tour path slugs or full URLs, e.g. `peru/inca-trail-express-166999` or `https://www.intrepidtravel.com/us/peru/inca-trail-express-166999`.",
            "default": [
              "peru/inca-trail-express-166999"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 25
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Only used as an automatic fallback if intrepidtravel.com starts returning 403/429 responses. Leave default for normal operation (no proxy cost).",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}