API Documentation

This is the latest API version 2023-11.

Find documentation of the previous version here.

Get buildings by bounding box

URL Schema

https://data.onegeo.co/api/?token=ONEGEO_API_KEY&bbox=bbox

URL element Description
token ONEGEO API key
Get your key here
bbox Comma separated geo coordinates for west, south, east, north bounds of your area of interest

Example

curl -o "philly.json" "https://data.onegeo.co/api/?token=ONEGEO_API_KEY&bbox=-75.25750,39.90128,-75.10153,40.01280"

Get building details by ID

URL Schema

https://data.onegeo.co/features/?token=ONEGEO_API_KEY&id=id

URL element Description
token ONEGEO API key
Get your key here
id Building ID

Example

curl -o "sphere.json" "https://data.onegeo.co/features/?token=ONEGEO_API_KEY&id=osm-w976405284"

Search locations

URL Schema

https://data.onegeo.co/search/?token=ONEGEO_API_KEY&query=query

URL element Description
token ONEGEO API key
Get your key here
query Your search term. Can be a continent, country, state, city or other location's name.

Example

curl -o "search.json" "https://data.onegeo.co/features/?token=ONEGEO_API_KEY&query=berlin"