All data sources

CA SWRCB / DWR Water

No authswrcb-water

California State Water Resources Control Board + DWR — drinking water systems + Bulletin 118 basins + stream gages. - searchDrinkingWaterSystems ⭐ ~5K SABL polygons. county UPPERCASE - searchGroundwaterBasins ⭐ ~515 DWR Bulletin 118 basin/subbasin polygons. NO county - searchStreamGages ~2.6K USGS+DWR+local. Filter hasFlow/hasStage/gageStatus upstream quirks: Multi-host — gispublic.waterboards.ca.gov (SWRCB native) for Drinking Water + StreamGages; utility.arcgis.com (DWR utility map) for Bulletin 118. SWRCB Drinking Water OWNER_TYPE_CODE has trailing space ('L ', 'P ' etc) — handler matches both forms. Bulletin 118 is published by DWR, exposed here for one-stop water context.

Provenance

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationNo credentials required

Methods (4)

  • searchDrinkingWaterSystems

    read

    SWRCB 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

    read

    DWR 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

    read

    CA 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

    read

    Schema + 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
    }