Skip to content
Fourohtwo

Query official FEC historical U.S

instructional-decision-engine-x402.vercel.app/elections/results

Query official FEC historical U.S. presidential popular-vote results for 2016, 2020 and 2024 by state, DC or nation. Preserves named major-party candidates and a labeled all-others bucket. Supports future sourced unofficial snapshots with explicit status and timestamps; unavailable contests are rejected before payment. Free coverage: /elections/catalog.

BaseAnswering
POSThttps://instructional-decision-engine-x402.vercel.app/elections/results

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://instructional-decision-engine-x402.vercel.app/elections/results", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"contestId":"us-president-2024","jurisdictions":["US","CO"]}),
});
console.log(await res.json());

Example input

{
  "contestId": "us-president-2024",
  "jurisdictions": [
    "US",
    "CO"
  ]
}

More from NovaPathProvider status