Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaMaps & ReviewsAvailable now

Recreation.gov · Search

recreation-gov/camping-availability/search

Get 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

FieldKindDefaultDescription
sizenumber
1 to 50
20

Results per page (1-50).

sortone of
available, score
—

available puts entities with availability for the dates first (the site's default with dates); score is relevance.

querytext—

Free text: a park, forest, campground, or place name.

startnumber
0 to …
0

Offset of the first result; use next_start from the previous page.

statetext—

US state name as Recreation.gov spells it, e.g. Utah, California.

end_datetext—

Departure date YYYY-MM-DD, after start_date. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

latitudenumber—

Search centre latitude; requires longitude.

longitudenumber—

Search centre longitude; requires latitude.

parent_idtext—

Restrict to children of this rec area id (e.g. 2991 Yosemite National Park). Pattern: ^[0-9]{1,12}$.

start_datetext—

Arrival date YYYY-MM-DD (facility local calendar date). With end_date the index reports availability for that stay. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

entity_typeone of
campground, recarea, permit, ticketfacility, tour, timedentry, vehiclepermit, venuereservations, treepermit, activitypass, facility, visitorcenter
campground

Inventory type to return.

radius_milesnumber
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.