Skip to main content
Search campgrounds
curl --request POST \
  --url https://api.campflare.com/v2/campgrounds/search \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "limit": 123,
  "amenities": [
    "toilets"
  ],
  "minimum_rv_length": 123,
  "minimum_trailer_length": 123,
  "big_rig_friendly": true,
  "cell_service": [
    "verizon"
  ],
  "status": "open",
  "kind": "established",
  "campsite_kinds": [
    "standard"
  ],
  "bbox": {
    "min_latitude": 123,
    "max_latitude": 123,
    "min_longitude": 123,
    "max_longitude": 123
  },
  "availability": {
    "date_ranges": [
      {
        "starting_date": "2023-12-25",
        "nights": 123
      }
    ],
    "status": [
      "available"
    ],
    "campsite_kinds": [
      "standard"
    ],
    "min_rv_length": 123,
    "min_trailer_length": 123
  },
  "v1_campground_id": "<string>"
}
'
{
  "campgrounds": [
    {
      "id": "<string>",
      "name": "<string>",
      "status": "open",
      "status_description": "<string>",
      "kind": "established",
      "short_description": "<string>",
      "medium_description": "<string>",
      "long_description": "<string>",
      "location": {
        "latitude": 123,
        "longitude": 123,
        "elevation": 123,
        "address": {
          "street1": "<string>",
          "street2": "<string>",
          "city": "<string>",
          "zipcode": "<string>",
          "country": "<string>",
          "country_code": "<string>",
          "state": "<string>",
          "state_code": "<string>",
          "full": "<string>"
        },
        "directions": "<string>"
      },
      "default_campsite_schedule": {
        "check_in_time": "<string>",
        "check_out_time": "<string>",
        "uniform": true
      },
      "amenities": {
        "toilets": true,
        "toilet_kind": "flush",
        "trash": true,
        "camp_store": true,
        "dump_station": true,
        "wifi": true,
        "pets_allowed": true,
        "showers": true,
        "fires_allowed": true,
        "water": true,
        "electric_hookups": true,
        "water_hookups": true,
        "sewer_hookups": true
      },
      "max_rv_length": 123,
      "max_trailer_length": 123,
      "has_pull_through_sites": true,
      "big_rig_friendly": true,
      "reservation_url": "<string>",
      "links": [
        {
          "url": "<string>",
          "title": "<string>"
        }
      ],
      "photos": [
        {
          "original_url": "<string>",
          "attribution_needed": true,
          "large_url": "<string>",
          "medium_url": "<string>",
          "small_url": "<string>",
          "attribution": "<string>",
          "name": "<string>"
        }
      ],
      "alerts": [
        {
          "title": "<string>",
          "content": "<string>",
          "source_name": "<string>",
          "source_url": "<string>",
          "start_date": "2023-11-07T05:31:56Z",
          "end_date": "2023-11-07T05:31:56Z"
        }
      ],
      "price": {
        "minimum": 123,
        "maximum": 123,
        "currency_code": "<string>",
        "currency": "<string>"
      },
      "cell_service": {
        "verizon": 0.5,
        "tmobile": 0.5,
        "att": 0.5
      },
      "management": {
        "agency_name": "<string>",
        "agency_id": "<string>",
        "agency_website": "<string>"
      },
      "contact": {
        "primary_phone": "<string>",
        "primary_email": "[email protected]"
      },
      "connections": {
        "ridb_facility_id": "<string>",
        "usfs_site_id": "<string>",
        "v1_campground_ids": [
          "<string>"
        ]
      },
      "metadata": {
        "has_availability_alerts": true,
        "has_availability_data": true,
        "has_campsite_level_data": true,
        "last_updated": "2023-11-07T05:31:56Z"
      }
    }
  ]
}
All search parameters are treated as “AND” conditions unless otherwise noted. This means the results will only include campgrounds that match all of the specified criteria simultaneously. At least one parameter must be specified, otherwise 0 results will be returned.
POST /campgrounds/search

Body

application/json

Search parameters for campgrounds

query
string

Text search query. A general search term to find campgrounds. This can be a name, location, keyword, etc.

limit
integer

Maximum number of results to return from 1-50. Default is 20.

amenities
enum<string>[]

List of amenities to filter by. These are treated as AND conditions.

Available options:
toilets,
trash,
camp-store,
dump-station,
wifi,
pets-allowed,
showers,
fires-allowed,
water,
eletric-hookups,
water-hookups,
sewer-hookups
minimum_rv_length
number
minimum_trailer_length
number
big_rig_friendly
boolean
cell_service
enum<string>[]
Available options:
verizon,
att,
t-mobile
status
enum<string>
Available options:
open,
closed
kind
enum<string>
Available options:
established,
dispersed
campsite_kinds
enum<string>[]

List of campsite types to filter by. These are treated as OR conditions. For example, if you select 'rv' and 'tent-only', it will show campgrounds that have either RV sites OR tent-only sites.

Available options:
standard,
rv,
tent-only,
cabin,
management,
group,
walk-to,
equestrian,
water-access
bbox
object

Boundary box in lat/lng format. This is used to limit the search to a particular geographic region

availability
object

Advanced filter for availability. This allows filtering for campgrounds that have available campsites within certain date ranges. For example, "show me campgrounds that have available campsites for either of these two weekends". You can also filter by campsite type and ensure minimum RV/trailer lengths. Results will only include campgrounds that have availability data (not all campgrounds do). Note that the campsite filters here are scoped to available campsites, not all campsites in the campground.

v1_campground_id
string

V1 campground ID

Response

Search response

campgrounds
object[]
required