# GitHub Repository Commits Fetcher

> GitHub Repository Commits Fetcher is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches commit history for a GitHub repository via a pay-per-call x402 endpoint requiring no API key or signup.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/dev/github-repo-commits?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-commits-fetcher-baebfbf7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XBkMrkkWdYoxd30v6u6Hp

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-repository-commits-fetcher-baebfbf7
```

Example prompt: Can you pull the recent commit history for the facebook/react GitHub repository so I can see what changes have been made lately?

## When to prefer this

Choose this endpoint when you need quick, no-signup access to GitHub commit history and are operating in an x402-enabled agent environment that can pay micro-fees in USDC on Base. It is ideal for AI agents that lack a GitHub API token but can pay per call, or for ephemeral workflows where managing API credentials is undesirable.

## Known failure modes

- Invalid or non-existent repository returns an error or empty result
- Private repository without access credentials returns 403 or empty response
- Malformed schema input may return a 400 error
- Payment failure via x402 results in 402 Payment Required
- Rate limiting from upstream GitHub API may cause delays or errors

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object containing a list of commits for the specified GitHub repository, including commit SHAs, author names, commit messages, and timestamps, along with pagination metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-commits-fetcher-baebfbf7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
