get
https://api.genability.com/rest/public/territories
Return a full or filtered list of Territories.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Retrieve a full or filtered list of territories.
Use this endpoint to find geographic areas that define utility service coverage, tariff applicability, baseline regions, and climate zones. You can filter by location, LSE, tariff, usage type, or territory item.
Resource URI
GET /rest/public/territoriesQuery parameters
| Parameter | Type | Description |
|---|---|---|
zipCode | String | Return territories that include this ZIP code. Optional. |
postCode | String | Alias for zipCode. Optional. |
country | String | ISO country code. Recommended when passing zipCode or postCode. Defaults to US when a ZIP code or postcode is supplied. Optional. |
addressString | String | Address to use for location-based filtering, such as San Francisco, CA, 94105, USA. Optional. |
address | String | Alias for addressString. Optional. |
lat | Number | Latitude for location-based filtering. Use with lng when not supplying a ZIP code or address. Optional. |
lng | Number | Longitude for location-based filtering. Use with lat when not supplying a ZIP code or address. Optional. |
lseId | Integer | Return territories within this LSE. Optional. |
populateItems | Boolean | When true, includes territory items for each territory. Defaults to false. Optional. |
masterTariffId | Integer | Return territories covered by a tariff with territory-based pricing. Optional. |
usageTypes | String | Return territories with the specified usage type. If omitted, results are limited to SERVICE and TARIFF territories. Optional. |
populateLses | Boolean | When true, includes LSEs that provide service in each territory. Defaults to false. Optional. |
containsItemType | String | Territory item type to filter by. Choices are STATE, COUNTY, CITY, and ZIPCODE. Must be used with containsItemValue. Optional. |
containsItemValue | String | Territory item value to filter by. Must be used with containsItemType. Optional. |
For the full Territory data model and examples, see Territories.
Example
GET /rest/public/territories?postCode=94105&country=US&lseId=734&usageTypes=TARIFFA successful response returns a standard response payload with type set to Territory and results containing matching territories.
