Skip to main content
Get availability for all campsites in a campground
curl --request GET \
  --url https://api.campflare.com/v2/campground/:id/availability
{
  "campsite_availability": [
    {
      "campsite_id": "<string>",
      "availability": {}
    }
  ]
}
Returns a daily availability structure associated with the given campground for up to 12 months in the future with a maximum of 60 days returned at a time.
StatusDescription
availableThe campsite is available for reservation for that date
reservedThe campsite is already reserved and occupied for that date
closedThe campsite is closed and not accepting reservations or walk-ups
first-come-first-serveThe campsite is available on a first come first serve basis
not-yet-releasedThe date is in the future but reservations have not yet been released
unknownThe availability status is unknown or cannot be determined
GET /campground/:id/availability
[
  {
    "campsite_id": "123456",
    "availability": {
      "2023-06-01": "available",
      "2023-06-02": "reserved",
      "2023-06-03": "closed",
      "2023-06-04": "closed",
      "2023-06-05": "closed",
      "2023-06-06": "closed",
      ...
    },
  },
  {
    "campsite_id": "38477",
    "availability": {
      "2023-06-01": "first-come-first-serve",
      "2023-06-02": "first-come-first-serve",
      "2023-06-03": "first-come-first-serve",
      "2023-06-04": "closed",
      "2023-06-05": "closed",
      "2023-06-06": "closed",
      ...
    }
    ...
]

Path Parameters

id
string
required

Unique identifier of the campground

Query Parameters

start_date
string<date>
required

Start date in YYYY-MM-DD format

end_date
string<date>
required

End date in YYYY-MM-DD format

Response

Array of campsite availability

campsite_availability
object[]
required