Places API

Tree API

The Tree API returns mapped tree records and location context from OpenStreetMap, covering about 32.8 million records. Each record includes coordinates, OpenStreetMap tags, settlement class and environmental or demographic context where available. Developers and data buyers can use the data to map trees, study local coverage and combine tree locations with surrounding conditions.

United States, Chile · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "tree",
    "region_id": "23186",
    "limit": 50
  }'

Key facts

  • The Tree API contains about 32.8 million records.
  • The United States accounts for 44.2% of records; Chile accounts for 33.7%.
  • Magallanes y de la Antártica Chilena accounts for 32.6% of records.
  • Porvenir accounts for 16% of records, and Punta Arenas accounts for 15.5%.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Porvenir).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/tree/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
CityNameCountryAddressLatitudeLongitude
LexingtonHowie's Hangman TreeUnited States—37.9881-84.50529
Bel AirMajors OakUnited States—39.54346-76.34127
Punta ArenasBosque LentoChile—-53.75-70.98171
—Make Believe CafeUnited KingdomThe Wilderness Berkhamsted HP4 2AZ51.76043-0.56287
—Tree ShrineMalaysia—3.37106101.79453
Puli茄苳樹王公廟Taiwan—23.95869120.96712
—Shiv TempleIndiaVillage Phirni Mauri, Charkhi Dadri 12702228.5340576.2797
MudonRatana BodhiMyanmar—16.3785797.67526
—PalmUnited States—28.33974-81.32066
—PalmUnited States—28.33974-81.3207

Overview

The Tree API provides records for trees and other mapped tree features, including named examples such as Howie's Hangman Tree and Majors Oak. The data comes from OpenStreetMap contributors and is licensed under ODbL.

It is useful for mapping and geospatial analysis, including applications that relate tree locations to land use, climate, flood risk or nearby population. Coverage and field availability vary by place and attribute.

Coverage

The dataset contains about 32.8 million records. The United States accounts for 44.2% of records, Chile 33.7% and Argentina 6.2%; Sweden and Canada are also represented.

Prominent areas include Magallanes y de la Antártica Chilena, Florida and North Carolina. The leading listed cities are Porvenir and Punta Arenas in Chile, followed by Chapel Hill in the United States. Records also appear in places beyond the countries with the largest shares.

Fields

Every record has latitude, longitude, OpenStreetMap properties, source, settlement class, estimated population within 1 km, and flood zone. Climate group is present in 99% of records; land-use categories in 77%.

Tree canopy percentage is available in 48% of records. Median household income in 2024 dollars and median home value are each available in 44%. These contextual fields are not present for every location.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use
  • nlcd_tree_canopy_pctTree cover (%)
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)

Queries

Use geographic filters such as region or radius to focus on a place, and select the fields needed for an application or analysis. A date field is not listed among the available record fields, so a date-based filter cannot be described from this schema.

For live queries, use streaming; for whole-dataset work, use bulk download. Available formats are JSON, GeoJSON, CSV and Parquet.

Use cases

Build maps and location search for named or mapped trees, and compare tree records across cities such as Porvenir, Punta Arenas and Chapel Hill. Analyze mapped tree coverage alongside land-use categories and settlement class.

Combine tree locations with climate group, flood zone, population and available socioeconomic context to support environmental analysis, planning research and geospatial data products.

Access and pricing

The API uses an API key and offers JSON, GeoJSON, CSV and Parquet formats. A free tier is available for getting started; paid plans provide higher limits and bulk downloads.

No specific prices are stated here. The underlying data is sourced from OpenStreetMap contributors and is licensed under ODbL.

Frequently asked questions

Is there an API for tree locations?

Yes. The Tree API provides mapped tree records with coordinates and OpenStreetMap properties. It covers about 32.8 million records and includes contextual fields such as settlement class, flood zone and population within 1 km. Coverage and completeness differ by location and field.

How many tree records does the Tree API contain?

The Tree API contains about 32.8 million records. The United States contributes 44.2% of the records and Chile contributes 33.7%. These figures describe the dataset's overall coverage, not a guaranteed count for a particular region or query.

Which countries have the most tree records?

The United States and Chile have the largest listed shares, at 44.2% and 33.7% respectively. Argentina follows at 6.2%, with Sweden at 5.1% and Canada at 2.7%. The API also includes records in other countries.

What fields does the Tree API return?

Each record includes latitude, longitude, OpenStreetMap properties, source, settlement class, population within 1 km and flood zone. Climate group, land-use categories, tree canopy percentage, median household income and median home value are also available, but some of these fields are missing from many records.

Can I filter tree data by city or region?

The data supports geographic analysis by place, and the coverage includes cities such as Porvenir, Punta Arenas and Chapel Hill. Use geographic filters such as region or radius to focus a query. Exact query parameters are not specified here.

Can I filter tree records by date?

A date field is not listed in the available record schema, so date-based filtering cannot be confirmed from the documented fields. The listed fields focus on location, OpenStreetMap tags and environmental or demographic context.

How often is the tree data updated?

An update schedule is not specified here. The source is OpenStreetMap contributors, and the records include a source field. Check the API documentation or data metadata for current refresh information before relying on a particular update cadence.

What formats are available for tree data?

The Tree API offers JSON, GeoJSON, CSV and Parquet. These formats support applications, mapping workflows and data analysis. A free tier is available, while paid plans provide higher limits and bulk downloads.

Start building with the Tree API

Free to try. Paid plans raise limits and unlock bulk downloads.