Buildings API
Access & limitsPublic, no key needed · Heavy▾
Open to everyone. A free API key from your profile raises the limits: send it in an X-API-Key header, or as api_key= in the address.
| 5 minutes | Hour | Day | |
|---|---|---|---|
| Without a key | 20 | 120 | 500 |
| With a key | 60 | 400 | 2,000 |
Each 100 square km of area counts as one request, so a 10 km square is 1 and a 30 km square is 9.
Log in to create a free key on your profile page.
Every answer carries X-RateLimit-Remaining and X-RateLimit-Reset. Over a limit, the answer is error 429 with retry_after in seconds. Refused requests do not count.
Every building outline over a square up to 5 km on a side, the same outlines the Launch Site Survey draws. They come from the Overture Maps buildings data, which joins OpenStreetMap with building footprints detected from imagery, so they cover much of the world, including places OpenStreetMap has not mapped yet.
lat lon size_kmParameters
| Parameter | Required | Meaning |
|---|---|---|
lat, lon | Yes | The middle of the square, in decimal degrees |
size_km | No | The side of the square, 0.1 to 5 km (1 if left out) |
format | No | geojson (the default): a FeatureCollection of Polygons, positions as [lon, lat]. compact: each building a list of rings, the outline first then any holes, each ring a flat [lat, lon, lat, lon, ...] list with the first point not repeated at the end. About a third of the size. |
At most 50,000 buildings, nearest the middle first; past that truncated is true and total says how many there were.
Example
https://www.altimetercloud.com/api/buildings/?lat=54.3747&lon=-2.9988&size_km=0.5
{
"success": true, "lat": 54.3747, "lon": -2.9988, "size_km": 0.5,
"status": "ok", "partial" or "unavailable" if part could not be read just now
"count": 214, "truncated": false, "release": "2026-10-22.0", "format": "geojson",
"buildings": { "type": "FeatureCollection", "features": [
{ "type": "Feature", "properties": {},
"geometry": { "type": "Polygon", "coordinates": [ [ [-2.9987512, 54.3746633], ... ] ] } }, ... ] },
"notes": [ ... ], "credits": { ... }
}
Errors
| Code | Meaning |
|---|---|
412 | A parameter is missing or not valid |
429 | Too many requests; retry_after says how long to wait |
503 | The building store is not available just now |
Credits you must show
© OpenStreetMap contributors, Overture Maps Foundation. Buildings: ODbL.
- © OpenStreetMap contributors. Available under the Open Database License.
- Esri Community Maps contributors. Available under CC BY 4.0.
- Global ML Building Footprints. Licensed by Microsoft under the Open Database License.
- Google Open Buildings. Available under CC BY 4.0.
- USGS 3D Elevation Program Digital Elevation Program.
- Qian Shi, et al. A First High-quality Vector Data of Buildings in East Asian Countries Based on a Comprehensive Large-scale Mapping Framework. Zenodo, 22 July 2023, doi:10.5281/zenodo.8174931. Available under CC BY 4.0.
- Work derived from BTN 2024 ign.es. Available under CC BY 4.0.
The data is under the Open Database License: credit it as above, and share any database you make from it under the same licence.
Crediting AltimeterCloud
Free to use. If you use this API, or anything made from the answers, in a commercial product or service, credit AltimeterCloud with a link to www.altimetercloud.com at the point of use: on the screen, page or printout where the data appears, for example “Data from AltimeterCloud.com”. Any credits the data's own sources ask for, listed on this page, apply as well.



















