How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Democracy Works Elections API v1 (legacy)

The first generation of the Democracy Works Elections API — 3 operations for upcoming elections and state election authorities. Still served at the unversioned base path and still documented (it is what the developer portal root returns), superseded by v2 in January 2024 but never marked deprecated and carrying no Sunset header. Uses a different auth header (Authorization: apikey) and returns application/edn error bodies.

Democracy Works Elections API v1 (legacy) is one of 9 APIs that Democracy Works publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Elections v1. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.democracy.works.

3 operations 3 paths 13 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.democracy.works
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Elections v1 3
GET
/election-authorities/state-urls/{stateAbbreviation}
State authority URLs
getStateAuthorityUrls 1 param → 200
GET
/election-authorities/states
All state authorities (contact information)
getStateAuthorities → 200
GET
/elections/upcoming
Upcoming elections
getUpcomingElections 5 params → 200

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are StateAuthorityResponse (13 properties), UpcomingElectionsResponse (11 properties), ByMailVotingMethod (10 properties), EarlyVotingVotingMethod (8 properties). Each schema is shown below with its type and property counts.

StateAuthorityUrlResponse
object
4 properties
StateAuthorityAddress
object
4 properties
StateAuthorityResponse
object
13 properties 1 required
LocalizedField
ByMailVotingMethod
object
10 properties 2 required
EarlyVotingVotingMethod
object
8 properties 1 required
InPersonVotingMethod
object
4 properties 2 required
ByMailRegistrationMethod
object
7 properties
ElectionDayRegistrationMethod
object
1 property
InPersonRegistrationMethod
object
3 properties
OnlineRegistrationMethod
object
5 properties
DistrictDivision
object
6 properties
UpcomingElectionsResponse
object
11 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

democracy-works-elections-v1-api-openapi.yml Raw ↑

Other APIs Democracy Works publishes across the network.

Democracy Works Authorities API
Democracy Works Elections API
Democracy Works Exports API
Democracy Works Ballot Measures API
Democracy Works Candidates API
Democracy Works Contests API
Democracy Works Endorsements API
Democracy Works Voting Locations API
Where this information came from

This is an independent, third-party profile of Democracy Works Elections API v1 (legacy), published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.