Set leaderboard eligibility override
Admin-only. Upserts a manual leaderboard eligibility decision for a
wallet. force_exclude removes a wallet from public leaderboard
surfaces even when automatic anti-abuse rules do not catch it.
force_allow reinstates a wallet that was caught by an automatic
cluster rule after human review confirms it is legitimate.
POST
/
v1
/
admin
/
leaderboard-eligibility
Set leaderboard eligibility override
curl --request POST \
--url https://joyride.exchange/api/v1/admin/leaderboard-eligibility \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"wallet": "G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc",
"decision": "force_exclude",
"reason": "Confirmed shared device fingerprint cluster.",
"operator": "ops"
}
'import requests
url = "https://joyride.exchange/api/v1/admin/leaderboard-eligibility"
payload = {
"wallet": "G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc",
"decision": "force_exclude",
"reason": "Confirmed shared device fingerprint cluster.",
"operator": "ops"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
wallet: 'G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc',
decision: 'force_exclude',
reason: 'Confirmed shared device fingerprint cluster.',
operator: 'ops'
})
};
fetch('https://joyride.exchange/api/v1/admin/leaderboard-eligibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://joyride.exchange/api/v1/admin/leaderboard-eligibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'wallet' => 'G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc',
'decision' => 'force_exclude',
'reason' => 'Confirmed shared device fingerprint cluster.',
'operator' => 'ops'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://joyride.exchange/api/v1/admin/leaderboard-eligibility"
payload := strings.NewReader("{\n \"wallet\": \"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc\",\n \"decision\": \"force_exclude\",\n \"reason\": \"Confirmed shared device fingerprint cluster.\",\n \"operator\": \"ops\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://joyride.exchange/api/v1/admin/leaderboard-eligibility")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"wallet\": \"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc\",\n \"decision\": \"force_exclude\",\n \"reason\": \"Confirmed shared device fingerprint cluster.\",\n \"operator\": \"ops\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://joyride.exchange/api/v1/admin/leaderboard-eligibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"wallet\": \"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc\",\n \"decision\": \"force_exclude\",\n \"reason\": \"Confirmed shared device fingerprint cluster.\",\n \"operator\": \"ops\"\n}"
response = http.request(request)
puts response.read_body{
"wallet": "<string>",
"reason": "<string>",
"operator": "<string>",
"decided_at": 123
}{
"error": "Instrument not found"
}{
"error": "Instrument not found"
}{
"error": "Instrument not found"
}Authorizations
Admin token set via the ADMIN_TOKEN environment variable.
Body
application/json
Wallet address to override (Base58 Solana pubkey)
Example:
"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc"
Manual eligibility decision.
Available options:
force_exclude, force_allow Example:
"force_exclude"
Human-readable reason for the decision.
Example:
"Confirmed shared device fingerprint cluster."
Admin operator name or handle.
Example:
"ops"
⌘I
Set leaderboard eligibility override
curl --request POST \
--url https://joyride.exchange/api/v1/admin/leaderboard-eligibility \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"wallet": "G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc",
"decision": "force_exclude",
"reason": "Confirmed shared device fingerprint cluster.",
"operator": "ops"
}
'import requests
url = "https://joyride.exchange/api/v1/admin/leaderboard-eligibility"
payload = {
"wallet": "G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc",
"decision": "force_exclude",
"reason": "Confirmed shared device fingerprint cluster.",
"operator": "ops"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
wallet: 'G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc',
decision: 'force_exclude',
reason: 'Confirmed shared device fingerprint cluster.',
operator: 'ops'
})
};
fetch('https://joyride.exchange/api/v1/admin/leaderboard-eligibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://joyride.exchange/api/v1/admin/leaderboard-eligibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'wallet' => 'G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc',
'decision' => 'force_exclude',
'reason' => 'Confirmed shared device fingerprint cluster.',
'operator' => 'ops'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://joyride.exchange/api/v1/admin/leaderboard-eligibility"
payload := strings.NewReader("{\n \"wallet\": \"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc\",\n \"decision\": \"force_exclude\",\n \"reason\": \"Confirmed shared device fingerprint cluster.\",\n \"operator\": \"ops\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://joyride.exchange/api/v1/admin/leaderboard-eligibility")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"wallet\": \"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc\",\n \"decision\": \"force_exclude\",\n \"reason\": \"Confirmed shared device fingerprint cluster.\",\n \"operator\": \"ops\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://joyride.exchange/api/v1/admin/leaderboard-eligibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"wallet\": \"G7EMUw3TmgTdXEaYZq82gUZStzkFe2RjEd9ZEjS6b4zc\",\n \"decision\": \"force_exclude\",\n \"reason\": \"Confirmed shared device fingerprint cluster.\",\n \"operator\": \"ops\"\n}"
response = http.request(request)
puts response.read_body{
"wallet": "<string>",
"reason": "<string>",
"operator": "<string>",
"decided_at": 123
}{
"error": "Instrument not found"
}{
"error": "Instrument not found"
}{
"error": "Instrument not found"
}