# PennyRail GitHub Repository Metadata Lookup

> PennyRail GitHub Repository Metadata Lookup is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Fetches machine-readable metadata for a GitHub repository given a repository identifier as input

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/github.repo--repository-metadata
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-github-repository-metadata-lookup-7307ce1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y64L7DUglLaPpzCDy0L76

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 pennyrail-github-repository-metadata-lookup-7307ce1a -d '<json body>'
```

Example prompt: Can you pull up the metadata for the GitHub repository 'openai/openai-python' — I need the description, star count, primary language, and license?

## When to prefer this

Use this endpoint when you need structured, machine-readable GitHub repository metadata on a pay-per-call basis without managing GitHub API credentials or rate limits yourself. Prefer it for agent pipelines that need repo info on demand without OAuth setup.

## Known failure modes

- Invalid or malformed repository identifier returns an error or empty result
- Private or non-existent repository returns a not-found or access-denied error
- GitHub API rate limiting may cause intermittent failures
- Ambiguous input string that doesn't resolve to a valid repo may return unexpected results
- Payment failure via x402 protocol blocks the request before it reaches GitHub

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing repository metadata from GitHub, which may include the repo name, owner, description, star count, fork count, primary programming language, license, topics, visibility status, creation/update timestamps, and other repository-level fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-github-repository-metadata-lookup-7307ce1a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
