GnistAI GnistAI
Log in

USGS Streamflow

US river and stream conditions — real-time discharge, gage height from USGS gauges.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Environment

Data source: USGS Water Services

REST Bridge Endpoint https://context.gnist.ai/rest/streamflow/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (3)

search_stream_sites

Search for USGS water monitoring sites.

Returns active stream gauge stations with location data.

Args:
state_code: US state code (e.g. "CO" for Colorado, "CA" for California). Optional.
limit: Maximum results (1-100, default 20).

ParameterTypeRequiredDescription
state_codeanyoptional
limitintegeroptional (default: 20)
Request Body
{
  "query": "example"
}
get_stream_conditions

Get current river/stream conditions at a USGS monitoring site.

Returns real-time discharge (flow rate) and gage height readings.

Args:
site_code: USGS site code (e.g. "09380000" for Colorado River at Lees Ferry).

ParameterTypeRequiredDescription
site_codestringrequired
Request Body
{
  "site_code": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/streamflow/get_stream_conditions" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"site_code": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/streamflow/get_stream_conditions",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "site_code": "example"
},
)
print(resp.json())

Related Toolkits (Environment)

Resources