{
  "openapi": "3.0.1",
  "info": {
    "title": "Outdoorsy Scraper",
    "description": "Scrape Outdoorsy (outdoorsy.com) - the world's largest RV rental marketplace. Search rentals by location and dates, browse by RV type, fetch listings by URL, or scrape owner profiles. Get nightly/weekly/monthly prices, RV specs, sleeps, amenities, photos, ratings, and policies.",
    "version": "1.0",
    "x-build-id": "sPI7OcMDU1LMJCnc4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~outdoorsy-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-outdoorsy-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~outdoorsy-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-outdoorsy-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~outdoorsy-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-outdoorsy-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": [
              "search",
              "browseByRvType",
              "byUrl",
              "ownerProfile"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search location (mode=search)",
            "type": "string",
            "description": "City, region, or destination — e.g. `Austin, Texas`, `Los Angeles, CA`, `Yosemite National Park`, `United States`. Also accepts a country name.",
            "default": "United States"
          },
          "rvType": {
            "title": "RV type",
            "enum": [
              "",
              "classA",
              "classB",
              "classC",
              "camperVan",
              "travelTrailer",
              "fifthWheel",
              "toyHauler",
              "popup",
              "truckCamper"
            ],
            "type": "string",
            "description": "Only emit rentals of this RV type (mode=browseByRvType requires it; mode=search uses it as a filter)."
          },
          "searchAddress": {
            "title": "Search area (mode=browseByRvType)",
            "type": "string",
            "description": "Geographic area to search within (city, region, or country). Defaults to `United States`.",
            "default": "United States"
          },
          "listingUrls": {
            "title": "Listing URLs (mode=byUrl)",
            "type": "array",
            "description": "Outdoorsy listing page URLs, e.g. `https://www.outdoorsy.com/rv-rental/austin_tx/2021_winnebago_12345-listing` (bare listing IDs also accepted).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ownerRefs": {
            "title": "Owner URLs / IDs (mode=ownerProfile)",
            "type": "array",
            "description": "Outdoorsy owner profile URLs, e.g. `https://www.outdoorsy.com/users/4589700` (bare numeric owner IDs also accepted).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Filter: country",
            "enum": [
              "",
              "US",
              "CA",
              "UK",
              "AU",
              "EU"
            ],
            "type": "string",
            "description": "Only emit listings located in this country or region."
          },
          "minPrice": {
            "title": "Filter: minimum nightly price (USD)",
            "minimum": 1,
            "maximum": 100000,
            "type": "number",
            "description": "Only emit listings with a nightly price at or above this amount in USD."
          },
          "maxPrice": {
            "title": "Filter: maximum nightly price (USD)",
            "minimum": 1,
            "maximum": 100000,
            "type": "number",
            "description": "Only emit listings with a nightly price at or below this amount in USD."
          },
          "minRating": {
            "title": "Filter: minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only emit listings with an average rating at or above this value (0-5).",
            "default": 0
          },
          "containsKeyword": {
            "title": "Filter: contains keyword",
            "type": "string",
            "description": "Only emit listings whose title, make, model, city, state, or owner name contains this text (case-insensitive)."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "",
              "price_asc",
              "price_desc",
              "distance_asc",
              "distance_desc",
              "rating_desc",
              "rating_asc"
            ],
            "type": "string",
            "description": "Result ordering (mode=search / browseByRvType).",
            "default": ""
          },
          "deliveryOnly": {
            "title": "Filter: delivery available only",
            "type": "boolean",
            "description": "Only emit listings whose owner offers delivery.",
            "default": false
          },
          "instantBookOnly": {
            "title": "Filter: instant book only",
            "type": "boolean",
            "description": "Only emit listings that can be booked instantly.",
            "default": false
          },
          "petFriendlyOnly": {
            "title": "Filter: pet friendly only",
            "type": "boolean",
            "description": "Only emit listings that allow pets.",
            "default": false
          },
          "startDate": {
            "title": "Availability window: start date",
            "type": "string",
            "description": "Only emit listings available for these dates (YYYY-MM-DD). Requires `endDate`."
          },
          "endDate": {
            "title": "Availability window: end date",
            "type": "string",
            "description": "Only emit listings available for these dates (YYYY-MM-DD). Requires `startDate`."
          },
          "includeReviews": {
            "title": "Fetch listing reviews (mode=byUrl)",
            "type": "boolean",
            "description": "Fetch recent reviews for each listing fetched by URL (adds up to 10 review records per listing).",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional proxy. Outdoorsy generally does not require a proxy; if a request is blocked (403/429), the actor automatically retries it through this proxy."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}