# GitHub Repo Health Checker

> GitHub Repo Health Checker is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-06).

Scores a GitHub repository's overall health and activity level, returning a grade, numeric score, and human-readable verdict.

## Facts

- Endpoint: POST https://x402.agentutility.ai/github-repo-health?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-06
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repo-health-checker-0b37f473
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Au9aNR_t1pSRq7b1sQsjC

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-repo-health-checker-0b37f473 -d '<json body>'
```

Example prompt: Can you check the health of the facebook/react GitHub repository and tell me if it's actively maintained — I need a score and grade before I decide to depend on it?

## When to prefer this

Use this endpoint when you need a fast, single-call health assessment of a GitHub repository without manually parsing GitHub API data. Ideal for agents that need to vet open source dependencies, monitor project vitality, or compare repositories before recommending adoption. Prefer this over raw GitHub API calls when you want a pre-computed grade and verdict rather than raw statistics.

## Known failure modes

- Invalid or non-existent repository name returns an error
- Private repositories may be inaccessible and return a failure response
- Malformed 'owner/name' format causes input validation failure
- Rate limiting or GitHub API unavailability may cause transient errors
- Newly created repos with no activity may return a very low score or minimal verdict

## How this service works

817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.

## Output

Returns a JSON object with a 'grade' string (e.g. 'thriving'), an integer 'score' (0–100), and a 'verdict' string providing a human-readable summary of the repository's health and activity level.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "GitHub repository in 'owner/name' format, e.g. 'facebook/react'."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "integer"
      },
      "verdict": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "thriving",
  "score": 95,
  "verdict": "Highly active..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repo-health-checker-0b37f473/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
