Pull daily-summary groundwater levels from the USGS Water Data API

domain: api.waterdata.usgs.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Daily-summary groundwater levels replace the old /nwis/dv endpoint and are served from GET https://api.waterdata.usgs.gov/ogcapi/v0/collections/daily/items.
  2. Filter with monitoring_location_id and parameter_code; use the bbox argument if you want daily values across a spatial region - this is the one migrated endpoint that supports bbox directly.
  3. For the single most recent daily value per series, use /ogcapi/v0/collections/latest-daily/items.
  4. Join to /time-series-metadata via time_series_id (called id there) to recover the parameter name/description/statistic type dropped from the flattened /daily rows.
  5. Inspect the collection's schema or OpenAPI page for available output formats before scripting a parser.

Known gotchas

Related routes

Retrieve continuous (sensor) groundwater levels from the USGS Water Data API
api.waterdata.usgs.gov · 5 steps · unrated
Pull current and historical groundwater level readings near a proposed septic site to verify seasonal high water table clearance
api.waterdata.usgs.gov · 5 steps · unrated
Pull historical daily mean streamflow/water-level values from the legacy USGS NWIS Daily Values service
waterservices.usgs.gov · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans