{
  "x402Version": 2,
  "id": 8221,
  "slug": "8221",
  "resource": "https://zini-x402.wouldzini.workers.dev/v1/lookup",
  "description": "Official drinking-water file for an address or lat/lng (relocation / lodging due diligence). clear/caution/avoid from EPA, Hub'Eau, or JMP. Never invents grades.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA3897b8E871569C1b619B0739d110a5B678EE2Fc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "address": "2150 Shattuck Ave, Berkeley, CA"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "citations": [
              {
                "agency": "U.S. Environmental Protection Agency",
                "id": "echo-dfr",
                "name": "EPA ECHO detailed facility report (CA0110001)",
                "url": "https://echo.epa.gov/detailed-facility-report?fid=110001189632"
              }
            ],
            "compliance": {
              "currentViolation": false,
              "extractDate": null,
              "healthBasedViolation": false,
              "lastSanitarySurvey": "11/18/2025",
              "monitoringViolation": false,
              "seriousViolator": false,
              "trippedFlags": []
            },
            "data": {
              "coverage": "utility"
            },
            "decision": {
              "basedOn": "epa-sdwis-echo",
              "outcome": "clear",
              "reason": "EPA SDWIS/ECHO lists no health-based, current, monitoring/reporting, or serious-violator flags for this utility."
            },
            "evidence": {
              "ccr": "https://www.epa.gov/ccr",
              "echoDfr": "https://echo.epa.gov/detailed-facility-report?fid=110001189632",
              "sdwis": "https://sdwis.epa.gov/ords/sfdw_pub/r/sfdw/sdwis_fed_reports_public/200"
            },
            "limits": {
              "coverageNote": "Utility file is not a tap sample for this address.",
              "known": [
                "Utility-level EPA SDWIS/ECHO compliance flags"
              ],
              "unknown": [
                "Street-level lab panel",
                "Private wells (not in SDWIS)"
              ]
            },
            "next_actions": [
              {
                "action": "cite",
                "detail": "Link the ECHO DFR and CCR in your answer."
              },
              {
                "action": "note_limits",
                "detail": "Tell the user this is utility-file coverage, not a kitchen-tap lab result."
              }
            ],
            "place": {
              "city": "Berkeley",
              "country": "United States",
              "countryCode": "us",
              "displayName": "Berkeley, Alameda County, California, United States",
              "lat": 37.8708393,
              "lon": -122.272863
            },
            "summary": "EPA SDWIS/ECHO shows a clean compliance file for ALAMEDA COUNTY WATER DISTRICT (CA0110001). Last sanitary survey 11/18/2025. This is utility-level coverage, not a street lab panel.",
            "utility": {
              "name": "ALAMEDA COUNTY WATER DISTRICT",
              "populationServed": 344000,
              "pwsId": "CA0110001",
              "stateCode": "CA",
              "systemType": "Community water system"
            },
            "verdict": {
              "call": "hell-yes",
              "headline": "Clear EPA compliance file",
              "meetsLabel": "No health-based, current, or monitoring flags",
              "meetsStandards": "yes"
            },
            "via": "via Would Zini Drink It"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "Provide address (GET also accepts q), or both lat and lng. lon is accepted as an alias for lng.",
                "oneOf": [
                  {
                    "required": [
                      "address"
                    ]
                  },
                  {
                    "required": [
                      "q"
                    ]
                  },
                  {
                    "required": [
                      "lat",
                      "lng"
                    ]
                  },
                  {
                    "required": [
                      "lat",
                      "lon"
                    ]
                  }
                ],
                "properties": {
                  "address": {
                    "description": "Street address, city, or postal code. Required unless lat and lng are both set. GET also accepts q.",
                    "type": "string"
                  },
                  "lat": {
                    "description": "Latitude. Must be paired with lng (or lon).",
                    "type": "number"
                  },
                  "lng": {
                    "description": "Longitude. Must be paired with lat.",
                    "type": "number"
                  },
                  "lon": {
                    "description": "HTTP alias for lng.",
                    "type": "number"
                  },
                  "q": {
                    "description": "HTTP GET alias for address.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "zini-x402.wouldzini.workers.dev",
  "lastUpdated": "2026-09-10T23:30:42.408Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-10T23:30:41.728Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "zini-x402.wouldzini.workers.dev",
    "manifest_name": "zini-x402.wouldzini.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}