civicAPI
civicAPI provides up-to-the-minute election results, data, race calls, and more for ongoing and histotric elections across the world, with the focus being on the US. It provides extensive data on national, local, and referendum elections.
civicAPI endpoints
| Method | Endpoint | Description |
|---|---|---|
| Races | ||
| GET |
getRaceByCountry /race/{countryCode}/{electionType}/{year} |
Returns detailed information about a specific race by country. |
| GET |
getRaceById /race/{raceId} |
Returns detailed information about a specific race by its ID. |
| GET |
getRaceByRegion /race/{countryCode}/{regionCode}/{electionType}/{year} |
Returns detailed information about a specific race by region. |
| GET |
/upcomingraces /upcomingraces |
Returns a list of upcoming elections grouped by country and states. |
| GET |
getRaceByCity /race/{countryCode}/{regionCode}/{cityName}/{electionType}/{year} |
Returns detailed information about a specific race by city. |
civicAPI pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|