# Search Monthly Parking

Search ParkWhiz monthly parking inventory near coordinates.

- Platform: [ParkWhiz](https://docs.upscrape.com/docs/platforms/parkwhiz)
- Capability ID: `parkwhiz.monthly-parking.search`
- Cost: 1 credit per request
- Maximum runtime: 30 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "distance_miles": 0.5,
    "latitude": 41.881943,
    "longitude": -87.630976
  },
  "capability": "parkwhiz.monthly-parking.search"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `distance_miles` | `number` | No | Distance miles supplied for this request. |
| `latitude` | `number` | Yes | Latitude supplied for this request. |
| `longitude` | `number` | Yes | Longitude supplied for this request. |

### Example input

```json
{
  "distance_miles": 0.5,
  "latitude": 41.881943,
  "longitude": -87.630976
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "latitude": 41.881943,
  "locations": [
    {
      "address": "217 W. Washington St.",
      "available": true,
      "base_price": 70,
      "distance_meters": 333,
      "lat": 41.88309000202042,
      "location_id": 6157,
      "lon": -87.63469012696696,
      "name": "Washington Wells Garage",
      "quote_id": "b6076f9f-c307-4c6e-838e-ef49fc49026a",
      "site_url": "/p/chicago-parking/217-w-washington-st",
      "total_price": 70
    },
    {
      "address": "230 W. Washington St.",
      "available": true,
      "base_price": 70,
      "distance_meters": 362,
      "lat": 41.8833271040038,
      "location_id": 5617,
      "lon": -87.63493487611413,
      "name": "Washington-Franklin Garage",
      "quote_id": "26dc381b-92d2-476b-b720-f122f69fa5d8",
      "site_url": "/p/chicago-parking/230-w-washington-st",
      "total_price": 70
    },
    {
      "address": "181 N. Clark St.",
      "available": true,
      "base_price": 120,
      "distance_meters": 381,
      "lat": 41.88537314303264,
      "location_id": 6155,
      "lon": -87.63081550598145,
      "name": "Government Center Self Park Garage",
      "quote_id": "bc3e2014-571d-492c-a14f-1b1564177d4f",
      "site_url": "/p/chicago-parking/181-n-clark-st",
      "total_price": 120
    }
  ],
  "longitude": -87.630976,
  "scraped_at": "2026-08-30T12:44:20Z",
  "search_type": "monthly"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `latitude` | `number` | 41.881943 |
| `locations` | `array` | 3 items |
| `locations` | `array` | 3 items |
| `longitude` | `number` | -87.630976 |
| `scraped_at` | `string` | 2026-08-30T12:44:20Z |
| `search_type` | `string` | monthly |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
