# PennyRail GitHub Stars Lookup

> PennyRail GitHub Stars 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-15).

Returns the GitHub star count for a given GitHub repository via a paid API call

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/github.repo--github-stars
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-github-stars-lookup-2815d767
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OcDYRoe0FXkd-Pyp4PF8-

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-stars-lookup-2815d767 -d '<json body>'
```

Example prompt: How many GitHub stars does the vercel/next.js repository have right now?

## When to prefer this

Choose this endpoint when you need a quick, machine-readable GitHub star count for a specific repository and are operating in an x402 micropayment-enabled environment. It is best suited for agents that need to programmatically assess repository popularity or track star milestones without setting up GitHub API credentials directly. At $0.003 USDC per call it is cost-effective for occasional lookups.

## Known failure modes

- Invalid or non-existent repository identifier returns an error or empty result
- Malformed input string (e.g. missing owner/repo format) may cause lookup failure
- Payment settlement failure via x402 protocol may prevent the call from completing
- Rate limiting or upstream GitHub API unavailability may cause timeouts or errors
- Missing required 'input' field returns a validation error

## How this service works

Machine-readable settlement service

## Output

Returns a structured JSON object containing the GitHub star count and potentially additional repository metadata for the specified repository. The response schema is open (additionalProperties: true), so additional fields may be present depending on the data available.

## 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-stars-lookup-2815d767/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)
