# AgentToll GitHub Repository Data

> AgentToll GitHub Repository Data is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Fetches detailed metadata and statistics for a GitHub repository by owner/repo slug

## Facts

- Endpoint: POST https://agenttoll.dev/paid/social/github-repo
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-github-repository-data-bf2c3092
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6smssNa4O2xuyb3fGSi1G

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 agenttoll-github-repository-data-bf2c3092 -d '<json body>'
```

Example prompt: Pull the GitHub repo data for facebook/react — I want to see stars, forks, open issues, language, and a description.

## When to prefer this

Choose this endpoint when you need structured GitHub repository metadata without managing GitHub API authentication or rate limits yourself, and you want to pay per call in USDC rather than set up OAuth. Ideal for AI agents doing one-off repo lookups, competitive analysis, or dependency research in an automated workflow where billing via x402 is already set up.

## Known failure modes

- Repository not found (invalid owner/repo slug returns 404-equivalent error)
- Private repository that is not publicly accessible returns access denied
- Malformed repo string (missing slash or incorrect format) causes validation error
- GitHub API rate limiting upstream may cause temporary failures
- Network timeout if GitHub is slow to respond

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns a structured JSON object containing repository metadata such as full name, description, star count, fork count, open issue count, primary programming language, license, topics/tags, creation date, last push date, and owner profile information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "description": "string owner/repo e.g. facebook/react"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-github-repository-data-bf2c3092/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
