googleapis.com

Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.

🔑 oauth2 5 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Searches for political divisions by their natural name or OCD ID.
curl \
  https://civicinfo.googleapis.com/civicinfo/v2/divisions
List of available elections to query.
curl \
  https://civicinfo.googleapis.com/civicinfo/v2/elections
Looks up information relevant to a voter based on the voter's registered addr…
curl \
  https://civicinfo.googleapis.com/civicinfo/v2/voterinfo
Endpoints (5 total)
GET
/civicinfo/v2/divisions
Searches for political divisions by their natural name or OCD ID.
GET
/civicinfo/v2/elections
List of available elections to query.
GET
/civicinfo/v2/voterinfo
Looks up information relevant to a voter based on the voter's registered addr…
GET
/civicinfo/v2/representatives
Looks up political geography and representative information for a single addr…
GET
/civicinfo/v2/representatives/{ocdId}
Looks up representative information for a single geographic division.
At a glance
Total SDKs10
Languages6
Endpoints5
Authoauth2
Categories2
https://civicinfo.googleapis.com