API Usage Guide: Company Service Area

This API allows users to determine if a specific latitude and longitude fall within the company's service area.

Endpoint

GET /company_service_area?lat={latitude}&lon={longitude}

Parameters

Response

The API returns a JSON object containing details about the service area. Example response:

[ [ { "wp_id": "american_water", "parent_company": "American Water" } ] ]

Example Request

Here is an example of how to use the API:

curl "https://waterdata.nawc.org/company_service_area?lat=38.42026799&lon=-81.54286497"

Notes