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
Request
Cicero makes simple maps of district boundaries available through the map resource.
Use the id property from a District object with this resource to request an image showing the shape of the district. The appearance of the map can be configured beyond the default style with graphical parameters.
JSON and XML responses will contain the image as a data URI. Requests with format=image will return only the image.
Cost: 1 credit
The License Key issued by Melissa.
The type of line joins for the district's outline.
The EPSG code spatial reference system code for the map.
The License Key issued by Melissa.
- https://app.cicerodata.com/v3.1/map/{district_id}
- 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/map/{district_id}?customer_id={REPLACE-WITH-YOUR-LICENSE-KEY}'{ "response": { "errors": [], "messages": [], "results": { … } } }