{
  "openapi": "3.0.1",
  "info": {
    "title": "SpotHero Scraper",
    "description": "Scrape SpotHero - the parking spot marketplace. Browse city parking overviews, search venues/addresses/businesses by name, and get per-facility live pricing, ratings, amenities, and address details for parking near any destination. No login required.",
    "version": "1.0",
    "x-build-id": "J20Tr42kZ0UjNYof5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~spothero-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-spothero-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~spothero-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-spothero-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~spothero-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-spothero-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": [
              "city",
              "search",
              "destination"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "city"
          },
          "citySlug": {
            "title": "City (mode=city, destination)",
            "enum": [
              "chicago",
              "nyc",
              "washington-dc",
              "san-francisco",
              "newark",
              "denver",
              "philadelphia",
              "baltimore",
              "boston",
              "new-orleans",
              "minneapolis",
              "st-paul",
              "nashville",
              "milwaukee",
              "seattle",
              "miami",
              "san-diego",
              "indianapolis",
              "cleveland",
              "dallas",
              "houston",
              "phoenix",
              "atlanta",
              "pittsburgh",
              "orlando",
              "cincinnati",
              "st-louis",
              "arlington",
              "detroit",
              "los-angeles",
              "jacksonville",
              "oakland",
              "hoboken",
              "san-jose",
              "monterey",
              "tampa",
              "fort-lauderdale",
              "jersey-city",
              "white-plains",
              "austin",
              "beverly-hills",
              "wilmington",
              "santa-monica",
              "sacramento",
              "el-paso",
              "fort-worth",
              "lexington",
              "kansas-city",
              "san-antonio",
              "charlotte",
              "norfolk",
              "portland",
              "columbus",
              "omaha",
              "buffalo",
              "las-vegas",
              "memphis",
              "richmond",
              "hartford",
              "stamford",
              "providence",
              "oklahoma-city",
              "raleigh",
              "burlington",
              "annapolis",
              "tulsa",
              "louisville",
              "blacksburg",
              "santa-barbara",
              "malibu",
              "jackson",
              "mobile-alabama",
              "knoxville",
              "honolulu",
              "salt-lake-city",
              "dayton",
              "greenville",
              "toronto",
              "edmonton",
              "calgary",
              "anchorage",
              "hamilton",
              "vancouver",
              "ottawa",
              "winnipeg",
              "portland-maine",
              "reading",
              "savannah",
              "charleston",
              "baton-rouge",
              "auburn",
              "tucson",
              "south-bend",
              "grand-rapids",
              "birmingham",
              "newport-news",
              "hunting",
              "springfield-massachusetts",
              "palm-springs-california",
              "new-haven",
              "charleston-wv",
              "fort-myers-fl",
              "manchester-nh",
              "albuquerque",
              "des-moines",
              "reno",
              "london",
              "shreveport",
              "san-ramon",
              "green-bay",
              "toledo",
              "tallahassee",
              "albany",
              "fayetteville",
              "waterloo",
              "corpus-christi",
              "little-rock",
              "richmond-bc",
              "spokane",
              "santa-fe",
              "halifax",
              "st-johns",
              "harrisburg",
              "college-station",
              "eugene-or",
              "salem-or",
              "springfield-mo",
              "kapaa-hi",
              "wilmington-nc",
              "chattanooga-tn",
              "regina-sk",
              "saskatoon-sk",
              "pensacola-fl",
              "kahului-hi",
              "waco-tx",
              "barrie-on",
              "myrtle-beach-sc",
              "columbia-sc",
              "virginia-beach-va",
              "syracuse-ny",
              "portsmouth-nh",
              "billings-mt",
              "st-catharines-on",
              "sioux-falls-sd",
              "kelowna-bc",
              "vancouver-wa"
            ],
            "type": "string",
            "description": "SpotHero city to browse or the city a destination belongs to.",
            "default": "chicago"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Venue, business, address, or landmark name to search for, e.g. `united center`, `times square`, `123 main st`.",
            "default": "united center"
          },
          "destinationSlugs": {
            "title": "Destination slugs (mode=destination)",
            "type": "array",
            "description": "SpotHero destination URL slugs within `citySlug`, e.g. `united-center-parking`, `wrigley-field-parking`. Find slugs via mode=city or mode=search.",
            "default": [
              "united-center-parking"
            ],
            "items": {
              "type": "string"
            }
          },
          "arrivalDateTime": {
            "title": "Arrival date/time (mode=destination)",
            "type": "string",
            "description": "Requested arrival time (ISO 8601, e.g. 2026-08-15T18:00:00). SpotHero returns its own live quoted rate window per facility (see `rateWindowStart`/`rateWindowEnd` on each record) — the requested window is not guaranteed to be honored without an interactive browser session."
          },
          "departureDateTime": {
            "title": "Departure date/time (mode=destination)",
            "type": "string",
            "description": "Requested departure time (ISO 8601). See `arrivalDateTime` note."
          },
          "monthlyOnly": {
            "title": "Monthly parking only",
            "type": "boolean",
            "description": "Only keep destinations/spots that support monthly (subscription) parking, not just hourly/daily.",
            "default": false
          },
          "parkingType": {
            "title": "Parking pass type filter",
            "enum": [
              "",
              "self_park",
              "self_park_see_attendant",
              "scan_in_ticket_out",
              "scan_in_out",
              "license_plate",
              "operator_scan"
            ],
            "type": "string",
            "description": "Only keep parking spots redeemed via this pass type.",
            "default": ""
          },
          "minPrice": {
            "title": "Min total price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop parking spots priced below this."
          },
          "maxPrice": {
            "title": "Max total price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop parking spots priced above this."
          },
          "includeSpots": {
            "title": "Also fetch live pricing (mode=search)",
            "type": "boolean",
            "description": "For each search result, additionally fetch its destination page for facility-level pricing. Slower — bounded by Max items.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}