Get an API key
Fields · utilities

nearest_usgs_gage_name

Name of that gage (e.g.

Name nearest_usgs_gage_name
Layer utilities
Type, unit string, none
Sources (in order) USGS_WATERDATA
Cache 1 day (ttl_seconds 86400)

What it is

Name of that gage (e.g. POTOMAC RIVER AT POINT OF ROCKS, MD).

Nulls

status "absent": no active stream gage with a daily-mean discharge report in the last 7 days within 10 km, or the gage has no published name. "failed": the USGS Water Data API did not answer or returned more pages, a record is not discharge/daily-mean/ft^3/s, two gages are equally near, or a gage reports different values for its latest day.

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

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