US federal candidate lookup: search official election records by name and get matching can
US federal candidate lookup: search official election records by name and get matching candidates with their unique candidate ids, party, office sought, state, district, active-through year, and principal campaign committees. The cheap resolver step before pulling finance totals or joining candidates to trades and lobbying records.
5000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-20
updated
Provider
x402.forgemesh.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x850363a27F0aC6fEb9C7a3eC4C1d295262dF9432",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"candidate": "ossoff"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"attribution": "Federal Election Commission (public domain)",
"candidates": [
{
"active_through": 2026,
"candidate_id": "S8GA00180",
"district": null,
"name": "OSSOFF, T. JONATHAN",
"office": "Senate",
"party": "DEMOCRATIC PARTY",
"principal_committees": [
{
"committee_id": "C00642406",
"name": "JON OSSOFF FOR SENATE"
}
],
"state": "GA"
}
],
"matched": 2,
"query": {
"candidate": "ossoff"
},
"returned": 2
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"candidate": {
"description": "candidate name, min 3 chars (required)",
"type": "string"
}
},
"required": [
"candidate"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"info": {
"required": false
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "5000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x850363a27F0aC6fEb9C7a3eC4C1d295262dF9432",
"resourceUrl": "https://x402.forgemesh.io/fec-candidate-lookup",
"scheme": "exact",
"validUntil": 1787248371,
"version": 1
},
"signature": "0xd1aabf5e6ec263601d5707f59f4ca3988c084b8cc3e24c008123f1b2d152bb447d08a7a11be8a087b621775a9950b3fe98036a809e1a654a5c95532eeb3c7ba01b"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}Use it
curl
curl "https://x402.forgemesh.io/fec-candidate-lookup" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.forgemesh.io/fec-candidate-lookup");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.forgemesh.io/fec-candidate-lookup")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/14285.json, and this resource appears in /discovery/resources and /discovery/search.