Public APIs
Dedline.io API favicon

Dedline.io API

Government

Data for US state voter registration deadlines and details, for primaries and general elections.

Dedline.io API's website screenshot

About Dedline.io API

Dedline API is a static, free API providing US voter registration deadline information for all 50 states and DC. It covers primary and general election registration deadlines, primary and general election dates, official state voter registration websites, and whether online or same-day (election day) registration is accepted.

Endpoints allow retrieving data for all states, a single state by abbreviation, states offering same-day registration, states without online registration, upcoming deadlines within the next 30 days, and aggregate statistics such as total states covered and counts of states with online or same-day registration. The upcoming-deadlines endpoint is updated daily via GitHub Actions.

The API is open source, served as static JSON files with CORS enabled for all origins, and is intended for developers building applications or tools related to civic engagement and voter registration.

Key features

  • Voter registration deadline data for all 50 US states plus DC
  • Separate primary and general election deadline fields per state
  • Endpoint listing states with same-day registration
  • Endpoint listing states without online registration
  • Upcoming deadlines endpoint auto-updated daily via GitHub Actions
  • Summary statistics endpoint for registration availability

Frequently asked questions

Is this API free to use?

Yes, it is a free and open-source static API intended as a community resource.

Are there rate limits or CORS restrictions?

CORS is enabled for all origins so it can be used from browsers, and there's no hard rate limit but users are asked to be respectful with request volume.

What data format does the API return?

It returns static JSON files, including endpoints like states.json, upcoming.json, and stats.json.

How do I query a specific state?

You can request /states/[STATE_ABBREVIATION].json, such as states/ca.json, to get that state's registration info.

Who is this API for?

It's aimed at developers building civic-tech tools who need US voter registration deadline and eligibility data.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product