# Scout Packs GitHub Repo Health Check

> Scout Packs GitHub Repo Health Check is a paid API for AI agents from scout-packs-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Returns GitHub repository health signals including stars, forks, open issues, and recent commit activity for a given repo.

## Facts

- Endpoint: GET https://scout-packs-production.up.railway.app/repo-health?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scout-packs-github-repo-health-check-659c4b03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NPjNJT-qhtC8hwgbAUhxt

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 scout-packs-github-repo-health-check-659c4b03
```

Example prompt: Can you check the health of the octocat/hello-world GitHub repo — I want to know how many stars, forks, open issues it has and whether it's been active recently?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call ($0.01 USDC) GitHub repo health snapshot without setting up an API key or subscription. Ideal for AI agents doing one-off dependency checks, OSS project vetting, or competitive analysis on public repos. Prefer over GitHub's own API when you want frictionless micropayment access without OAuth setup.

## Known failure modes

- Invalid or non-existent repo slug returns an error or empty result
- Missing 'repo' query parameter causes a 400-level error
- Payment failure via x402 blocks access
- Rate limiting or Railway infrastructure downtime causes 5xx errors
- Private repositories inaccessible via GitHub public API return no data

## How this service works

Verified B2B lead packs and per-lead enrichment lookups for agents. $0.01 per lookup or pack (demand probe). USDC on Base via x402. No account, API key, or subscription.

## Output

A JSON object containing the repo identifier, star count, fork count, open issue count, number of commits in the last 90 days, an array of health signals (e.g. ['active']), and a receipt confirmation string.

## 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 repo as owner/name (e.g. 'octocat/hello-world')."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "repo": {
       "type": "string"
      },
      "forks": {
       "type": "number"
      },
      "stars": {
       "type": "number"
      },
      "receipt": {
       "type": "string"
      },
      "signals": {
       "type": "array"
      },
      "open_issues": {
       "type": "number"
      },
      "commits_last_90d": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "repo": "octocat/hello-world",
  "forks": 200,
  "stars": 1500,
  "receipt": "ok",
  "signals": [
   "active"
  ],
  "open_issues": 12,
  "commits_last_90d": 34
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scout-packs-github-repo-health-check-659c4b03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scout-packs-production.up.railway.app](https://www.zero.xyz/host/scout-packs-production.up.railway.app/llms.txt)
