Skip to content

civicAPI API

No authHTTPSCORSGovernment
Open documentation ↗

Overview

Provides live and historic election results for races across the world

civicAPI is a government API. It needs no API key. It is served over HTTPS and allows browser requests (CORS).

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Yes
Category
Government

Questions

Does the civicAPI API need an API key?

No. The civicAPI API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Can I call the civicAPI API from the browser?

Yes. The civicAPI API sends CORS headers, so a web page can call it directly with fetch().

Does the civicAPI API support HTTPS?

Yes, the civicAPI API is served over HTTPS.

What are alternatives to the civicAPI API?

Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.

Compare alternatives →

Listed from public-apis database (MIT), Free Public APIs.