ParkWhiz Metro Hubs Search API
Find the ParkWhiz cities and metro areas near a point.
- 1 credit per call
- Failed calls are free
- Updated
- parkwhiz.hubs.search
{ "has_more": true, "next_page": 2, "page": 1, "total": 116, "total_pages": 6, "hubs": [ { "name": "Chicago", "city": "Chicago", "country": "US", "hub_id": 2, "postal_code": "60604", "state": "IL", "coordinates": [ 41.8781136, -87.6297982 ] }, { "name": "Arlington Heights", "city": "Arlington Heights", "country": "US", "hub_id": 47, "postal_code": "60005", "state": "IL", "coordinates": [ 42.0883603, -87.9806265 ] } ]}
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| latitude | number | yes | Latitude in decimal degrees. From -90 to 90. | 41.881943 |
| longitude | number | yes | Longitude in decimal degrees. From -180 to 180. | -87.630976 |
| distance_miles | integer | no | From 1 to 250. Default: 50. |
|
| limit | integer | no | Maximum number of results to return. From 1 to 50. Default: 20. |
|
| only_major_metros | boolean | no | Default: false. |
|
| page | integer | no | One-based result page to fetch. From 1 to 100. Default: 1. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| has_more | boolean | Whether another page follows. | true |
| hubs | array | ParkWhiz's parking areas, such as a downtown or an airport. | 20 records |
| hubs[].city | string | The city. | Chicago |
| hubs[].coordinates | array | The entrance's position. | 41.8781136, -87.6297982 |
| hubs[].country | string | The country code. | US |
| hubs[].hub_id | integer | ParkWhiz's ID for the area. | 2 |
| hubs[].name | string | The name as ParkWhiz shows it. | Chicago |
| hubs[].postal_code | string | The postcode. | 60604 |
| hubs[].state | string | The state code. | IL |
| next_page | integer | Send it as page to get the next page. | 2 |
| page | integer | The page this response holds. | 1 |
| total | integer | How many entries match. | 116 |
| total_pages | integer | How many pages there are. | 6 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
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.hubs.search", "input": { "latitude": 41.881943, "longitude": -87.630976 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "parkwhiz.hubs.search", "input": { "latitude": 41.881943, "longitude": -87.630976 }}''')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.hubs.search", "input": { "latitude": 41.881943, "longitude": -87.630976 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
Use Upscrape to list the ParkWhiz metro hubs near Chicago.
More from the ParkWhiz API
- ParkWhiz Hourly Parking Search API1 credit
- ParkWhiz Event Quotes API1 credit
- ParkWhiz Monthly Parking Search API1 credit
- ParkWhiz Events Search API1 credit
- ParkWhiz Parking Facilities Search API1 credit
- ParkWhiz Parking Facility API1 credit
- ParkWhiz Facility Reviews API1 credit
- ParkWhiz Smart API1 credit
- ParkWhiz Venues Search API1 credit
- ParkWhiz Venue API1 credit
- ParkWhiz Event API1 credit
ParkWhiz Metro Hubs Search API FAQ
The short answers. The docs have the long ones.
How much does the ParkWhiz Metro Hubs Search API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send latitude and longitude. The input fields below list every option with its type and limits.
Do I need a ParkWhiz login?
No. It reads public ParkWhiz data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds parkwhiz.hubs.search, checks its price and runs it with the same credits as the REST API.
Your first ParkWhiz call is free.
Up to 100 free credits to start, no card needed.