# supremeai GitHub Repository Lookup

> supremeai GitHub Repository Lookup is a paid API for AI agents from agents.supremeai.ca, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Fetches structured metadata for a public GitHub repository including stars, forks, open issues, language, license, topics, and last push time.

## Facts

- Endpoint: POST https://agents.supremeai.ca/v1/github/repo?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/supremeai-github-repository-lookup-dacbde15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3sxZzwy5IJAvYmD6SQvYH

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 supremeai-github-repository-lookup-dacbde15 -d '<json body>'
```

Example prompt: Can you pull up the GitHub stats for facebook/react — stars, forks, open issues, license, and when it was last pushed?

## When to prefer this

Use this endpoint when you need a quick, structured snapshot of a single public GitHub repository's key health and popularity metrics without authenticating with GitHub directly. It is ideal for dependency vetting, competitive benchmarking, or activity monitoring in agentic workflows where a one-call JSON response is preferable to parsing GitHub's full REST or GraphQL API.

## Known failure modes

- Repository not found (invalid owner/name slug returns error)
- Private repository access denied
- Rate limiting from upstream GitHub API
- Malformed repo string missing the owner/ prefix
- Network timeout reaching GitHub API

## How this service works

Pay-per-call tools for AI agents: x402 pre-flight checks (is this endpoint safe to pay?), web pages as clean markdown (with optional JavaScript rendering), Latin American tax-ID validation, npm/PyPI/GitHub lookups, and URL health checks. No API keys, no accounts — pay per request in USDC.

## Output

Returns a structured JSON object containing the repository's star count, fork count, number of open issues, primary programming language, license name, default branch name, list of topics, and the ISO timestamp of the last push. All fields are sourced directly from the GitHub API.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "owner/name, e.g. 'expressjs/express'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "repo": "expressjs/express",
  "forks": 15000,
  "stars": 65000,
  "topics": [
   "express",
   "nodejs"
  ],
  "license": "MIT",
  "language": "JavaScript",
  "pushed_at": "2026-08-01T00:00:00Z",
  "open_issues": 100
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/supremeai-github-repository-lookup-dacbde15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.supremeai.ca](https://www.zero.xyz/host/agents.supremeai.ca/llms.txt)
