# Reservations Ontarioparks — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search for available group campsites across Ontario Parks and discover which parks offer group camping facilities with real-time weekend availability throughout your desired months. Plan your group camping trip by checking campsite openings and comparing options across multiple parks in one place.

**Category:** Travel | **Website:** [reservations.ontarioparks.ca/](https://reservations.ontarioparks.ca/) | **Docs:** [parse.bot/marketplace/979fcfc9-53d9-4bb7-af9c-b1d3033a5f70/reservations-ontarioparks-ca-api](https://parse.bot/marketplace/979fcfc9-53d9-4bb7-af9c-b1d3033a5f70/reservations-ontarioparks-ca-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-reservations-ontarioparks-ca-api-979fcfc9/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_park_availability

Get detailed group campsite availability for a specific park on specific dates. Shows resources and child map areas with daily availability codes. Use map_id values from list_parks or search_group_campsite_availability results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_date` | string | Yes | End date in YYYY-MM-DD format. |
| `map_id` | integer | Yes | Park map ID from list_parks results or search results (e.g. -2147483558 for Charleston Lake). |
| `start_date` | string | Yes | Start date in YYYY-MM-DD format. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reservations-ontarioparks-ca-api-979fcfc9/get_park_availability \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"<string>","map_id":"<integer>","start_date":"<string>"}'
```

### list_parks

List all Ontario Parks that have group campsite facilities, organized by region. Discovers parks by querying the availability API with the group campsite booking category.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reservations-ontarioparks-ca-api-979fcfc9/list_parks \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_group_campsite_availability

Search for group campsite availability on weekends across specified months. Discovers parks with group campsites then checks each weekend's availability at the region level. Returns park-level availability summary including daily status codes and weekend counts. Queries 5 regions per weekend so a single-month range (about 4-5 weekends) completes within timeout.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_month` | integer | No | End month (1-12). Must be >= start_month. |
| `start_month` | integer | No | Start month (1-12). |
| `year` | integer | No | Year to search. Omitting defaults to the current year. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reservations-ontarioparks-ca-api-979fcfc9/search_group_campsite_availability \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_month":"<integer>","start_month":"<integer>","year":"<integer>"}'
```
