Data feed
Current feed: /api/v1/gauges. Health: /api/v1/health. Schema: /api/v1/schema. The edge cache is public, s-maxage=60, stale-while-revalidate=300.
Fields
- generated_at. ISO 8601, when this payload was produced
- freshness. fresh | stale | offline
- from_cache. boolean, true when this payload came from the stored upstream copy
- stale. boolean, true when this payload came from the stored copy or freshness is not fresh
- last_success_at. ISO 8601, the last successful USGS fetch on this server, or null
- schema_url. absolute URL of this schema document and its changelog
- gauges[].kind. measured
- gauges[].stage_ft. number | null, feet, gage height
- gauges[].datum. gage height. USGS lists each gauge datum as 0 ft above NAVD88
- gauges[].percent_of_minor_flood_stage. number | null, linear, not a probability
- gauges[].status. normal | watch | flood | moderate | major | null. flood means NWS minor. Inclusive lower bound.
- gauges[].data_as_of. ISO 8601 observation time, not fetch time
- gauges[].stale. boolean, true when this reading is late or absent under its transmit interval
- gauges[].last_known. boolean, true when this is the last reading stored, not one from the latest USGS response
- gauges[].age_minutes. integer | null, minutes since data_as_of
- gauges[].transmits. 15min | hourly, how often USGS receives this gauge
- gauges[].provisional. boolean, always true for real-time USGS
- gauges[].source. usgs | nwps | shared-cache. usgs: the USGS Water Data API. nwps: the same USGS gauge relayed by NOAA NWPS, used when USGS did not answer. shared-cache: the newest copy of an earlier USGS answer.
- gauges[].thresholds. nws | estimate
- planned_sites[].kind. planned
- planned_sites[].stage_ft. always null
- planned_sites[].status. always null
- planned_sites[].donor_site. the nearest of the eight gauges BayouWatch reads, not necessarily the nearest USGS gauge
- planned_sites[].nearest_usgs_site. the nearest active USGS stream gauge with real-time gage height, read by BayouWatch or not
- planned_sites[].nearest_usgs_miles. straight-line miles to nearest_usgs_site
Version 1. kind is measured or planned. A planned site has null stage, null status, and null percent. The unused placeholder ratio is labeled and is not a water level.
Polling
About once a minute is a request, not a limit. Nothing enforces it: there is no key and no block, and polling faster will not return newer water. Responses are edge-cached for 60 seconds (s-maxage=60, stale-while-revalidate=300), so a second request inside that window gets the same payload. BayouWatch itself asks USGS for new readings up to every 5 minutes. USGS gauges report every 15 minutes or once an hour, so there is no new reading on most requests anyway.
Status words
Each gauge's status compares its gage height with the NWS stages for that gauge. The lower bound of every stage is inclusive, so a reading exactly on a stage counts as that stage.
- normal. Below the NWS action stage.
- watch. At or above the NWS action stage and below the NWS minor flood stage. This is not an NWS Flood Watch product. It is only the band between action stage and minor flood stage.
- flood. At or above the NWS minor flood stage, and below moderate flood stage.
- moderate. At or above the NWS moderate flood stage, and below major flood stage.
- major. At or above the NWS major flood stage.
- null. USGS returned no reading for that gauge.
Brickhouse Gully (08074250) has no NWS categories. Its stages are local estimates, flagged by thresholds: 'estimate' instead of 'nws'.
Sample response
A real response from this server, cut to the top-level fields, the first gauge, and the first planned site. A full response lists every gauge and every planned site.
{
"version": "1",
"generated_at": "2026-12-06T19:44:41.772Z",
"freshness": "fresh",
"from_cache": false,
"stale": false,
"last_success_at": "2026-12-06T19:44:41.772Z",
"schema_url": "https://bayouwatch.org/api/v1/schema",
"upstream_failures": 0,
"provisional": true,
"datum": "gage height",
"datum_note": "USGS parameter 00065, gage height in feet. USGS site records list the gage datum of all eight gauges as 0 ft above NAVD88. Not the depth of water on a street.",
"percent_note": "Linear from an assumed empty-channel stage to NWS minor flood stage. Not a probability.",
"status_rule": "A reading exactly at a stage counts as that stage. flood is NWS minor. moderate and major are separate.",
"gauges": [
{
"site": "08073600",
"nws_lid": "WSBT2",
"name": "Buffalo Bayou at West Belt Dr.",
"bayou": "Buffalo Bayou",
"kind": "measured",
"stage_ft": 37.41,
"unit": "ft",
"datum": "gage height",
"percent_of_minor_flood_stage": 33.36021505376343,
"status": "normal",
"data_as_of": "2026-12-06T19:30:00.000Z",
"stale": false,
"last_known": false,
"age_minutes": 18,
"transmits": "15min",
"source": "usgs",
"provisional": true,
"thresholds": "nws",
"trend_ft_per_hr": -0.2600000000000051,
"action_ft": 59.2,
"minor_ft": 62.2,
"moderate_ft": 63.2,
"major_ft": 65.3
}
],
"planned_sites": [
{
"id": "BW-009",
"name": "Memorial Park",
"waterway": "Buffalo Bayou",
"kind": "planned",
"stage_ft": null,
"status": null,
"percent_of_minor_flood_stage": null,
"donor_site": "08074500",
"donor_miles": 2.6,
"nearest_usgs_site": "08074000",
"nearest_usgs_name": "Buffalo Bayou at Houston",
"nearest_usgs_miles": 1.8,
"nearest_usgs_read_by_bayouwatch": false,
"placeholder_factor": 0.91,
"placeholder_factor_note": "Unused hash. Not applied. No predictive value."
}
],
"gauge_count": 8,
"planned_count": 39
}Try it
The whole feed:
curl -s https://bayouwatch.org/api/v1/gaugesOne record per gauge, with the fields a table needs:
curl -s https://bayouwatch.org/api/v1/gauges | jq '.gauges[] | {site, name, stage_ft, status, data_as_of, stale}'Schema changes
This list covers the JSON feed only. It is separate from the site changelog, and the same entries are at /api/v1/schema under changelog.
- 2026-11-07. Version 1 published: gauges[] with kind measured, planned_sites[] with kind planned and null readings, provisional flag, datum fields, status with inclusive lower bounds.
- 2026-11-16. Added, without breaking version 1: top-level stale, last_success_at and schema_url; per-gauge stale, last_known, age_minutes and transmits; a Link header with rel=describedby pointing at the schema.
- 2026-11-17. gauges[].source can now be nwps (the same USGS gauge relayed by NOAA NWPS, used when USGS does not answer) or shared-cache (the newest stored copy of an earlier USGS answer), as well as usgs. Live values come from the USGS Water Data API.
- 2026-11-26. Added, without breaking version 1: planned_sites[].nearest_usgs_site, nearest_usgs_name, nearest_usgs_miles and nearest_usgs_read_by_bayouwatch, measured over every active USGS stream gauge around Houston. donor_site and donor_miles are unchanged and remain the nearest of the eight gauges BayouWatch reads.