Democracy Works · OpenAPI Overlay 1.0.0

API Evangelist overlay for Democracy Works Voting Locations API

4 actions 4 updates documentation extends democracy-works-voting-locations-api-openapi.yml
Derived by API Evangelist Built from the contracts Democracy Works publishes. Democracy Works did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

descriptioncontactx-api-evangelistname

Targets 3

$.info
$.servers[0]
$.components.securitySchemes.ApiKeyAuth

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist overlay for Democracy Works Voting Locations API
  version: 1.0.0
extends: democracy-works-voting-locations-api-openapi.yml
x-provenance:
  generated: '2026-09-07'
  method: generated
  source: API Evangelist enrichment pass over the harvested Democracy Works contract; captures only the
    catalog's own enhancements and never mutates the provider document.
actions:
- target: $.info
  description: Add the support contact Democracy Works publishes in the contract prose but does not express
    as info.contact.
  update:
    contact:
      name: Democracy Works Partnerships
      email: partnerships@democracy.works
      url: https://www.democracy.works/contact
- target: $.servers[0]
  description: Name the server so a split document still says which surface it belongs to.
  update:
    description: Democracy Works Elections API v2 production base URL
- target: $.info
  description: Record where this document came from and what the catalog changed, so the refined copy
    is never mistaken for the provider original.
  update:
    x-api-evangelist:
      provider: Democracy Works
      providerId: democracy-works
      harvested: '2026-09-07'
      harvested-from: https://developers.democracy.works/api/v2
      original: openapi/_original/democracy-works-api-v2-openapi.json
      refinements:
      - Split from the single provider document to one document per resource group.
      - Declared the tag "Voting Locations" and applied it to every operation; the provider document tags
        no operation.
      - Restated the OpenAPI version as 3.2.0 (provider publishes 3.0.2).
      - Carried only the components each operation actually references.
      artifacts:
        authentication: authentication/democracy-works-authentication.yml
        conventions: conventions/democracy-works-conventions.yml
        errors: errors/democracy-works-problem-types.yml
        lifecycle: lifecycle/democracy-works-lifecycle.yml
        data-model: data-model/democracy-works-data-model.yml
        rate-limits: rate-limits/democracy-works-rate-limits.yml
- target: $.components.securitySchemes.ApiKeyAuth
  description: Normalize the header name to the casing the provider uses in its own curl example, and
    say how a key is obtained.
  update:
    name: X-API-KEY
    description: API key issued by Democracy Works on request (partnerships@democracy.works). No self-service
      signup; the signup URL cited in the contract description now soft-404s.

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/democracy-works-voting-locations-api-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.