Access global topographic datasets including SRTM GL3 (Global 90m), GL1 (Global 30m), ALOS World 3D, SRTM15+ V2.1, GEBCO IceTopo, and GEBCO SubIceTopo (Global Bathymetry 500m). Note: Requests are limited to 500,000,000 km² for GEDI L3, 125,000,000 km² for SRTM15+ V2.1, GEBCO IceTopo, and GEBCO SubIceTopo, 4,050,000 km² for SRTM GL3, COP90 and 450,000 km² for all other data.
All datasets require API key for access. Users can request an API key via myOpenTopo in the OpenTopography portal. See OpenTopography Terms of Use for more information on appropriate use of the API.
demtype(string, query, required)
Available global raster datasets: SRTMGL3 (SRTM GL3 90m), SRTMGL1 (SRTM GL1 30m), SRTMGL1_E (SRTM GL1 Ellipsoidal 30m), AW3D30 (ALOS World 3D 30m), AW3D30_E (ALOS World 3D Ellipsoidal, 30m), SRTM15Plus (Global Bathymetry SRTM15+ V2.1 500m), NASADEM (NASADEM Global DEM), COP30 (Copernicus Global DSM 30m), COP90 (Copernicus Global DSM 90m), EU_DTM (DTM 30m), GEDI_L3 (DTM 1000m), GEBCOIceTopo (Global Bathymetry 500m), GEBCOSubIceTopo (Global Bathymetry 500m), CA_MRDEM_DSM (DSM 30m), CA_MRDEM_DTM (DTM 30m). All datasets require API key for access.
import zingu_apis
api = zingu_apis.api("opentopography")
result = api.fetch("globaldem", demtype="SRTMGL3", south=50, north=50.1, west=14.35, east=14.6, outputFormat="GTiff")
for item in result:
print(item)
const resp = await fetch("https://portal.opentopography.org/API/globaldem?demtype=SRTMGL3&south=50&north=50.1&west=14.35&east=14.6&outputFormat=GTiff");
const data = await resp.json();