# PennyRail GitHub Repository Resource Node

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

Resolves and returns machine-readable data about a GitHub repository resource via a paid settlement endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/github.repo--github-repository?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-github-repository-resource-node-4f15d848
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b8bDFd2Th9BQty5T83FeZ

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-resource-node-4f15d848 -d '<json body>'
```

Example prompt: Can you fetch the machine-readable resource data for the GitHub repository 'octocat/Hello-World' through PennyRail and tell me what it returns?

## When to prefer this

Use this endpoint when you need machine-readable, structured data about a specific GitHub repository and are operating in an agent or automated pipeline context that supports x402 micropayment settlement. Prefer this over direct GitHub API calls when you want a settled, pay-per-use model without managing OAuth tokens or API keys, or when integrating into a PennyRail-based workflow.

## Known failure modes

- Invalid or missing repository identifier returns an error or empty response
- Repository does not exist on GitHub — endpoint may return a 404 or empty payload
- Payment not settled (x402 protocol failure) blocks the request entirely
- Malformed input string causes validation failure on the required 'input' field
- Rate limiting or quota exceeded on the underlying GitHub data source

## How this service works

Machine-readable settlement service

## Output

Returns a machine-readable JSON object containing structured data about the specified GitHub repository resource. The exact fields are open-ended (additionalProperties: true), but likely include repository metadata such as name, description, owner, stats, or other resource-level information surfaced through the PennyRail settlement layer.

## 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-resource-node-4f15d848/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)
