Get an API key
Fields · utilities

nearest_public_water_system_name

SDWIS name of the active community water system whose EPA service-area polygon contains the point (identified by that polygon's exact PWSID; despite the legacy word 'nearest', no distance ranking is done).

Name nearest_public_water_system_name
Layer utilities
Type, unit string, none
Sources (in order) EPA_SDWIS
Cache 30 days (ttl_seconds 2592000)

What it is

SDWIS name of the active community water system whose EPA service-area polygon contains the point (identified by that polygon's exact PWSID; despite the legacy word 'nearest', no distance ranking is done).

Nulls

status "absent": no community water system service area contains the point, or SDWIS publishes no name. "failed": EPA did not answer, several systems contain the point, SDWIS returns not exactly one row, or lists the system as inactive or not a community water system.

Example

curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["nearest_public_water_system_name"]}'

Field object keys are described in Responses. Live definition: GET /v1/meta/fields.