# Crawol GitHub Search

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

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

## Facts

- Endpoint: POST https://crawol.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/crawol-github-search-34da8a83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IA7BX8s1tUV_SFlWPssPV

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 crawol-github-search-34da8a83 -d '<json body>'
```

Example prompt: Search GitHub for open source Python libraries for parsing PDFs and show me the most relevant repositories.

## When to prefer this

Choose this endpoint when you need to search GitHub programmatically without setting up OAuth or managing API keys — ideal for AI agents that need lightweight, pay-as-you-go GitHub search with no subscription overhead. Best for one-off or low-frequency searches where USDC micropayment per call is acceptable.

## Known failure modes

- Missing 'query' field returns a validation error
- Empty or overly broad query may return too many or irrelevant results
- Payment failure via x402 results in a 402 response and no data returned
- GitHub rate limits or API unavailability may cause upstream errors
- Malformed query syntax may yield zero results or an error from GitHub

## How this service works

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

## Output

A JSON object with a 'success' boolean and a 'data' object containing GitHub search results — typically a list of matching repositories, code snippets, or entities depending on the query, as returned by the underlying GitHub search.

## 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/crawol-github-search-34da8a83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crawol.vercel.app](https://www.zero.xyz/host/crawol.vercel.app/llms.txt)
