Developers
Voting

Results Feed

You can show live vote counts on your own website or a big screen by reading a public results feed. No API key is needed.

The feed works only while results are visible to the public. If you've hidden results for a category, the feed returns 403.

CSV

GET https://officeug.com/vote/{company_slug}/{election}/results/live.csv
id,votes,disqualified
12,5310,0
15,4882,0
18,120,1
Column Meaning
id The contestant's ID.
votes Their current vote count.
disqualified 1 if disqualified, otherwise 0.

JSON

Use this one when you also need contestants' names. It's sorted with the highest count first.

GET https://officeug.com/vote/{company_slug}/{election}/results/data
{
  "candidates": [
    { "id": 12, "name": "Contestant A", "vote_count": 5310, "disqualified": false }
  ]
}

How often to fetch

Fetch the CSV feed no more than once every 15 seconds. It's cached for about that long, so fetching faster won't give you newer numbers, and heavy traffic from one address can be temporarily blocked.

For a screen that many people watch, fetch the feed once on your server and pass the result to your viewers, rather than having every viewer's browser fetch it.