{"name":"CampaignInTheAss Public API","version":"v1","baseUrl":"/api/v1","rateLimit":"60 requests/minute per IP","authentication":"None required for reads","termsOfService":{"summary":"By using this API you agree to the following terms:","prohibited":["Harassment or targeting of private individuals","Doxxing or publishing personal information to facilitate harm","Non-political commercial use without written permission","Automated bulk scraping beyond the stated rate limit","Any use that violates applicable law"],"permitted":["Journalism and investigative reporting","Academic research","Civic tech tools and voter education","Advocacy and political organizing"],"contact":"For API keys, higher rate limits, or questions: rbtjmorris@gmail.com"},"errorFormat":{"description":"All errors return a JSON object with these fields","schema":{"status":"number","message":"string","errors":"string[]"}},"endpoints":[{"method":"GET","path":"/api/v1/candidates","description":"List all candidates. Supports ?state=TN&party=Democrat&status=active filters.","filters":[{"param":"state","description":"Filter by state code or name (case-insensitive)"},{"param":"party","description":"Filter by party name (partial match)"},{"param":"status","description":"Filter by status: active | inactive | elected"}]},{"method":"GET","path":"/api/v1/candidates/:id","description":"Single candidate profile including bio, office, and party."},{"method":"GET","path":"/api/v1/candidates/:id/votes","description":"Full legislative voting record for the candidate."},{"method":"GET","path":"/api/v1/candidates/:id/finances","description":"Campaign finance data: contributions and total raised."},{"method":"GET","path":"/api/v1/candidates/:id/stock-trades","description":"STOCK Act disclosures including suspicious flags and window violations."},{"method":"GET","path":"/api/v1/candidates/:id/dossier","description":"Opposition dossier: contradictions, financial conflicts, ethics flags, and credibility score."},{"method":"GET","path":"/api/v1/ballot-measures","description":"List all ballot measures. Supports ?jurisdiction=TN filter.","filters":[{"param":"jurisdiction","description":"Filter by state/jurisdiction code"}]},{"method":"GET","path":"/api/v1/ballot-measures/:id","description":"Single ballot measure with pro/oppose candidate lists and spending data."}]}