# ClearCheck Streamflow

> ClearCheck Streamflow is a paid API for AI agents from loonie-toll.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns live USGS streamflow data for a gauge site with a HIGH / NORMAL / LOW verdict compared to the historical median for that day of year.

## Facts

- Endpoint: GET https://loonie-toll.onrender.com/streamflow
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clearcheck-streamflow-34b869e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y4sA54faPnKA_5L_G0HJp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability clearcheck-streamflow-34b869e5
```

Example prompt: What's the current streamflow condition at USGS gauge 03431500 — is it running high, low, or normal compared to what's typical for this time of year?

## When to prefer this

Use this endpoint when you need a quick human-readable verdict (HIGH/NORMAL/LOW) on river conditions relative to historical norms, not just raw gauge data. It's ideal for agents handling outdoor recreation planning, flood risk alerts, environmental monitoring, or any workflow that needs a contextual interpretation of streamflow rather than a raw number. Prefer this over directly querying USGS APIs when you want the median comparison and verdict computed for you in one call.

## Known failure modes

- Invalid or non-existent USGS site number returns an error
- USGS data feed temporarily unavailable causes service error
- Site exists but has no recent readings (sensor offline)
- Insufficient historical record to compute median for that day of year

## How this service works

Live streamflow for a USGS gauge with a HIGH / NORMAL / LOW verdict vs the site's own median for this day of year.

## Output

Returns the current discharge in cfs, gage height, the historical median discharge for the same day of year, a HIGH/NORMAL/LOW verdict, supporting reasons, site name, observation timestamp, years of record used in the comparison, data source attribution, and a disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "site"
     ],
     "properties": {
      "site": {
       "type": "string",
       "description": "USGS site number, e.g. 03431500"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "query": {
       "type": "object",
       "properties": {
        "site": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "reasons": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "verdict": {
       "type": "string"
      },
      "siteName": {
       "type": "string"
      },
      "discharge": {
       "type": "object",
       "properties": {
        "unit": {
         "type": "string"
        },
        "value": {
         "type": "integer"
        },
        "siteName": {
         "type": "string"
        },
        "observedAt": {
         "type": "string"
        }
       }
      },
      "disclaimer": {
       "type": "string"
      },
      "gageHeight": {
       "type": "object",
       "properties": {
        "unit": {
         "type": "string"
        },
        "value": {
         "type": "number"
        },
        "siteName": {
         "type": "string"
        },
        "observedAt": {
         "type": "string"
        }
       }
      },
      "retrievedAt": {
       "type": "string"
      },
      "yearsOfRecord": {
       "type": "integer"
      },
      "historicalMedianForToday": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clearcheck-streamflow-34b869e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from loonie-toll.onrender.com](https://www.zero.xyz/host/loonie-toll.onrender.com/llms.txt)
