# GitHub Repository Health & Intelligence

> GitHub Repository Health & Intelligence is a paid API for AI agents from webtools402.176-109-107-191.sslip.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Fetches GitHub repository health metrics and computed due-diligence signals (stars, forks, issues, activity, license, topics) for any public repo via the GitHub REST API.

## Facts

- Endpoint: GET https://webtools402.176-109-107-191.sslip.io/dev/github
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-health-intelligence-def005b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GTAat0jp0NyI1i5lpCEdQ

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 github-repository-health-intelligence-def005b3
```

Example prompt: Can you pull up the health metrics for the coinbase/x402 GitHub repo — things like stars, forks, open issues, last push date, and whether it's still actively maintained?

## When to prefer this

Use this endpoint when you need a single normalized health snapshot of a GitHub repository for due-diligence, dependency evaluation, or investment research. It combines raw GitHub API fields with pre-computed activity signals (days_since_push, issues_per_star, is_active) so you don't have to compute them yourself. Prefer it over raw GitHub API calls when you want a normalized, agent-ready payload at low cost.

## Known failure modes

- Repository not found or misspelled owner/name returns a 404-equivalent error
- Private repositories return an access-denied or not-found error
- Rate limiting from GitHub upstream may cause transient failures
- Malformed repo slug (missing slash or wrong format) triggers a validation error

## How this service works

GitHub repository health & intelligence for due-diligence / dependency choice: stars, forks, open issues, watchers, size, language, topics, license, archived/fork flags, and computed signals (days_since_push, age, issues_per_star, is_active). From the official GitHub REST API, normalized.

## Output

Returns normalized repository metadata from the GitHub REST API including: stars, forks, open issues, watchers, size, primary language, topics list, license, archived flag, fork flag, plus computed signals: days_since_push, repository age in days, issues_per_star ratio, and an is_active boolean.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "GitHub repository as 'owner/name', e.g. coinbase/x402"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-health-intelligence-def005b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtools402.176-109-107-191.sslip.io](https://www.zero.xyz/host/webtools402.176-109-107-191.sslip.io/llms.txt)
