v1

latestOpenAPI 3.1.22026-08-061127187.7 KB
Districts

Find non-legislative districts

Cicero tracks non-legislative district boundaries and makes information about the districts available through the nonlegislative_district resource. The types of non-legislative districts tracked by Cicero vary regionally. The default response ordering is by id.

Use location queries on this resource.

Cost: 1 credit

get/nonlegislative_district

Query parameters

format'json' | 'xml'

Specify the desired format of the response.

customer_idstring password required

Required. The License Key issued by Melissa.

keystring password

The License Key issued by Melissa.

district_typestring required

Required. The type of district.

latstring required

Required. The latitude of the location.

lonstring required

Required. The longitude of the location.

search_locstring

Required. One line address or a single search string.

search_addressstring

Required. The street address of the location.

search_neighborhoodstring

Required. The official neighborhood of the location (in countries with postal designations e.g., Mexico).

search_citystring

Required. The city of the location.

search_statestring

Required. The state of the location.

search_postalstring

Required. The postal code of the location.

search_countrystring

Required. The country of the location (Use ISO 3166-1 alpha-2 code).

district_idstring

The identifying code for the district within its delegation or district type.

maxinteger

The maximum number of objects to return.

offsetinteger

Number of items to skip in the response, starting from the beginning of the list.

citystring

The city of the location used as a filter.

statestring

The state of the location used as a filter.

countrystring

The country of the location (Use ISO 3166-1 alpha-2 code) used as a filter.

valid_onstring

The date the district is valid on. Date should be specified in a YYYY-MM-DD format.

valid_on_or_afterstring

The date the district is valid on or after. Date should be specified in a YYYY-MM-DD format.

valid_on_or_beforestring

The date the district is valid on or before. Date should be specified in a YYYY-MM-DD format.

valid_rangestring

The dates during which the district is valid. Dates should be specified in a YYYY-MM-DD format and separated by a comma. Use ALL to return every district in all valid date ranges.

Headers

Accept'application/json' | '*/*' required

Format of the response.

Content-Type'application/json' | 'application/xml' required

Format of the request.

Response

Successful response