Get an API key
Fields · terrain

huc_12_name

Name of the USGS Watershed Boundary Dataset HUC-12 subwatershed containing the point; the 12-digit code is in the notes.

Name huc_12_name
Layer terrain
Type, unit string, none
Sources (in order) USGS_WBD
Cache 180 days (ttl_seconds 15552000)

What it is

Name of the USGS Watershed Boundary Dataset HUC-12 subwatershed containing the point; the 12-digit code is in the notes.

Nulls

status "absent": no HUC-12 contains the point, or the HUC-12 has no name. "failed": the service did not answer, the point matches several HUC-12s (boundary), or the code is malformed.

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": ["huc_12_name"]}'

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