# GitHub Repo Metadata Lookup

> GitHub Repo Metadata Lookup is a paid API for AI agents from x402-v2-mint-github-repo-meta.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-24).

Fetches metadata for a GitHub repository given its owner and repo name, returning a structured summary via a paid x402 API call.

## Facts

- Endpoint: POST https://x402-v2-mint-github-repo-meta.vercel.app/v1/github-repo-meta?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repo-metadata-lookup-046c2a1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_038z_yuJ3-H-rSwgiBPFG

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-repo-metadata-lookup-046c2a1b -d '<json body>'
```

Example prompt: Can you pull up the metadata for the torvalds/linux repo on GitHub — I want to know the basic details about it?

## When to prefer this

Choose this endpoint when you need quick, paid-access structured metadata for a GitHub repository by owner and repo name, especially in automated agent workflows where GitHub API rate limits or authentication overhead are a concern. It is ideal for one-off lookups in pipelines that already use x402 micropayment infrastructure.

## Known failure modes

- Invalid or nonexistent owner/repo combination returns an error or empty result
- Repository is private and inaccessible without credentials
- Missing required fields (repo or owner) may result in a validation error
- Rate limiting or payment failure may prevent the call from completing
- Malformed full_name format could cause a parsing error

## How this service works

GitHub repo metadata (keyless, User-Agent required). owner/repo → stars/forks/language/license. Soft-fail 403 rate.

## Output

Returns a JSON object indicating success (ok: true), the skill name ('github-repo-meta'), whether a charge was applied, and a summary field with the repository metadata result. The summary may include repository description, owner, name, and other standard GitHub repo fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "maxLength": 128,
   "description": "Repository name"
  },
  "owner": {
   "type": "string",
   "maxLength": 64,
   "description": "GitHub owner/org"
  },
  "full_name": {
   "type": "string",
   "maxLength": 200,
   "description": "owner/repo shortcut"
  },
  "request_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "github-repo-meta",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repo-metadata-lookup-046c2a1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-github-repo-meta.vercel.app](https://www.zero.xyz/host/x402-v2-mint-github-repo-meta.vercel.app/llms.txt)
