Skip to main content
The utility territory endpoints let you look up which electric utility serves a given location. The browse endpoint (GET /api/v1/context/utility-territory) returns territory records you can filter by state, city, utility name, or lat/lng coordinates. The resolve endpoint (GET /api/v1/context/utility-territory/resolve) accepts a full postal address, geocodes it, and returns the best-matched service territory records ordered by confidence. Quote-safe territory resolution requires polygon-level coverage to be loaded for the target area — records backed only by sample-point context return with quote_safe: false.

Browse Utility Territories

Use this endpoint to explore which utilities operate in a state or city, or to find territories near a GPS coordinate.

Query Parameters

string
Two-letter state code (e.g., CA, FL). Case-insensitive.
string
City name. Partial match, case-insensitive.
string
Utility provider name or slug. Partial match on name, exact match on slug.
number
Latitude in decimal degrees. When combined with lng, results are sorted by distance from this point.
number
Longitude in decimal degrees. Must be supplied together with lat.
boolean
When true, returns only records verified for quote-safe territory assignment.
integer
default:"100"
Maximum number of records to return. Capped at 500.

Response Fields

array
Array of utility territory objects.
object
Query summary metadata.

Resolve Utility Territory from Address

Geocodes a postal address and returns the best-matched utility territory records. This endpoint performs a live geocode lookup when the address is not already in the resolver cache, so it counts against your resolve budget.
The resolve endpoint has a per-key resolve budget in addition to the standard rate limit. Each live geocode call (cache miss) decrements your budget. Cached responses (indicated by X-HSD-Cache: hit) do not consume budget. Contact support to increase your resolve quota.

Query Parameters

string
required
Full postal address to resolve (e.g., 1600 Pennsylvania Ave NW, Washington, DC 20500). Maximum 300 characters. Must be a postal address, not a URL or coordinate string.
integer
default:"5"
Maximum number of matched territory records to return. Capped at 10.

Response Headers

Response Fields

The response body is the full resolution object returned by the utility territory resolver. Key top-level fields:
object
Geocoding result for the submitted address.
array
Ordered list of matched utility territory records. Structure mirrors the browse endpoint records.
string | null
Method used to match the geocoded point to territories (e.g., polygon_lookup, sample_point_nearest).
A 422 status is returned when the address could not be geocoded. This still counts as a resolve attempt. Validate addresses client-side before calling this endpoint at scale.

Example Requests

Example Responses