# Get Event

Retrieve ParkWhiz event identity, venue, time window, type, and canonical path.

- Platform: [ParkWhiz](https://docs.upscrape.com/docs/platforms/parkwhiz)
- Capability ID: `parkwhiz.event.get`
- 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": {
    "event_id": 1723404
  },
  "capability": "parkwhiz.event.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `event_id` | `integer` | Yes | Event identifier. |

### Example input

```json
{
  "event_id": 1723404
}
```

## 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
{
  "event": {
    "end_time": "2026-09-09T22:00:00.000-04:00",
    "event_id": 1723404,
    "event_type": "concert",
    "name": "Bruno Mars: The Romantic Tour",
    "site_url": "/lucas-oil-stadium-parking/bruno-mars-the-romantic-tour-1723404/",
    "start_time": "2026-09-09T19:00:00.000-04:00",
    "times_tbd": false,
    "venue_id": 59
  },
  "scraped_at": "2026-08-30T12:44:25Z"
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `event` | `object` | 8 fields |
| `event.end_time` | `string` | 2026-09-09T22:00:00.000-04:00 |
| `event.event_id` | `integer` | 1723404 |
| `event.event_type` | `string` | concert |
| `event.name` | `string` | Bruno Mars: The Romantic Tour |
| `event.site_url` | `string` | /lucas-oil-stadium-parking/bruno-mars-the-romantic-tour-1723404/ |
| `event.start_time` | `string` | 2026-09-09T19:00:00.000-04:00 |
| `event.times_tbd` | `boolean` | false |
| `event.venue_id` | `integer` | 59 |
| `scraped_at` | `string` | 2026-08-30T12:44:25Z |

## 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)
