Election.org Public Data API Alerts API

The Alerts API from Election.org Public Data API — 1 operation(s) for alerts.

Operations 1

GET /alerts Resolve election alerts, calendar subscription, and official voter actions #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/election-org:election-org-alerts-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

election-org-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Election.org Public Data Alerts API
  version: '2026-09-12'
  description: Source-first public election data. Public beta coverage is explicit; null and omitted values are never silently converted to zeroes or inferred facts.
  contact:
    email: data@election.org
servers:
- url: https://election.org/api/v1
tags:
- name: Alerts
paths:
  /alerts:
    get:
      summary: Resolve election alerts, calendar subscription, and official voter actions
      description: Accepts either an address or a state. Address input is used to resolve jurisdiction and is not returned in the response or calendar URL. Current automated coverage is limited to the FEC 2026 federal congressional calendar plus the federal general election.
      parameters:
      - name: address
        in: query
        required: false
        description: U.S. street address or 5-digit ZIP. ZIP results are approximate.
        schema:
          type: string
          minLength: 5
          maxLength: 120
      - name: state
        in: query
        required: false
        description: Two-letter postal abbreviation.
        schema:
          type: string
          minLength: 2
          maxLength: 2
      responses:
        '200':
          description: Upcoming sourced dates, calendar feed, official voter actions, and explicit unavailable alert types
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicDataResponse'
        '400':
          description: Neither state nor address provided
        '422':
          description: Address unresolved or jurisdiction unsupported
        '500':
          description: Lookup could not be completed; no result or empty coverage should be inferred. Private, no-store response.
        '503':
          description: Upstream location service is unavailable; error.code=lookup_unavailable, error.retryable=true. Retry later; do not downgrade to ZIP or infer no match.
        '504':
          description: The bounded location-service wait timed out; error.code=lookup_timeout, error.retryable=true. Retry later. Private, no-store response.
      tags:
      - Alerts
      operationId: getAlerts
      x-operation-id-source: derived
components:
  schemas:
    Citation:
      type: object
      description: Suggested attribution, not a forced backlink or new license. Collection sources are not necessarily evidence for every returned record. Dates are not request generation times.
      required:
      - suggested_credit
      - record_url
      - record_urls
      - credit_url
      - original_sources
      - updated_at
      - verified_at
      - guidance_url
      - rights_note
      properties:
        suggested_credit:
          type: string
        record_url:
          type:
          - string
          - 'null'
          format: uri
        record_urls:
          type: array
          items:
            type: string
            format: uri
        credit_url:
          type: string
          format: uri
        original_sources:
          type: array
          description: 'Returned-data source references. References explicitly marked applies_to_returned_records: false remain in response sources but are excluded here.'
          items:
            type: object
            properties:
              name:
                type: string
              url:
                type: string
                format: uri
              updated_at:
                type:
                - string
                - 'null'
              verified_at:
                type:
                - string
                - 'null'
              record_date:
                type:
                - string
                - 'null'
                description: Date on the cited record, not a source check or dataset update
        updated_at:
          type:
          - string
          - 'null'
          description: Explicit dataset update date, or null when unspecified
        verified_at:
          type:
          - string
          - 'null'
          description: Latest stated source check; does not establish freshness of every record
        dates_note:
          type: string
        source_scope:
          type: string
        source_summary_truncated:
          type: boolean
        guidance_url:
          type: string
          format: uri
        rights_note:
          type: string
    PublicDataResponse:
      type: object
      required:
      - data
      - citation
      properties:
        data: {}
        citation:
          $ref: '#/components/schemas/Citation'
      additionalProperties: true
externalDocs:
  description: Citation and reuse guidance
  url: https://election.org/data/api#attribution