Build anything on the same votes
A secret API for your game, a public API for your website, and signed webhooks for everything else. Small clients without dependencies save you the typing.
curl -X POST -H "X-Api-Key: YOUR_KEY" \
-d player=Zezima -d ref=A-NEW-UUID \
"https://votescript.voterank.net/index.php?r=api/v1/claim"
{"ok": true, "player": "Zezima", "votes": 2,
"items": [{"key": "995", "name": "Coins", "amount": 200000}]}What it does
Game API
Check, claim, redeem a code, list who is waiting, top voters.
Public API
Texts, lists with images, rewards, top voters, counts, one player’s state.
Safe to repeat
The same reference gives the same answer, so a lost answer costs nothing.
Keys stored as hashes
A key is shown once. Create one per game server and delete it any time.
Plain text too
For languages without JSON, claims can answer in simple lines.
Your own fields
Keep links, rules and images in the dashboard and read them in your site.
Headless: you draw, we count
Start a vote from your own button, send the player to the address you get back, and show the state from the API. Callbacks, rewards and players stay with VoteScript.
const vs = VoteScript.api('your-server');
const { sites } = await vs.server();
const { players } = await vs.top({ period: 'month', limit: 10 });
const url = await vs.vote('voterank', 'Zezima');Clients
Java 8, Node, Python and .NET. One file each.
Questions
Is the public API open to everyone?
Are there limits?
Where is the reference?
Next
GuideConnect your game4 steps with pictures
GuideHost the page yourself4 steps with pictures
FeatureWebhooks and DiscordAnnounce votes in a Discord channel, or send them to your own systems with a signed request.
FeatureWebsite filesDownload ready files, upload them to your hosting and change anything. They are filled in with your server and talk to VoteScript for votes, callbacks and rewards.
FeatureWebsite embedPaste two lines. Players vote without leaving your site, and the list looks right on any design because your styles cannot reach inside.
Give your players one place to vote
Your page is live as soon as you create your server. You can connect the rest step by step.

