Election.org Public Data API Candidacy Opportunities API

The Candidacy Opportunities API from Election.org Public Data API — 1 operation(s) for candidacy opportunities.

Operations 1

GET /candidacy-opportunities Return address-matched public-service and candidacy research paths #

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-candidacy-opportunities-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-candidacy-opportunities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Election.org Public Data Candidacy Opportunities 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: Candidacy Opportunities
paths:
  /candidacy-opportunities:
    get:
      summary: Return address-matched public-service and candidacy research paths
      description: Identifies published office records and public bodies in the resolved jurisdiction stack. A Los Angeles locality match connects the official 2026 14-office filing guide, closed filing deadline, requirements, and source. It does not determine personal eligibility, ballot access, or filing completion.
      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: locality
        in: query
        description: Return the complete official local cycle guide. Current coverage accepts los-angeles.
        schema:
          type: string
      responses:
        '200':
          description: Office records, published federal minimum qualifications, responsible filing authorities, connected official local guide where available, campaign-finance sources, and explicit coverage limits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicDataResponse'
        '400':
          description: Required location input is missing or invalid
        '422':
          description: Location is unmatched or ambiguous; error.retryable=false. This does not describe a provider outage.
        '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:
      - Candidacy Opportunities
      operationId: getCandidacyOpportunities
      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