Get an API key
Fields · terrain

slope_degrees

Surface slope in degrees at the point, computed with Horn's 3x3 method on the USGS 3DEP 1/3 arc-second (about 10 m) DEM tile.

Name slope_degrees
Layer terrain
Type, unit float, degrees
Sources (in order) USGS_3DEP_COG
Cache 30 days (ttl_seconds 2592000)

What it is

Surface slope in degrees at the point, computed with Horn's 3x3 method on the USGS 3DEP 1/3 arc-second (about 10 m) DEM tile. Read in the same tile read as elevation.

Nulls

status "absent": no 3DEP tile covers the point, or the 3x3 window contains no-data. "failed": the tile read failed, or the window crosses a tile edge.

Example

curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["slope_degrees"]}'

Field object keys are described in Responses. Live definition: GET /v1/meta/fields.