Real-time water data from USGS NWIS stream / river / groundwater gauges within a
Real-time water data from USGS NWIS stream / river / groundwater gauges within a bounding box around lat/lon. Returns each site's latest reading per requested variable: streamflow (00060, ft³/s), gage height (00065, ft), water temperature (00010, °C), precipitation (00045, in), and others. Each reading: site code + name, lat/lon, variable name + description + unit, value (or null if no data / sentinel), qualifier codes (e.g., 'P' = provisional, 'A' = approved), observed timestamp. Free public-domain data from waterservices.usgs.gov.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://2s.io/api/gov/usgs-water
| Category | Code and developer |
|---|---|
| Provider host | 2s.io |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.006 | 248 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"lat": -90,
"limit": 25,
"lon": -180,
"radius": 0.5,
"variables": "example"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"const": "GET"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Center latitude (decimal degrees).",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"limit": {
"default": 25,
"description": "Max readings to return (1-100). Default 25.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"lon": {
"description": "Center longitude (decimal degrees).",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"radius": {
"default": 0.5,
"description": "Half-side of bounding box, in decimal degrees. Default 0.5 (~35 mi).",
"maximum": 2,
"minimum": 0.05,
"type": "number"
},
"variables": {
"description": "Comma-separated USGS parameter codes (5-digit). Default \"00060,00065,00010\" (streamflow, gage height, water temp).",
"type": "string"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}