Campingreport

Contains information about camping conditions, including the low temperature, high temperature, wind, and rain chances. Also provides an overall recommendation about whether to go camping.

Endpoints

GET campingreport/{campsiteId}

Gets the camping conditions for a specific campsite ID.

Parameters

Path parameters

Path parameter Description
{campsiteId} The value for the campsite you want to look up. Valid campsiteId values are available from our site at sampleurl.com.

Query string parameters

Query string parameter Required / optional Description Type
days Optional The number of days to include in the response. Default is 3. Integer
time Optional If you include the time, then only the current hour will be returned in the response. Integer. Unix format (ms since 1970) in UTC.

Sample request

curl -I -X GET "https://api.opencamping.org/data/2.5/campingreport?zip=78703&appid=APIKEY&units=imperial&days=2"

(In the above code, replace APIKEY with your actual API key.)

Sample response

The following is a sample response from the campingreport/{campsiteId} endpoint:

{                     
    "campingreport": [
        {
            "campsite": "Coldspring",
            "monday": {
                "temp_low": 328.15,
                "wind_velocity": 2,
                "wind_direction": 175,
                "temp_high": 348.15,
                "rain_chance": 15,
                "recommendation": "Go camping!"
            },
            "tuesday": {
                "temp_low": 338.15,
                "wind_velocity": 4,
                "wind_direction": 175,
                "temp_high": 358.15,
                "rain_chance": 25,
                "recommendation": "Camping conditions okay, not great."
            },
            "wednesday": {
                "temp_low": 341.15,
                "wind_velocity": 15,
                "wind_direction": 316,
                "temp_high": 351.15,
                "rain_chance": 85,
                "recommendation": "No camping today; find some other activity."
            },
        }
    ]
}