Provenance
Freshness & coverage
Methods (4)
searchDrinkingWaterSystems
readSWRCB SABL Drinking Water System Areas (~5K). Filter county/pwsId/federalClassification.
Input schema
{ "type": "object", "properties": { "pwsId": { "type": "string" }, "waterSystemName": { "type": "string" }, "federalClassification": { "type": "string" }, "stateClassification": { "type": "string" }, "ownerTypeCode": { "type": "string" }, "boundaryType": { "type": "string" }, "minPopulation": { "type": "number" }, "county": { "type": "string", "examples": [ "Kern" ] }, "bbox": { "type": "array", "items": { "type": "number" } }, "near": { "type": "object", "properties": { "lat": { "type": "number" }, "lon": { "type": "number" }, "radiusMiles": { "type": "number" } }, "required": [ "lat", "lon", "radiusMiles" ], "additionalProperties": false }, "limit": { "type": "number" }, "format": { "oneOf": [ { "type": "string", "enum": [ "records" ] }, { "type": "string", "enum": [ "geojson" ] } ] } }, "additionalProperties": false }COUNTY UPPERCASE. OWNER_TYPE_CODE has trailing space — handler matches both.
searchGroundwaterBasins
readDWR Bulletin 118 Groundwater Basins (~515). Filter basinNumber/basinName/regionOffice.
Input schema
{ "type": "object", "properties": { "basinNumber": { "type": "string" }, "basinName": { "type": "string", "examples": [ "San Joaquin" ] }, "regionOffice": { "type": "string" }, "county": { "type": "string" }, "bbox": { "type": "array", "items": { "type": "number" } }, "near": { "type": "object", "properties": { "lat": { "type": "number" }, "lon": { "type": "number" }, "radiusMiles": { "type": "number" } }, "required": [ "lat", "lon", "radiusMiles" ], "additionalProperties": false }, "limit": { "type": "number" }, "format": { "oneOf": [ { "type": "string", "enum": [ "records" ] }, { "type": "string", "enum": [ "geojson" ] } ] } }, "additionalProperties": false }NO county column — basin polygons span multiple counties.
searchStreamGages
readCA Stream Gages (~2.6K) USGS+DWR+local. Filter operator/gageStatus/hasFlow/hasStage.
Input schema
{ "type": "object", "properties": { "siteId": { "type": "string" }, "siteName": { "type": "string" }, "gageStatus": { "type": "string" }, "siteStatus": { "type": "string" }, "operator": { "type": "string", "examples": [ "USGS" ] }, "hasFlow": { "type": "boolean", "examples": [ true ] }, "hasStage": { "type": "boolean" }, "hasWaterQuality": { "type": "boolean" }, "minStreamOrder": { "type": "number" }, "county": { "type": "string" }, "bbox": { "type": "array", "items": { "type": "number" } }, "near": { "type": "object", "properties": { "lat": { "type": "number" }, "lon": { "type": "number" }, "radiusMiles": { "type": "number" } }, "required": [ "lat", "lon", "radiusMiles" ], "additionalProperties": false }, "limit": { "type": "number" }, "format": { "oneOf": [ { "type": "string", "enum": [ "records" ] }, { "type": "string", "enum": [ "geojson" ] } ] } }, "additionalProperties": false }NO county column — bbox/near only for spatial.
getServiceInfo
readSchema + record counts for any of 3 services (CA SWRCB / DWR Water). Pass `service` to scope.
Input schema
{ "type": "object", "properties": { "service": { "type": "string", "examples": [ "drinkingWater" ] } }, "additionalProperties": false }
