API
With our free API, you can easily track polls and their results, forever free.
Poll data
Fetches real time data and results about a poll.
POST https://api.smart-polls.net/v1/poll
Usage
id
string
The id of the poll, just look at the poll url
e.g. 123456
Example request
curl https://api.smart-polls.net/v1/poll \ -d id="123456"
Example request
{ "id": "123456", "title": "This is the poll title", "answers": [ { "id": "isza6uw2ndr", "name": "First option", "votes": 7, "percent": 70 }, { "id": "isza6uw0fdp", "name": "Second option", "votes": 3, "percent": 30 } ], "status": "clearly First option is the answer", "views": 1181, "viewsHuman": "1,181", "votes": 10, "votesHuman": "10", "public": true, "multiple": false, "created": 1476557558804, "createdHuman": "15.10.2016", "createdFromNow": "a minute ago", "dueDate": 1476557558804, "dueDateHuman": "15.10.2016", "link": "https://smart-polls.net/p/novotes" }