Skip to main content
POST
/
api
/
hackerone
/
leaderboard
/hackerone/leaderboard
curl --request POST \
  --url https://api.anysite.io/api/hackerone/leaderboard \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "key": "highest_reputation",
  "year": 2026,
  "quarter": 2,
  "engagement_type": "bbp",
  "user_type": "individual",
  "filter": "<string>"
}
'
import requests

url = "https://api.anysite.io/api/hackerone/leaderboard"

payload = {
"count": 2,
"timeout": 300,
"key": "highest_reputation",
"year": 2026,
"quarter": 2,
"engagement_type": "bbp",
"user_type": "individual",
"filter": "<string>"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
key: 'highest_reputation',
year: 2026,
quarter: 2,
engagement_type: 'bbp',
user_type: 'individual',
filter: '<string>'
})
};

fetch('https://api.anysite.io/api/hackerone/leaderboard', 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://api.anysite.io/api/hackerone/leaderboard",
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([
'count' => 2,
'timeout' => 300,
'key' => 'highest_reputation',
'year' => 2026,
'quarter' => 2,
'engagement_type' => 'bbp',
'user_type' => 'individual',
'filter' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.anysite.io/api/hackerone/leaderboard"

payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"key\": \"highest_reputation\",\n \"year\": 2026,\n \"quarter\": 2,\n \"engagement_type\": \"bbp\",\n \"user_type\": \"individual\",\n \"filter\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("access-token", "<api-key>")
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://api.anysite.io/api/hackerone/leaderboard")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"key\": \"highest_reputation\",\n \"year\": 2026,\n \"quarter\": 2,\n \"engagement_type\": \"bbp\",\n \"user_type\": \"individual\",\n \"filter\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.anysite.io/api/hackerone/leaderboard")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"key\": \"highest_reputation\",\n \"year\": 2026,\n \"quarter\": 2,\n \"engagement_type\": \"bbp\",\n \"user_type\": \"individual\",\n \"filter\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
[
  {
    "username": "<string>",
    "@type": "HackeroneLeaderboardEntry",
    "rank": 123,
    "previous_rank": 123,
    "user_id": "<string>",
    "image": "<string>",
    "reputation": 123,
    "signal": 123,
    "impact": 123
  }
]
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
key
enum<string>
default:highest_reputation
Available options:
highest_reputation,
high_critical_reputation,
owasp_top_10,
country,
asset_types,
up_and_comers,
most_upvoted
year
integer
default:2026
Required range: 2013 <= x <= 2027
quarter
integer | null
Required range: 1 <= x <= 4
engagement_type
enum<string>
default:bbp
Available options:
bbp,
vdp
user_type
enum<string>
default:individual
Available options:
individual,
business
filter
string | null

Response

Successful Response

username
string
required
@type
string
default:HackeroneLeaderboardEntry
rank
integer | null
previous_rank
integer | null
user_id
string | null
image
string | null
reputation
integer | null
signal
number | null
impact
number | null