# Poll problem - exact vote numbers needed

**URL:** https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392
**Category:** Support
**Tags:** polls
**Created:** [August 19, 2017, 7:11pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392 "2017-08-19T19:11:14Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [August 20, 2017, 12:27pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/4 "2017-08-20T12:27:34Z")

</div>

You can find the number of votes with the API. By visiting `https://discourse.example.com/t/#{topic_id}/posts.json` you’ll get the JSON data of all the posts within the topic. The `#{topic_id}` is the number you see in your browser’s URL bar when you visit a topic.

The API will return a large JSON object where you’ll find the number of votes for each option under the `polls` key.

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/f/af57405cba1af5012cfc37b893e6616ccacc6081.png)

* * *

Or you could use the [Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566) if you want to find out even more about the polls. The query in [Is it possible to see who voted in polls? - #12 by gerhard](https://meta.discourse.org/t/is-it-possible-to-see-who-voted-in-polls/27064/12) should be a good starting point…

---

_[View the full topic](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392)._
