Pollster's API provides the data underlying this website, including data from tens of thousands of polls our editors have entered.
The current Pollster API version is 2, introduced in January, 2017.
Browse the API documentation.
There's also a deprecated API that will expire in 2017.
Open-source projects that interface with the API:
- We wrote a Ruby client and a Python client
- Casey Thomas wrote a Node.js client
- Thomas Leeper, Jeffrey Arnold and Drew Linzer wrote an R client
Some of our favorite sites built with the API:
- Princeton Election Consortium
- The Washington Post's Poll Manipulator
- Watch The Polls
We're sharing this data under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
If you use our API, please attribute it. Link back to our site, and email us to let us know.
Subscribe to the pollster-users group for notification of API changes — or to ask questions or show us what you made.
You can also reach us on Twitter or GitHub.Tweet to @HuffPostData