ParkWhiz Smart
parkwhiz.smart-lookup
Find the cheapest parking at a given address or location for an event.
At a glance
- Endpoint ID
parkwhiz.smart-lookup- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 30 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "parkwhiz.smart-lookup", "input": { "event_id": 1814235, "location_id": 14744 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "parkwhiz.smart-lookup", "input": { "event_id": 1814235, "location_id": 14744 }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "parkwhiz.smart-lookup", "input": { "event_id": 1814235, "location_id": 14744 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
address |
string | one of | The lot's address or name. | |
event_id |
integer | one of | The event's ParkWhiz ID. | 1814235 |
event_url |
string | one of | The event's ParkWhiz page. | |
location_id |
integer | one of | The lot's location ID, as an alternative to its address. | 14744 |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "address": "", "currency": "USD", "location_address": "650 S. West St.", "location_name": "IFA Lot", "lookup_method": "exact", "parking_end": "2026-10-31T23:30:00-04:00", "parking_start": "2026-10-31T18:30:00-04:00", "pw_availability": "available", "pw_base_price": 59.99, "pw_total_price": 60.99, "quote_end": "2026-11-01T05:30:00.000-05:00", "quote_start": "2026-10-31T13:30:00.000-04:00", "scraped_at": "2026-10-12T09:41:18Z", "site_url": "/p/indianapolis-parking/650-s-west-st"}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
address |
string | The street address. | |
currency |
string | The currency code of the prices. | USD |
location_address |
string | The parking location's address. | 650 S. West St. |
location_name |
string | The parking location's name. | IFA Lot |
lookup_method |
string | How the lot was matched to the request. | exact |
parking_end |
string | When the parking quote ends. | 2026-10-31T23:30:00-04:00 |
parking_start |
string | When the parking quote starts. | 2026-10-31T18:30:00-04:00 |
pw_availability |
string | Whether ParkWhiz shows a space as available. | available |
pw_base_price |
number | ParkWhiz's price before fees. | 59.99 |
pw_total_price |
number | ParkWhiz's price with fees. | 60.99 |
quote_end |
string | When the quoted parking ends. | 2026-11-01T05:30:00.000-05:00 |
quote_start |
string | When the quoted parking starts. | 2026-10-31T13:30:00.000-04:00 |
scraped_at |
string | When the data was read. | 2026-10-12T09:41:18Z |
site_url |
string | The page on ParkWhiz's site. | /p/indianapolis-parking/650-s-west-st |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other ParkWhiz endpoints
parkwhiz.event-quotesEvent quotesparkwhiz.event.getEventparkwhiz.facilities.searchParking facilities searchparkwhiz.facility.getParking facilityparkwhiz.facility.reviewsFacility reviewsparkwhiz.hubs.searchMetro hubs searchparkwhiz.monthly-parking.searchMonthly parking searchparkwhiz.parking.searchHourly parking searchparkwhiz.search-eventsEvents searchparkwhiz.search-venuesVenues searchparkwhiz.venue.getVenue
Something missing or unclear? Ask the team that builds the ParkWhiz endpoints.