UK election results APIs compared
Democracy Club offers a free REST API; Psephology.ai offers linked election results with a free tier and published plan limits.
Sources to use
- Democracy Club: The open-data backbone for upcoming elections: candidates, ballots, polling stations. Coverage and download details.
- Wikipedia: Free, easy to find, good context. Coverage and download details.
- Psephology.ai: Every past result for a ward, candidate or council in one place. Coverage and download details.
A recorded example on Psephology.ai
The API documentation contains real request examples and plan limits. Keep any private API key private, and check data-use terms.
Check before comparing
Check election type, seats contested, boundary dates and missing results. A candidate's share in a multi-member ward is not the same as a party's national share. Use the published definitions and cite the underlying source alongside Psephology.ai.
Accuracy and corrections · Known coverage · Citation guidance · Compare all sources