# SiteCheck GitHub Search

> SiteCheck GitHub Search is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Search GitHub repositories, issues, code, or users using GitHub search syntax and return ranked results with metadata

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/github/search?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-github-search-2f1f2451
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kKrII3oeVJ3ygUSdZvB-j

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 sitecheck-github-search-2f1f2451
```

Example prompt: Search GitHub for Rust repositories related to SQLite and show me the top 5 results with their star counts and descriptions.

## When to prefer this

Use this endpoint when you need to search GitHub programmatically without a GitHub API token, or when operating in a pay-per-call agent environment. Prefer it over direct GitHub API calls when you need a simple, monetized, token-free way to search repos, issues, code, or users with standard GitHub search syntax.

## Known failure modes

- Missing required query parameter 'q' returns a validation error
- GitHub API rate limits may cause intermittent failures or degraded results
- Very broad queries may return incomplete results with incompleteResults: true
- Invalid search type enum value causes a bad-request error
- Query string exceeding 256 characters is rejected

## How this service works

GitHub search with its own query syntax (e.g. 'sqlite language:rust stars:>100'). Repositories: name, owner, stars, forks, language, topics, licence, pushed date. Issues: title, state, labels, comments, URL. Code: path, repository and link. GitHub limits search to about 30 requests a minute; a busy minute is a 503, not charged. Limit max 30.

## Output

Returns a JSON object with the search type, query string, total result count, incomplete-results flag, source attribution, timestamp, and an array of matching items. For repositories each item includes: full name, owner, URL, stars, forks, language, topics, licence, archived status, description, and last push date.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "GitHub search query, GitHub search syntax (1-256 characters)"
      },
      "type": {
       "type": "string",
       "description": "repositories (default), issues, code or users"
      },
      "limit": {
       "type": "string",
       "description": "Results, 1-30 (default 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "repositories",
  "count": 3,
  "query": "sqlite language:rust",
  "source": "GitHub REST search API (docs.github.com/rest/search) — GitHub Terms of Service and API Terms",
  "results": [
   {
    "url": "https://github.com/stainless-steel/sqlite",
    "forks": 56,
    "owner": "stainless-steel",
    "stars": 275,
    "topics": [
     "bindings",
     "database"
    ],
    "licence": "NOASSERTION",
    "archived": false,
    "fullName": "stainless-steel/sqlite",
    "language": "Rust",
    "pushedAt": "2026-10-07T00:37:35Z",
    "description": "Interface to SQLite"
   },
   {
    "url": "https://github.com/vlcn-io/cr-sqlite",
    "forks": 126,
    "owner": "vlcn-io",
    "stars": 3808,
    "topics": [
     "crdt",
     "database",
     "sqlite"
    ],
    "licence": "MIT",
    "archived": false,
    "fullName": "vlcn-io/cr-sqlite",
    "language": "Rust",
    "pushedAt": "2026-08-10T10:55:49Z",
    "description": "Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite"
   },
   {
    "url": "https://github.com/phiresky/sqlite-zstd",
    "forks": 71,
    "owner": "phiresky",
    "stars": 1700,
    "topics": [],
    "licence": "LGPL-3.0",
    "archived": false,
    "fullName": "phiresky/sqlite-zstd",
    "language": "Rust",
    "pushedAt": "2025-06-30T09:04:20Z",
    "description": "Transparent dictionary-based row-level compression for SQLite"
   }
  ],
  "checkedAt": "2026-10-15T18:21:07.001Z",
  "totalCount": 4751,
  "incompleteResults": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-github-search-2f1f2451/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
