User Tools

Site Tools


poll_site_locator_api

This is an old revision of the document!


Poll Site Locator API

Operations at https://nyc.electionapi.com/psl - City of New York Poll Site Locator App

The Poll Site Locator http://pollsitelocator.com (NYC=http://nyc.pollsitelocator.com) enables voters to find their poll site and upcoming election information by supplying their home address. This site returns current poll site, voting district, upcoming elections (if any) and any contests established on the ballot for that voting district.

At any time you may view a list of currently supported API for this app by using this web address: https://nyc.electionapi.com/psl/help.

ElectionAPI.com provides a mechanism for retrieving the information supplied by pollsitelocator.com through an HTTP interface that returns data.

This page describes the service operations at this endpoint.

NOTE: Be sure to include the API Key parameter with your call see api_keys

New API to Support Early Voting Sites - Official Version 1.0

Old API (beta version) for Backward Compatibility Only - Please use API above (Version 1.0) if possible

Uri MethodDescription
accountlanguages GET Service at https://nyc.electionapi.com/psl/accountlanguages
accountlinks GET Service at https://nyc.electionapi.com/psl/accountlinks?lang={CODE}
contestlist GET Not Supported
customerror GET Service at https://nyc.electionapi.com/psl/customerror
languages/{code}/stringsGET Service at https://nyc.electionapi.com/psl/languages/{CODE}/strings
pollsiteinfo GET Service at https://nyc.electionapi.com/psl/pollsiteinfo?latitude={LATITUDE}&longitude={LONGITUDE}&county={COUNTY}&streetnumber={STREETNUMBER}&streetname={STREETNAME}&postalcode={POSTALCODE}
poll_site_locator_api.1568137732.txt.gz · Last modified: 2019/09/10 10:48 by timsmith