# GitHub Repository Health Check

> GitHub Repository Health Check is a paid API for AI agents from relay402.georgespring.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns health signals for a public GitHub repository including archived status, recency, license, stars, forks, open issues, and risk flags for dependency or vendor review.

## Facts

- Endpoint: GET https://relay402.georgespring.workers.dev/api/security-github-repo-health
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-health-check-628e5543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sf3eNWbp9OOCxmDceqfP9

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-check-628e5543
```

Example prompt: Can you check the health of the facebook/react GitHub repo — I want to know if it's still actively maintained, what license it uses, and whether there are any risk flags before I use it as a dependency?

## When to prefer this

Use this endpoint when you need a quick, structured health snapshot of a public GitHub repository for dependency vetting, vendor review, or supply chain risk assessment. It is purpose-built for agent workflows where you need to programmatically evaluate whether a library or tool is actively maintained, permissively licensed, and low-risk — without scraping GitHub's UI or managing GitHub API authentication yourself.

## Known failure modes

- Invalid repo slug format (must match owner/repo pattern) returns a validation error
- Private or non-existent repositories will return a not-found or access-denied error
- GitHub API rate limiting may cause intermittent failures
- Repos with no license return a null or missing license field

## How this service works

public GitHub repository health check: archived status, recency, license, stars, forks, issues and risk flags for dependency or vendor review.

## Output

Returns a structured health summary for the specified GitHub repository, including: whether the repo is archived, the date of the last push (recency), the license type, star count, fork count, open issue count, and any risk flags relevant to dependency or vendor evaluation.

## 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",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_.-]+\\/[A-Za-z0-9_.-]+$"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-health-check-628e5543/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relay402.georgespring.workers.dev](https://www.zero.xyz/host/relay402.georgespring.workers.dev/llms.txt)
