# 2s FEC Campaign Finance Lookup

> 2s FEC Campaign Finance Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-12-02).

Search FEC candidates by name or retrieve detailed campaign finance totals by candidate ID from the U.S. Federal Election Commission

## Facts

- Endpoint: GET https://2s.io/api/gov/fec?utm_source=zero.xyz
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-fec-campaign-finance-lookup-e7cd991f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pLFWnPAhrIEuUGLLvNdP7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-fec-campaign-finance-lookup-e7cd991f
```

Example prompt: Can you pull up the FEC campaign finance data for Joe Biden — I want to see total receipts, disbursements, cash on hand, and individual contributions for the 2024 cycle? His candidate ID is P80000722.

## When to prefer this

Use this endpoint when you need authoritative, ground-truth FEC campaign finance data — total fundraising, spending, cash on hand, PAC contributions — for U.S. political candidates at the presidential, Senate, or House level. Prefer over scraped or aggregated sources when accuracy and official sourcing matter. Best for lookups by candidate name or known FEC candidate ID (e.g. P80000722). No API key or signup required; pay-per-call via USDC.

## Known failure modes

- No candidates found matching the provided name — returns empty items array with total: 0
- Invalid or unknown candidateId returns empty results or error
- Missing required queryParams (name or candidateId) may return empty or error response
- Rate or payment issues via x402 result in 402 Payment Required before data is returned
- FEC data may lag real-time by days or weeks depending on filing deadlines

## How this service works

US federal campaign finance from the FEC (openFEC). Two modes: pass name to search candidates (returns FEC candidate id, party, office, state, district, incumbent/challenger, status, and election cycles); or pass candidateId (e.g. P80000722) to get that candidate's aggregate financial totals — total receipts, disbursements, cash on hand, and individual / PAC / party / self contributions in USD for the newest cycle, alongside identity. Free, public-domain (FEC). Search by name first, then pass a returned candidateId back in for the money. For donor/spend diligence, political research, and disclosure lookups.

## Output

Returns an array of candidate records each containing name, party, state, office, district, election years, active cycles, incumbent/challenger status, and a finance object with receipts, disbursements, cash on hand, individual contributions, PAC contributions, and party contributions in USD for the most recent cycle, plus source attribution to openFEC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "name": {
       "type": "string",
       "description": "Candidate name to search (partial)."
      },
      "limit": {
       "type": "integer",
       "description": "Max candidates in name search (1-50, default 10)."
      },
      "candidateId": {
       "type": "string",
       "description": "FEC candidate id (e.g. P80000722) → financial totals."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-fec-campaign-finance-lookup-e7cd991f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
