Skip to main content
CivicGate

Public API

CivicGate exposes its public data through a read-only GraphQL API. No key, no signup — just query. Every field traces to an official source, so you get provenance for free.

Endpoint

POST https://api.civicgate.org/graphql

Example — a quick curl

curl -s https://api.civicgate.org/graphql \
  -H 'content-type: application/json' \
  -d '{"query":"{ billsPage(limit:3){ bills{ number title status } total } }"}'

Example — federal agency awards

query {
  agency(id: "agency-097") {
    name
    totalCents
    topAwards { recipientName amountCents awardType }
  }
}

Explore the full schema via introspection. Common roots: bills, people, billsPage, funding, agency, agencies, fundingByState, elections.

Terms

CivicGate aggregates public records; each carries a link to its official source — cite the upstream source (e.g. Congress.gov, FEC, USAspending) as well as CivicGate. Be polite: cache responses and stay within the rate limit. This API is provided as-is for civic, research, and journalistic use.