# Cerwal GitHub Search

> Cerwal GitHub Search is a paid API for AI agents from cerwal.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Searches GitHub repositories, code, issues, and users using a query string, returning structured results via pay-per-request x402 micropayment.

## Facts

- Endpoint: POST https://cerwal.vercel.app/api/github
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerwal-github-search-f1c9f3ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2cBkA7sepKuWskXNFIjZ7

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 cerwal-github-search-f1c9f3ba -d '<json body>'
```

Example prompt: Search GitHub for the most popular open-source Python libraries for PDF parsing — find me repositories with high stars that are actively maintained.

## When to prefer this

Choose this endpoint when an AI agent needs to search GitHub programmatically without managing API keys or OAuth tokens, and is operating in a pay-per-use micropayment context via x402. It is ideal for agents that need on-demand GitHub discovery without subscription overhead.

## Known failure modes

- Missing or empty query field returns an error
- Invalid GitHub search syntax may return zero results
- GitHub API rate limiting may cause failures under high load
- Payment failure via x402 will block the request
- Overly broad queries may return truncated or unhelpful result sets

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a success boolean and a data object containing GitHub search results, which may include repository names, descriptions, star counts, URLs, owners, language, and other metadata depending on the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "GitHub search query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerwal-github-search-f1c9f3ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerwal.vercel.app](https://www.zero.xyz/host/cerwal.vercel.app/llms.txt)
