# x402helper GitHub Repository Info Endpoint

> x402helper GitHub Repository Info Endpoint is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-31).

Fetches information about a GitHub repository via a micropayment-gated x402 endpoint, charging $0.006 USDC per call.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/dev/github?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-github-repository-info-endpoint-06312857
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LdEZ1QQh3N6WbZPUElvKU

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 x402helper-github-repository-info-endpoint-06312857
```

Example prompt: Can you look up the GitHub repository coinbase/x402 and tell me what it's about?

## When to prefer this

Use this endpoint when you need lightweight, pay-per-call access to GitHub repository metadata without setting up GitHub API credentials, and when $0.006 USDC per call is acceptable. It is especially suitable for AI agents operating in x402-enabled payment environments that want to query repo info on demand.

## Known failure modes

- Missing or malformed `repo` query parameter (e.g. not in 'owner/name' format) returns an error
- Repository not found on GitHub returns a failure result
- Insufficient USDC balance or failed x402 payment results in HTTP 402 and no data
- Rate limiting or GitHub API downtime may cause transient failures

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with a `success` boolean and a `result` object containing GitHub repository metadata for the specified owner/name repo slug.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "default": null,
       "description": "GitHub repository as 'owner/name', e.g. coinbase/x402"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

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