Pollster API
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.
Code
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
Gallery
Some of our favorite sites built with the API:
- Princeton Election Consortium
- Votamatic
- PredictWise
- The Washington Post's Poll Manipulator
- Watch The Polls
License
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.
Contact
Subscribe to the pollster-users group for notification of API changes — or to ask questions or show us what you made.
Tweet to @HuffPostData