Api Endpoint

2s

Aggregate financial summaries (receipts, disbursements, cash-on-hand, debt, transfers, refunds, contributions by source, etc.) per cycle for federal candidates (scope=candidates) or committees (scope=committees). Filter by candidateId / committeeId, cycle, office (P/S/H), party, state, district. For candidates, electionFull=true rolls all cycles of a single election into one row (e.g. a presidential cycle spans 4 years). Use this for top-line "how much did they raise/spend" answers without paging through millions of itemized transactions.

Open interactive test console

Offering

Provider
2s.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://2s.io/api/gov/fec-totals
MIME type
application/json
First seen
2026-10-16T01:54:06.400Z
Last seen
Tags
public-records, identifiers, AI-agents, us-gov-data, X402, upto-billing, ai-gateway, agent-infrastructure

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn"
  }
]

Observed health

Status
Healthy
Latest latency
101 ms
Average latency
13327 ms
HTTP status
402
Last checked
Reachability
91.7% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "const": "http"
    },
    "method": {
      "const": "GET"
    },
    "queryParams": {
      "properties": {
        "scope": {
          "type": "string",
          "enum": [
            "candidates",
            "committees"
          ]
        },
        "candidateId": {
          "type": "string"
        },
        "committeeId": {
          "type": "string"
        },
        "cycle": {
          "type": "integer"
        },
        "office": {
          "type": "string",
          "enum": [
            "P",
            "S",
            "H"
          ]
        },
        "party": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "district": {
          "type": "string"
        },
        "electionFull": {
          "type": "boolean",
          "description": "Candidates only: aggregate full election cycle."
        },
        "perPage": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 25
        },
        "page": {
          "type": "integer",
          "minimum": 1,
          "default": 1
        }
      },
      "required": [
        "scope"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "const": "http"
        },
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "properties": {
            "scope": {
              "type": "string",
              "enum": [
                "candidates",
                "committees"
              ]
            },
            "candidateId": {
              "type": "string"
            },
            "committeeId": {
              "type": "string"
            },
            "cycle": {
              "type": "integer"
            },
            "office": {
              "type": "string",
              "enum": [
                "P",
                "S",
                "H"
              ]
            },
            "party": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "district": {
              "type": "string"
            },
            "electionFull": {
              "type": "boolean",
              "description": "Candidates only: aggregate full election cycle."
            },
            "perPage": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "page": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          "required": [
            "scope"
          ]
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ]
    }
  },
  "required": [
    "input"
  ]
}