Requesting Example for U.S. Presidential Election Results via Election API

67 views
Skip to first unread message

Alex Roux

unread,
Sep 17, 2024, 9:05:03 AM9/17/24
to Google Civic Information API

Hello,

I am reaching out because, as part of a protocol our team is developing, we would like to use the Google Civic API to obtain the result of the U.S. presidential election on November 5, 2024.

At the moment, we are using a request from the Representatives API to check who is in the White House.

Like this:
GET https://civicinfo.googleapis.com/civicinfo/v2/representatives?address=1600+Pennsylvania+Ave+NW,+Washington,+DC+20500&key=API_Key

However, we are not certain that this request will give us the results on the same day.

Could you provide us with an example of a request using the "Election API" that would allow us to get the result of the U.S. election on November 5, 2024?

Thank you.

Google Civic Information API

unread,
Sep 19, 2024, 10:03:47 AM9/19/24
to Google Civic Information API
Hello,
The Civic information API does not return election results. The Representatives API only returns the current set of representatives for a given address or division.

Thanks,
Carolyn on behalf of Google Civic Info API team

Alex Roux

unread,
Sep 19, 2024, 10:49:40 AM9/19/24
to google-civ...@googlegroups.com
Thanks for your feedback.

However, I would like to know, once the U.S. presidential election is over and the results are validated, how long it will take for the representative API to indicate the new “official” in the White House—currently Joe Biden. 

This would be one way of using the API to determine the election result.

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Civic Information API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-civicinfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-civicinfo-api/51832132-a88f-4ffe-9009-0df6996b4de3n%40googlegroups.com.

Google Civic Information API

unread,
Sep 24, 2024, 4:09:40 PM9/24/24
to Google Civic Information API
The Representatives API will have new officeholder information for federal, statewide, and state legislative offices updated by the end of March 2025. For reference, for the 2020 general election new officeholders, federal level updates were reflected on 1/11/2021, state level officeholder updates 1/29/2021, and local officeholder updates by 2/29/2021.
Note that the Representatives API will be deprecated in Apr 2025.

Thank you,
Carolyn on behalf of Google Civic Info API team

Reply all
Reply to author
Forward
0 new messages