# GitHub Repository Health & Intelligence Lookup

> GitHub Repository Health & Intelligence Lookup is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches GitHub repository metadata and computed health signals (stars, forks, issues, license, activity) for due-diligence and dependency evaluation

## Facts

- Endpoint: GET https://payai.agentstools.dev/dev/github
- Price: $0.005/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-intelligence-lookup-26c7db66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KcoIIjzyikvuCtF1NqEVO

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-lookup-26c7db66
```

Example prompt: Can you check the GitHub health of 'huggingface/transformers' — I want to know if it's still actively maintained, how many stars and open issues it has, and whether it's safe to depend on?

## When to prefer this

Use this endpoint when you need structured, normalized GitHub repository health data with pre-computed signals (issues_per_star, is_active, days_since_push) for due-diligence or dependency evaluation. Prefer it over raw GitHub API calls when you want a single normalized response with computed activity indicators without handling GitHub authentication yourself.

## Known failure modes

- Repository not found (invalid owner/name) — returns 404-style error
- Rate limiting from GitHub API — returns error indicating upstream limit
- Malformed repo parameter (not 'owner/name' format) — schema validation error
- Private repository — returns access denied or not found

## 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 a normalized object with raw GitHub metadata (stars, forks, open issues, watchers, size, primary language, topics list, license, archived flag, fork flag) plus computed signals: days_since_push, age in days, issues_per_star ratio, and is_active boolean — all sourced from the official GitHub REST API.

## 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-lookup-26c7db66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
