# Bill Bounty Check

> Bill Bounty Check is a paid API for AI agents from bill.olympusai.duckdns.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Analyzes a GitHub repository (and optionally a specific issue) to determine whether a posted bounty is likely to actually pay out, using deterministic public GitHub signals.

## Facts

- Endpoint: GET https://bill.olympusai.duckdns.org/bill/v1/bounty-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bill-bounty-check-8b4cdb6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7-BKBdsRlooGTmV4meBKs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bill-bounty-check-8b4cdb6d
```

Example prompt: Before I start coding, can you check whether the bounty on github.com/owner/repo issue #42 actually looks like it pays — I want to see merge history, red flags, and a verdict on whether it's worth my time.

## When to prefer this

Use this endpoint when an agent or developer needs a fast, deterministic, no-hallucination signal on whether a GitHub bounty is likely to pay before investing coding effort. Prefer this over manual GitHub browsing or general-purpose LLM reasoning when you need structured red/green flags and a machine-readable verdict backed by real merge history data.

## Known failure modes

- Invalid or non-existent GitHub repo returns an error
- Private repositories cannot be analyzed (public data only)
- Issue number not found on the specified repo
- Rate limits on GitHub data fetching may delay or fail responses
- Repos with zero activity may return null for merge-speed metrics

## How this service works

Before you spend work on a GitHub bounty, check whether it looks like it actually pays. Deterministic, public GitHub data only: merge speed, payout evidence, trap and pile-up red flags, and a verdict.

## Output

Returns a JSON object with the repo name, optional issue number, a set of metrics (stars, last merge date, repo age in days, issue comment count, median hours to merge, merged PRs in last 30 closed), a verdict (e.g. 'avoid' or 'promising'), a list of red flags (e.g. 'no merged PRs among the last 30 closed'), and a list of green flags (e.g. 'reward is stated in USD or USDC').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "GitHub owner/name"
      },
      "issue": {
       "type": "integer",
       "description": "optional issue number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "repo": "owner/name",
  "issue": 12,
  "metrics": {
   "stars": 3,
   "last_merge": null,
   "repo_age_days": 14,
   "issue_comments": 31,
   "median_hours_to_merge": null,
   "merged_prs_last30_closed": 0
  },
  "verdict": "avoid",
  "red_flags": [
   "no merged PRs among the last 30 closed -- work here has never been accepted"
  ],
  "green_flags": [
   "reward is stated in USD or USDC"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bill-bounty-check-8b4cdb6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bill.olympusai.duckdns.org](https://www.zero.xyz/host/bill.olympusai.duckdns.org/llms.txt)
