---
title: "Election Area Summary"
method: GET
path: "/elections/area"
tags: ["US Elections"]
---

# Election Area Summary

`GET /elections/area`

## Request

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

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}.

## Query parameters

- `state` string
- `county_fips` string
- `county` string
- `place_fips` string
- `city` string

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
