List bounty
Returns the ranked bug hunters and bounty contributors, and the recent bug and bounty awards.
GET /v1/leaderboard/bounty
| Address | https://api.hanzo.ai/v1/leaderboard/bounty |
| Method | GET |
| Operation | get_leaderboard_bounty |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns the ranked bug hunters and bounty contributors, and the recent bug and bounty awards.
Request
1 field.
| Field | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | — | Limit caps the hunter and award rows returned, clamped to 1..100. |
Response
| Status | Body | Meaning |
|---|---|---|
200 | leaderboard.BountyBoard | ok |
default | problem-details | refused |
200 body — 35 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
hunters | body | leaderboard.BountyHunter[] | — | Hunters are the top-ranked bug hunters and bounty contributors, best first. |
hunters[].badge | body | string | — | Badge is the gamified tier title earned by the contributor. |
hunters[].bountiesMerged | body | integer (int64) | — | BountiesMerged is how many bounty pull requests this contributor has landed. |
hunters[].bountyPoints | body | integer (int64) | — | BountyPoints is the sum of points earned from bug reports and bounties. |
hunters[].bugsReported | body | integer (int64) | — | BugsReported is how many verified bug reports this contributor has filed. |
hunters[].creditsEarnedCents | body | integer (int64) | — | CreditsEarnedCents is the total AI credits in US cents granted for bounties and bug reports. |
hunters[].globalTokenRank | body | integer (int64) | — | GlobalTokenRank is the contributor's global organization rank by token volume (0 if unranked). |
hunters[].handle | body | string | — | Handle is the contributor's public display handle. |
hunters[].org | body | string | — | Org is the contributor's organization slug when listed. |
hunters[].rank | body | integer (int64) | — | Rank is the contributor's 1-based standing on the bounty board. |
hunters[].self | body | boolean | — | Self marks the signed-in caller's own row. |
hunters[].tokensUsed | body | integer (int64) | — | TokensUsed is the contributor's all-time token volume in the warehouse. |
hunters[].totalScore | body | integer (int64) | — | TotalScore is the org's points by client.Points, the one score every board shares. |
recentAwards | body | leaderboard.BountyAwardView[] | — | RecentAwards are the newest verified bug reports and bounty payouts. |
recentAwards[].createdAt | body | integer (int64) | — | CreatedAt is the unix timestamp (seconds) when the award was recorded. |
recentAwards[].creditsCents | body | integer (int64) | — | CreditsCents is the AI credit grant in US cents awarded with this bounty. |
recentAwards[].handle | body | string | — | Handle is the recipient's display name. |
recentAwards[].id | body | string | — | ID is the unique award identifier. |
recentAwards[].kind | body | string | — | Kind is bug_report or bounty. |
recentAwards[].points | body | integer (int64) | — | Points is the leaderboard points awarded. |
recentAwards[].summary | body | string | — | Summary describes what was reported or fixed. |
recentAwards[].target | body | string | — | Target is the repository or issue reference (e.g. hanzo-inc/cloud#index-lock). |
self | body | leaderboard.BountyHunter | — | |
self.badge | body | string | — | Badge is the gamified tier title earned by the contributor. |
self.bountiesMerged | body | integer (int64) | — | BountiesMerged is how many bounty pull requests this contributor has landed. |
self.bountyPoints | body | integer (int64) | — | BountyPoints is the sum of points earned from bug reports and bounties. |
self.bugsReported | body | integer (int64) | — | BugsReported is how many verified bug reports this contributor has filed. |
self.creditsEarnedCents | body | integer (int64) | — | CreditsEarnedCents is the total AI credits in US cents granted for bounties and bug reports. |
self.globalTokenRank | body | integer (int64) | — | GlobalTokenRank is the contributor's global organization rank by token volume (0 if unranked). |
self.handle | body | string | — | Handle is the contributor's public display handle. |
self.org | body | string | — | Org is the contributor's organization slug when listed. |
self.rank | body | integer (int64) | — | Rank is the contributor's 1-based standing on the bounty board. |
self.self | body | boolean | — | Self marks the signed-in caller's own row. |
self.tokensUsed | body | integer (int64) | — | TokensUsed is the contributor's all-time token volume in the warehouse. |
self.totalScore | body | integer (int64) | — | TotalScore is the org's points by client.Points, the one score every board shares. |
Failure carries the platform error shape — see Errors.
Examples
CLI
SDK
HTTP
MCP
hanzo leaderboard bounty.ts
.py
.go
.rs
.java
import { Configuration, LeaderboardApi } from 'hanzoai';
const api = new LeaderboardApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getLeaderboardBounty();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import LeaderboardApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = LeaderboardApi(client).get_leaderboard_bounty()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.LeaderboardAPI.GetLeaderboardBounty(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, leaderboard_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = leaderboard_api::get_leaderboard_bounty(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.LeaderboardApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new LeaderboardApi(client).getLeaderboardBounty();The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →
curl https://api.hanzo.ai/v1/leaderboard/bounty \
-H "Authorization: Bearer $HANZO_API_KEY"Tool leaderboard, op get_leaderboard_bounty — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Authorization: Bearer $HANZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "leaderboard",
"arguments": {
"op": "get_leaderboard_bounty",
"input": {}
}
}
}'Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.