HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Get Territories

Return a full or filtered list of Territories.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Filters the result to include only territories that this ZIP code is a part of.

string

Alias for zipCode, you can use either.

string

Recommended when passing in zipCode or postCode. We default this to US when zipCode or postCode is populated.

string

An address of any kind (e.g. San Francisco, CA, 94105, USA). Ideally this will contain a zipcode or post code, plus a country. Use this if you do not have the address parsed out in your app. If you do, its better to use postCode and country

string

Alias for addressString, you can use either.

float

(Optional) Represents the latitude of a geographical location. This should be paired with lng when not supplying a zip code or address.

float

(Optional) Represents the longitude of a geographical location. This should be paired with lat when not supplying a zip code or address.

int32

Filters the result set to only include territories within this LSE ID

boolean
Defaults to false

If true, this returns a list of territory items for each territory in the result set.

int32

For tariffs with prices varying by geographic location, this will return the list of those territories covered by this tariff. 3% of all tariffs have territory based pricing and those are typically in CA, NY and MA. For the 97% of tariffs that do not have territory based pricing, the result set will be empty.

string

Result will include territories of the specified usageType. If not set the results will be limited to those of usage type "SERVICE" or "TARIFF".

boolean
Defaults to false

If true, this returns a list of territory LSEs which are all the LSEs providing service in this territory.

string

Filters by the type of the territory items in each territory and must appear with containsItemValue. Possible values are: STATE, COUNTY, CITY, and ZIPCODE.

string

Filters by the value of the territory items in each territory and must appear with containsItemType.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json