Search
Global search across all civic data with relevance ranking and filtering options.
GET /api/v1/search/?q={query}
RESTful API for programmatic access to civic data. JSON responses with filtering, pagination, and rate limiting.
Global search across all civic data with relevance ranking and filtering options.
GET /api/v1/search/?q={query}
Federal and state elected officials with voting records, positions, and biographical data.
GET /api/v1/politicians/{id}
Election data including candidates, results, ballot measures, and voting locations.
GET /api/v1/elections/{year}
Federal legislation, bills, statutes, and regulatory actions with full metadata.
GET /api/v1/laws/{bill_id}
State government data including officials, demographics, and administrative information.
GET /api/v1/states/{state_code}
Base URL: https://unmaskedpolitics.com/api/v1/
Format: All responses are JSON with consistent error handling and status codes.
Authentication: Optional API key for higher rate limits and premium features.
Rate Limits: Free tier: 100 requests/hour. User tier: 1,000 requests/hour. User Plus: 10,000 requests/hour.
Try our API with a simple search query:
Response includes relevance-ranked results across politicians, laws, and election data.