List bounty

Returns the ranked bug hunters and bounty contributors, and the recent bug and bounty awards.

GET /v1/leaderboard/bounty

Addresshttps://api.hanzo.ai/v1/leaderboard/bounty
MethodGET
Operationget_leaderboard_bounty
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the ranked bug hunters and bounty contributors, and the recent bug and bounty awards.

Request

1 field.

FieldInTypeRequiredDescription
limitqueryinteger—Limit caps the hunter and award rows returned, clamped to 1..100.

Response

StatusBodyMeaning
200leaderboard.BountyBoardok
defaultproblem-detailsrefused

200 body — 35 fields.

FieldInTypeAlwaysDescription
huntersbodyleaderboard.BountyHunter[]—Hunters are the top-ranked bug hunters and bounty contributors, best first.
hunters[].badgebodystring—Badge is the gamified tier title earned by the contributor.
hunters[].bountiesMergedbodyinteger (int64)—BountiesMerged is how many bounty pull requests this contributor has landed.
hunters[].bountyPointsbodyinteger (int64)—BountyPoints is the sum of points earned from bug reports and bounties.
hunters[].bugsReportedbodyinteger (int64)—BugsReported is how many verified bug reports this contributor has filed.
hunters[].creditsEarnedCentsbodyinteger (int64)—CreditsEarnedCents is the total AI credits in US cents granted for bounties and bug reports.
hunters[].globalTokenRankbodyinteger (int64)—GlobalTokenRank is the contributor's global organization rank by token volume (0 if unranked).
hunters[].handlebodystring—Handle is the contributor's public display handle.
hunters[].orgbodystring—Org is the contributor's organization slug when listed.
hunters[].rankbodyinteger (int64)—Rank is the contributor's 1-based standing on the bounty board.
hunters[].selfbodyboolean—Self marks the signed-in caller's own row.
hunters[].tokensUsedbodyinteger (int64)—TokensUsed is the contributor's all-time token volume in the warehouse.
hunters[].totalScorebodyinteger (int64)—TotalScore is the org's points by client.Points, the one score every board shares.
recentAwardsbodyleaderboard.BountyAwardView[]—RecentAwards are the newest verified bug reports and bounty payouts.
recentAwards[].createdAtbodyinteger (int64)—CreatedAt is the unix timestamp (seconds) when the award was recorded.
recentAwards[].creditsCentsbodyinteger (int64)—CreditsCents is the AI credit grant in US cents awarded with this bounty.
recentAwards[].handlebodystring—Handle is the recipient's display name.
recentAwards[].idbodystring—ID is the unique award identifier.
recentAwards[].kindbodystring—Kind is bug_report or bounty.
recentAwards[].pointsbodyinteger (int64)—Points is the leaderboard points awarded.
recentAwards[].summarybodystring—Summary describes what was reported or fixed.
recentAwards[].targetbodystring—Target is the repository or issue reference (e.g. hanzo-inc/cloud#index-lock).
selfbodyleaderboard.BountyHunter—
self.badgebodystring—Badge is the gamified tier title earned by the contributor.
self.bountiesMergedbodyinteger (int64)—BountiesMerged is how many bounty pull requests this contributor has landed.
self.bountyPointsbodyinteger (int64)—BountyPoints is the sum of points earned from bug reports and bounties.
self.bugsReportedbodyinteger (int64)—BugsReported is how many verified bug reports this contributor has filed.
self.creditsEarnedCentsbodyinteger (int64)—CreditsEarnedCents is the total AI credits in US cents granted for bounties and bug reports.
self.globalTokenRankbodyinteger (int64)—GlobalTokenRank is the contributor's global organization rank by token volume (0 if unranked).
self.handlebodystring—Handle is the contributor's public display handle.
self.orgbodystring—Org is the contributor's organization slug when listed.
self.rankbodyinteger (int64)—Rank is the contributor's 1-based standing on the bounty board.
self.selfbodyboolean—Self marks the signed-in caller's own row.
self.tokensUsedbodyinteger (int64)—TokensUsed is the contributor's all-time token volume in the warehouse.
self.totalScorebodyinteger (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

hanzo leaderboard bounty
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": {}
         }
       }
     }'

Leaderboard API · All Hanzo APIs · Interactive reference

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.