Pull real-time streamflow/gage data from the legacy USGS NWIS Instantaneous Values service while planning for its 2027 decommission

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

Steps

  1. Call https://waterservices.usgs.gov/nwis/iv/ with parameters such as sites (comma-separated USGS site numbers), parameterCd, and format=json
  2. Parse the returned time series values keyed by site and parameter code (e.g., 00060 for discharge, 00065 for gage height)
  3. Note the legacy WaterServices API is scheduled for decommissioning in Q1 2027, per USGS's published migration notice
  4. Check current status against the USGS Water Data Blog before building new long-term integrations against this legacy service
  5. Plan a migration path to the modernized OGC API (api.waterdata.usgs.gov) for any code intended to run past 2026

Known gotchas

Related routes

Pull historical daily mean streamflow/water-level values from the legacy USGS NWIS Daily Values service
waterservices.usgs.gov · 5 steps · unrated
Retrieve recent instantaneous streamflow/gauge-height readings for USGS monitoring sites using the Water Services Instantaneous Values API
waterservices.usgs.gov · 5 steps · unrated
Recognize that the legacy USGS NWIS /gwlevels service is fully decommissioned and migrate to the field-measurements OGC API
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