> ## Documentation Index
> Fetch the complete documentation index at: https://docs-v2.campflare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Exports

> JSON Dumps

Campflare offers daily JSON data dumps of all campgrounds and campsites in line-delimited format.
This allows you to maintain your own copy of the data without making repeated API calls, or to integrate it with your internal systems.
Each line contains a complete JSON record matching the schemas described above in the get campgrounds/campsites/lands/pois secion.
Files are compressed in a single gzip file.

Weekly downloads are provided in the following format:

## Data Dump API

```
GET /v2/dumps/latest
```

```json theme={null}
{
  "created_at": "2024-01-23T00:00:00Z",
  "campgrounds": {
    "url": "https://api.campflare.com/dumps/campflare-data-dump-2024-01-23T00:00:00Z/campgrounds.json.gz",
    "uncompressed_size_bytes": 450000000,
    "compressed_size_bytes": 125000000,
    "record_count": 35000
  },
  "campsites": {
    "url": "https://api.campflare.com/dumps/campflare-data-dump-2024-01-23T00:00:00Z/campsites.json.gz",
    "uncompressed_size_bytes": 450000000,
    "compressed_size_bytes": 125000000,
    "record_count": 150000
  },
  "lands": {
    "url": "https://api.campflare.com/dumps/campflare-data-dump-2024-01-23T00:00:00Z/lands.json.gz",
    "uncompressed_size_bytes": 450000000,
    "compressed_size_bytes": 125000000,
    "record_count": 150000
  },
  "pois": {
    "url": "https://api.campflare.com/dumps/campflare-data-dump-2024-01-23T00:00:00Z/pois.json.gz",
    "uncompressed_size_bytes": 450000000,
    "compressed_size_bytes": 125000000,
    "record_count": 150000
  },
  "poi_land_relations": {
    "url": "https://api.campflare.com/dumps/campflare-data-dump-2024-01-23T00:00:00Z/poi_land_relations.json.gz",
    "uncompressed_size_bytes": 450000000,
    "compressed_size_bytes": 125000000,
    "record_count": 150000
  }
}
```

### POI Land Relations

This file is not a full schema, but rather a lightweight mapping between POIs and the lands that contain them. It helps you efficiently determine which POIs fall within which land areas without needing to make separate spatial API calls for each POI. This can reduce load and complexity when working with the API.

Each record includes a `poi_id`, `land_id` and a `kind`, indicating that the POI is geographically located inside the specified land (the kind `within`). For example, this entry means that the POI `upper-pines-campground-447` (Upper Pines Campground) is located in the land `349007b7-8e2a-4dea-b973-6524896b4ead` (Yosemite National Park):

```json theme={null}
{
  "poi_id":"upper-pines-campground-447",
  "land_id":"c6e9e193-734e-4e69-b090-f46dcc530172",
  "kind":"within"
}
```
