Ballot measures endpoints
Ballotpedia offers a ballot measures-only package, which includes access to the following two endpoints. Access requires an API key passed via the x-api-key request header.
/data/election_dates/ballot_measures
Returns all states and dates that have ballot measures for a given year. Use this to discover which election dates have ballot measure data before querying for details.
year
string
Yes
Four-digit year (e.g. 2024)
state
string
No
Two-letter state abbreviation to filter results (e.g. CA)
/data/ballot_measures
Returns ballot measures grouped by district for a given state and election date.
state
string
Yes
Two-letter state abbreviation to filter results (e.g. CA)
election_date
string
Yes
Election date in YYYY-MM-DD format
district_type
string
No
Comma-separated list of district types to filter by (e.g. State,County)
Last updated