Places API

Building Roof API

The Building Roof API returns OpenStreetMap records about building roofs, with about 8,629 records in the available data. Records include coordinates, OpenStreetMap tags, settlement classification, population context, flood risk, climate group, and land-use categories. Developers can use the data to map roof coverage and study how roof locations relate to their surroundings.

United States, Indonesia · 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": "building roof",
    "region_id": "18967",
    "limit": 50
  }'

Key facts

  • The Building Roof dataset contains about 8,629 records.
  • The United States accounts for 38.8% of listed country coverage.
  • Indonesia accounts for 34.6% of listed country coverage.
  • South Kalimantan accounts for 33.3% of listed state coverage.
  • Climate group is filled in 98% of records.

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 Maricá).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/building-roof/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
CityNameBrandAddressCountryWebsiteHoursLatitudeLongitude
BelmonteBel PostosIndependent664 Rua Santos Dumont Belmonte 89925-000Brazil——-26.84352-53.57659
SantosBomba Campo GrandeAle—Brazil——-23.9536-46.33754
Beaver CreekFas Gas Beaver CreekFas GasMile 1202 Alaska Highway Beaver Creek Y0B 1A0Canadahttps://www.fasgasplus.ca/station-directory/#locationMapunknown62.38672-140.87365
CampinasPosto FlamingoShell—Brazil——-22.9103-47.09666
—ShellShellAvenida Del Libertador Buenos Aires C1429 ARArgentina——-34.54193-58.46319
—YPFYPFMonseñor José Francisco Marcón San Justo 1754Argentina—24/7-34.67672-58.56488
PiacenzaIPIP—Italy——45.0629.65168
—thottumkal PumpIOC—India——9.7126676.69058
—Thalexim Petro——Vietnam——11.42602106.50877
—Thalexim Petro——Vietnam——11.17293106.67545

Overview

Building roofs cover and protect structures and can appear as shingles, tiles, metal panels, or flat surfaces. This dataset is based on OpenStreetMap contributors' data.

Developers and data buyers can use the records for mapping, spatial analysis, and research that combines roof locations with surrounding population, flood, climate, or land-use context.

Coverage

The dataset contains about 8,629 records. The largest country shares are the United States at 38.8%, Indonesia at 34.6%, Brazil at 10.2%, and Costa Rica at 7%.

Notable state-level coverage includes South Kalimantan at 33.3% and California at 20.3%. Maricá accounts for 5.7% of the listed city coverage. These percentages describe the distribution in the available data.

Fields

Each record includes latitude and longitude, OpenStreetMap properties, a source dataset, settlement class, population within 1 km for 2020, and flood zone. Latitude, longitude, properties, source, settlement class, population, and flood zone are filled in 100% of records.

Climate group is filled in 98% of records, while land-use categories are filled in 23%. The properties field contains OpenStreetMap tags for the place.

  • 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

Queries

The available information does not specify query parameters or confirm filtering by region, radius, date, or individual fields. It also does not specify a live-query streaming method, so check the API documentation for supported query behavior.

The available formats are JSON, GeoJSON, CSV, and Parquet. Bulk download availability is described as a plan feature; use the format suited to your mapping, analysis, or data pipeline workflow.

Use cases

Map roof locations alongside settlement classification and population context. Compare roof coverage across places such as California and South Kalimantan.

Combine roof records with flood-zone or climate-group information for spatial research. Use land-use categories where available, and account for their 23% field completeness when planning analysis.

Build geographic datasets in GeoJSON or tabular workflows in CSV and Parquet. Use OpenStreetMap properties to inspect the tags associated with individual places.

Access and pricing

The data is available in JSON, GeoJSON, CSV, and Parquet. API access requires an API key, and a free tier is available.

Paid plans provide higher limits and bulk downloads. No plan prices are specified here.

Frequently asked questions

How many records are in the Building Roof API?

The dataset has about 8,629 records. This is the approximate total stated for the available data, not a count of records in each country or city. The coverage distribution lists the United States, Indonesia, and Brazil among the countries with the largest shares.

Which countries have the most building roof data?

The United States and Indonesia have the largest country shares. They account for 38.8% and 34.6% of the listed coverage, respectively, followed by Brazil at 10.2% and Costa Rica at 7%.

What fields does the Building Roof API return?

Records include latitude, longitude, OpenStreetMap properties, source dataset, settlement class, population within 1 km for 2020, and flood zone. They may also include climate group and land-use categories, which are filled in 98% and 23% of records, respectively.

Can I filter building roof data by radius or region?

The available information does not confirm which query filters are supported. The dataset includes coordinates and country, state, and city coverage information, but check the API documentation for supported region or radius query options.

How often is the building roof data updated?

An update schedule is not specified. The data is sourced from OpenStreetMap contributors, but no refresh interval or last-updated date is provided for this dataset.

Can I download the complete Building Roof dataset?

Bulk downloads are available through paid plans. The available information does not specify download limits or dataset size by file, so check plan details for the current bulk download options.

What formats are available for building roof data?

The available formats are JSON, GeoJSON, CSV, and Parquet. GeoJSON supports geospatial workflows, while CSV and Parquet can be used in tabular data pipelines.

Where is building roof coverage strongest?

South Kalimantan has the largest listed state-level share at 33.3%, followed by California at 20.3%. Among listed cities, Maricá has the largest share at 5.7%.

Start building with the Building Roof API

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