Use these endpoints to find elected officials.
Cicero
Cicero is a powerful Cloud API designed to seamlessly match addresses or locations to legislative districts while providing comprehensive contact information for elected officials.
Things you might want to use Cicero for:
- Provide an elected official lookup tool on your website.
- Create constituent records in your database.
- Display district boundaries on a map.
- Show elected official profiles in your app.
Documentation
The primary way to get information from Cicero's database of officials and districts is through a location query.
When you include API call parameters that provide a location in the form of a latitude & longitude coordinate, street address, or postal code, Cicero will find that location on the Earth's surface and match it against a range of district boundaries. In this way, you can determine which elected official represents any home, business, or place in regions with Cicero coverage.
| Location Query | Parameters |
|---|---|
| Latitude & Longitude | lat, lon |
| Address | (search_loc) OR (search_address, search_neighborhood, search_city, search_state, search_postal, search_country) |
| Postal Code | search_postal, search_country |
Product Page
Support Center
The License Key issued by Melissa.
Required. The official neighborhood of the location (in countries with postal designations e.g., Mexico).
Whether to sort the results in ascending or descending order.
The date the district is valid on or after. Date should be specified in a YYYY-MM-DD format.
The date the district is valid on or before. Date should be specified in a YYYY-MM-DD format.
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.
The License Key issued by Melissa.
- https://app.cicerodata.com/v3.1/official
- curl
- C#
- Python
- Java
- JavaScript
- Node.js
- PHP
- Go
- Ruby
- R
- C#+Newtonsoft
- Java8+Apache
- Payload
curl -i -X GET \
'https://app.cicerodata.com/v3.1/official?customer_id={REPLACE-WITH-YOUR-LICENSE-KEY}&lat=33.63756710910554&lon=-117.60695049134513'{ "response": { "errors": [], "messages": [], "results": { … } } }
Request
This resource provides the ability to list elected officials by level and region rather than for a single geographic location. The endpoint is filtered by district type and region, and sorted by last_name, first_name.
Cost: 50 credits
Permission: Please contact the Cicero Team to request access to this resource.
The License Key issued by Melissa.
The country of the location (Use ISO 3166-1 alpha-2 code) used as a filter.
The License Key issued by Melissa.
- https://app.cicerodata.com/v3.1/officials_by_region
- curl
- C#
- Python
- Java
- JavaScript
- Node.js
- PHP
- Go
- Ruby
- R
- C#+Newtonsoft
- Java8+Apache
- Payload
curl -i -X GET \
'https://app.cicerodata.com/v3.1/officials_by_region?customer_id={REPLACE-WITH-YOUR-LICENSE-KEY}&district_type=NATIONAL_LOWER&country=US'{ "response": { "errors": [], "messages": [], "results": { … } } }