Polls API
Search…
Get all votes on a poll
Fetch all the votes on a poll as a paginated response
Having all the information is great, with Polls API you can get all the Votes on the polls easily.
We love our servers, like everyone else, which is why this API sends our paginated response. You can pass in offset & limit to fetch votes in bulk as pages.
There is a max limit of 100, so even if you pass ?limit=150 it will only send at max 100.
get
https://api.pollsapi.com/v1
/get/votes/{poll_id}?offset=0&limit=25
Get all votes

Example cURL Request

1
curl https://api.pollsapi.com/v1/get/votes/5f93915e7e044c74074f072e?offset=0&limit=10 \
2
-H "content-type: application/json" \
3
-H "api-key: $API_KEY"
Copied!
Last modified 11mo ago