# ForgeMesh Campaign Finance Totals

> ForgeMesh Campaign Finance Totals is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns official FEC campaign fundraising and spending totals (receipts, disbursements, cash on hand, debts, contribution splits) for a named candidate or FEC ID, per election cycle.

## Facts

- Endpoint: POST https://x402.forgemesh.io/campaign-finance-totals
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-campaign-finance-totals-849b15e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__BTVsbnjFpLrgYz_BkwNs

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 forgemesh-campaign-finance-totals-849b15e5 -d '<json body>'
```

Example prompt: What are the official FEC campaign finance totals for Nancy Pelosi — receipts, disbursements, cash on hand, and any debts — for her House seat in California?

## When to prefer this

Use this endpoint when you need structured, per-cycle campaign finance totals (receipts, disbursements, cash on hand, debts) for a specific US political candidate sourced directly from FEC public data. Prefer it over general web search when you need machine-readable JSON financials, when you have a candidate name or FEC ID, or when you need to filter by office type (President, Senate, House). It is ideal for programmatic analysis, journalism tools, or voter-information agents.

## Known failure modes

- Ambiguous candidate name returns wrong match — use candidate_id for precision
- No FEC data found for the given name or ID — returns empty or null totals
- Office filter mismatch — candidate exists but not for the specified office
- Candidate name too short (under 3 characters) — rejected by schema validation
- FEC data lag — most recent cycle data may not yet be reported

## How this service works

Official campaign fundraising and spending totals by candidate: receipts, disbursements, cash on hand, debts, and the individual-versus-committee contribution split, reported per election cycle as structured JSON. Name in, money out — candidate matching handled server-side with an optional office filter (President, Senate, House).

## Output

A JSON object containing matched candidate metadata (name, party, state, office, district, FEC candidate ID), an attribution note crediting the FEC as public domain, and an array of per-election-cycle financial totals including receipts, disbursements, cash on hand, and debts in USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "office": {
   "enum": [
    "president",
    "senate",
    "house"
   ],
   "type": "string",
   "description": "prefer matches for this office"
  },
  "candidate": {
   "type": "string",
   "description": "candidate name, min 3 chars"
  },
  "candidate_id": {
   "type": "string",
   "description": "exact FEC candidate id, e.g. 'P80001571' (alternative to name)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "candidate": {
   "name": "PELOSI, NANCY",
   "party": "DEMOCRATIC PARTY",
   "state": "CA",
   "office": "House",
   "district": "11",
   "candidate_id": "H8CA05035"
  },
  "attribution": "Federal Election Commission (public domain)",
  "totals_by_cycle": [
   {
    "cycle": 2026,
    "debts_usd": 0,
    "receipts_usd": 8123456.78,
    "cash_on_hand_usd": 2100000.5,
    "disbursements_usd": 6543210.99
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-campaign-finance-totals-849b15e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
