USGS Water Services

API

Free API for USGS water quality and level data for rivers & lakes

Visit Website

Overview

The USGS Water Services API provides RESTful access to National Water Information System (NWIS) data, including real-time water levels (instantaneous values), daily averages, and water quality metrics (pH, turbidity, dissolved oxygen) for US rivers and lakes. Key endpoints include /nwis/iv (real-time levels), /nwis/dv (daily values), and /nwis/wqp (water quality portal). Responses are available in JSON and XML formats. Use cases include flood monitoring apps, outdoor recreation safety tools, academic hydrology research, and local government environmental reporting.

Example Integration (JavaScript)

script.js JS

fetch('https://waterservices.usgs.gov/')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful architecture
  • JSON/XML support
  • No API key required (standard usage)
  • Real-time & historical data
  • Multiple endpoints for levels and quality

Frequently Asked Questions

? Is USGS Water Services free to use?

Yes, all public endpoints are free with no subscription or payment required.

? Does it require an API Key?

Most standard endpoints do not need an API key; high-volume users should contact USGS for rate limit exceptions.

? What is the response format?

Responses are available in JSON and XML formats, selectable via request parameters like 'format=json'.

Top Alternatives

NOAA Tides and Currents API Search Google

People Also Ask about USGS Water Services

USGS Water Services vs NOAA Tides and Currents API USGS Water Services 2025 review

Tool Info

Pricing Free
Category Science & Math
Platform Public API

Pros

  • Authoritative USGS data source
  • Free public access
  • Wide US water body coverage
  • Supports real-time and historical metrics

Cons

  • US-only coverage
  • Rate limits for high-volume requests
  • Requires familiarity with USGS parameter codes
  • Limited international data

More Science & Math Tools