PASAR API

🇨🇦 Natural Resources Canada ~ elevation & terrain profiles

← directory
Natural Resources CanadaMaps & locationtier: openauth: no authpricing: freeverified 2026-07-05

Keyless REST service returning ground altitude for a lat/long or an elevation profile along a line, from the Canadian Digital Elevation Model.

View docs ↗ More Maps & location APIs

Call it

curl 'https://geogratis.gc.ca/services/elevation/cdem'

AI prompt

I'm building an app using a free Canada API (no auth needed).

API: Natural Resources Canada ~ elevation & terrain profiles
Provider: Natural Resources Canada
Endpoint: GET https://geogratis.gc.ca/services/elevation/cdem
It returns JSON.

Source: Natural Resources Canada (https://natural-resources.canada.ca/science-data/data-analysis/geospatial-data-tools-services/elevation-api)
Source type: Official open-data catalogue
Endpoint type: Open-data catalogue JSON
Integration difficulty: Copy-paste ready
Last checked: 2026-07-05
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Maps & location APIs

OneMap ~ Singapore's official map: geocoding, routing & themesMapbox Geocoding API ~ forward/reverse geocodingGoogle Maps PlatformHERE Location ServicesRadar Maps PlatformNominatim (OpenStreetMap)Malaysia PostcodesTomTom Maps & RoutingAzure MapsFoursquare Places API