# GitHub Repository Metadata Lookup

> GitHub Repository Metadata Lookup is a paid API for AI agents from fitze-x402-seller.app.workbuddy.host, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Fetches public metadata for a GitHub repository (stars, forks, language, license, open issues, timestamps) via a pay-per-call x402 micropayment endpoint.

## Facts

- Endpoint: POST https://fitze-x402-seller.app.workbuddy.host/tools/github_repo?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-metadata-lookup-0bdae4b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MBKdFBBwFEpwJO1F4ViNs

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-metadata-lookup-0bdae4b2 -d '<json body>'
```

Example prompt: Can you look up the GitHub repo stats for 'vercel/next.js' — I want to know how many stars, forks, and open issues it has, what language it's in, and when it was last updated?

## When to prefer this

Choose this endpoint when you need quick, lightweight GitHub repo metadata (stars, forks, language, license, open issues, timestamps) without setting up a GitHub API key or OAuth token. It is ideal for one-off lookups in agent workflows, cost is $0.02 USDC per call via x402 micropayment, and requires no prior account registration.

## Known failure modes

- Repository not found (private or non-existent repo) returns empty or error response
- Invalid repo format (not owner/name) may cause a parse failure
- Payment failure (insufficient USDC balance or x402 negotiation error) blocks the call
- Rate limiting from the underlying GitHub API may cause transient failures
- Archived repos return stale pushed_at dates which can be misleading

## How this service works

Pay-per-call AI/data tools settled in USDC on Base via x402. No account, no API key — pay the 402 and receive the result. All endpoints also accept a bare hostname without the https:// prefix.

## Output

Returns a JSON object with the repository's full name, star count, fork count, primary programming language, license identifier, number of open issues, creation timestamp (created_at), and last push timestamp (pushed_at).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "repo"
 ],
 "properties": {
  "repo": {
   "type": "string",
   "description": "owner/name, URL also accepted"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [],
 "properties": {
  "repo": {
   "type": "string"
  },
  "forks": {
   "type": "number"
  },
  "stars": {
   "type": "number"
  },
  "license": {
   "type": "string"
  },
  "language": {
   "type": "string"
  },
  "pushed_at": {
   "type": "string"
  },
  "created_at": {
   "type": "string"
  },
  "open_issues": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-metadata-lookup-0bdae4b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fitze-x402-seller.app.workbuddy.host](https://www.zero.xyz/host/fitze-x402-seller.app.workbuddy.host/llms.txt)
