curl "https://picked.gg/api/v1/bots/YOUR_BOT_ID/check?userId=336878018143223809" \
-H "Authorization: YOUR_API_TOKEN"async function hasVoted(interaction) {
const response = await fetch(
`https://picked.gg/api/v1/bots/${interaction.client.user.id}/check?userId=${interaction.user.id}`,
{ headers: { Authorization: process.env.PICKED_TOKEN } }
);
const vote = await response.json();
return vote.hasVoted;
}import os, aiohttp
async def has_voted(interaction: discord.Interaction) -> bool:
async with aiohttp.ClientSession() as session:
async with session.get(
f"https://picked.gg/api/v1/bots/{interaction.client.user.id}/check",
params={"userId": str(interaction.user.id)},
headers={"Authorization": os.environ["PICKED_TOKEN"]},
) as response:
return (await response.json())["hasVoted"]<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://picked.gg/api/v1/bots/{id}/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://picked.gg/api/v1/bots/{id}/check"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://picked.gg/api/v1/bots/{id}/check")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://picked.gg/api/v1/bots/{id}/check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"voted": 1,
"hasVoted": true,
"votedAt": "2026-09-12T08:15:00.000Z",
"nextVoteAt": "2026-09-12T20:15:00.000Z"
}{
"error": "Invalid JSON body."
}{
"error": "Invalid token."
}{
"error": "Bot not found."
}{
"error": "Rate limit exceeded.",
"retryAfter": 42
}Check a User Vote
Answers whether a user is inside their current 12-hour vote window. This is the endpoint that makes vote-for-perks possible, so its limit is the highest on the API: 600 requests per minute per token.
voted is 0 or 1 because that is what bot code written against other lists expects; hasVoted is the readable alias for new code. nextVoteAt lets the bot tell the user when to come back without recomputing the cooldown.
curl "https://picked.gg/api/v1/bots/YOUR_BOT_ID/check?userId=336878018143223809" \
-H "Authorization: YOUR_API_TOKEN"async function hasVoted(interaction) {
const response = await fetch(
`https://picked.gg/api/v1/bots/${interaction.client.user.id}/check?userId=${interaction.user.id}`,
{ headers: { Authorization: process.env.PICKED_TOKEN } }
);
const vote = await response.json();
return vote.hasVoted;
}import os, aiohttp
async def has_voted(interaction: discord.Interaction) -> bool:
async with aiohttp.ClientSession() as session:
async with session.get(
f"https://picked.gg/api/v1/bots/{interaction.client.user.id}/check",
params={"userId": str(interaction.user.id)},
headers={"Authorization": os.environ["PICKED_TOKEN"]},
) as response:
return (await response.json())["hasVoted"]<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://picked.gg/api/v1/bots/{id}/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://picked.gg/api/v1/bots/{id}/check"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://picked.gg/api/v1/bots/{id}/check")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://picked.gg/api/v1/bots/{id}/check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"voted": 1,
"hasVoted": true,
"votedAt": "2026-09-12T08:15:00.000Z",
"nextVoteAt": "2026-09-12T20:15:00.000Z"
}{
"error": "Invalid JSON body."
}{
"error": "Invalid token."
}{
"error": "Bot not found."
}{
"error": "Rate limit exceeded.",
"retryAfter": 42
}Authorizations
The bot's API token, generated on its edit page. Sent bare or as Bearer <token> -- both are accepted, because the libraries already posting to other lists send both. The token is shown once; generating a new one invalidates the old.
Path Parameters
The bot's Discord application id. It has to be the bot the token belongs to.
^\d{17,19}$Query Parameters
The Discord user id to look up.
^\d{17,20}$
