GET
/health
Returns service health and current database time.
Public docs
Base URL
All endpoints except /health require the x-api-key header. The API is designed for read-only access from agents, scripts, and secure dashboards.
Send x-api-key on every non-health request.
Registered voters is the canonical query surface.
A click-to-copy prompt is included for tool-using assistants.
GET
Returns service health and current database time.
GET
Returns imported dataset summaries and row counts.
GET
Searches the main statewide registered voter dataset.
GET
Returns the full registered voter profile for a single voter ID.
GET
Returns voter history records and election participation arrays.
GET
Returns district and precinct mapping details.
GET
Returns OMV attribution records by voter ID or county.
Agentic prompt
Use the Politogy Statewide Voter Data API. Base URL: https://backend-api-production-c3d8.up.railway.app Authenticate every non-health request with the header x-api-key: YOUR_API_KEY. Start with GET /datasets to inspect available record counts. Use GET /registered-voters for primary voter lookup with search, county, partyCode, status, congressionalDistrict, page, and pageSize query params. Use GET /registered-voters/:voterId when you already know the voter ID. Use GET /voting-history to retrieve election participation arrays. Use GET /district-precincts for district metadata and GET /omv for Motor Voter attribution. Return concise summaries and preserve voter IDs exactly as provided by the API.Sign in to the dashboard