US Elections

Election Area Summary

The latest elections for a state, county and city in one call: for each level (nation, state, county, city or town when matched) the last presidential results with margin, shift and flip, the last Senate and governor races, partisan lean and turnout. Made for pages and assistants that show the elections of a place.

The answer is {levels, coverage_note, about}.

get/elections/area

Request

  • Base URL: https://api.dataporium.io
  • URL: https://api.dataporium.io/elections/area
  • Auth: API key in query parameter apikey

Query parameters

statestring

State code

county_fipsstring

5-digit county code

countystring

County name (with state)

place_fipsstring

7-digit city code

citystring

City or town name (with state)

Response

Successful response (JSON).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.