This API allows users to determine if a specific latitude and longitude fall within the company's service area.
GET /company_service_area?lat={latitude}&lon={longitude}
38.42026799-81.54286497The API returns a JSON object containing details about the service area. Example response:
[
[
{
"wp_id": "american_water",
"parent_company": "American Water"
}
]
]
Here is an example of how to use the API:
curl "https://waterdata.nawc.org/company_service_area?lat=38.42026799&lon=-81.54286497"
wp_id field represents a unique identifier for the service area, and parent_company provides the name of the parent company responsible for the area.