Recreation.gov · Search
recreation-gov/camping-availability/searchGet places and reviews from maps with Recreation.gov · Search from Alexandria through one Spiral API key. Start here to find a campground_id / permit_id / rec area id by name or place; then call campground, campsites, campground_availability or permit_availability. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
size | number 1 to 50 | 20 | Results per page (1-50). |
sort | one of available, score | — |
|
query | text | — | Free text: a park, forest, campground, or place name. |
start | number 0 to … | 0 | Offset of the first result; use |
state | text | — | US state name as Recreation.gov spells it, e.g. |
end_date | text | — | Departure date YYYY-MM-DD, after |
latitude | number | — | Search centre latitude; requires |
longitude | number | — | Search centre longitude; requires |
parent_id | text | — | Restrict to children of this rec area id (e.g. 2991 Yosemite National Park). Pattern: ^[0-9]{1,12}$. |
start_date | text | — | Arrival date YYYY-MM-DD (facility local calendar date). With |
entity_type | one of campground, recarea, permit, ticketfacility, tour, timedentry, vehiclepermit, venuereservations, treepermit, activitypass, facility, visitorcenter | campground | Inventory type to return. |
radius_miles | number 1 to 2000 | — | Search radius around the centre, miles (default 50 when coordinates are given). |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "recreation-gov/camping-availability/search",
"input": {
"size": 20
}
}'Frequently asked questions
How much does Recreation.gov · Search cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Recreation.gov · Search through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "recreation-gov/camping-availability/search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Recreation.gov · Search?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Recreation.gov · Search?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.