# Citiview GitHub Repository Search

> Citiview GitHub Repository Search is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-14).

Search GitHub repositories by keyword with filters for language, topic, minimum stars, and date ranges, returning metadata like stars, forks, license, topics, and last push.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/github/search?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-github-repository-search-96024651
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KCrG8szlBlPQPEa7dnquM

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 citiview-github-repository-search-96024651
```

Example prompt: Search GitHub for Python machine learning repos with at least 5000 stars, created after 2022-01-01, sorted by stars — give me the top 10 results with their forks, license, and last push date.

## When to prefer this

Use this endpoint when you need to discover or evaluate GitHub repositories by keyword, language, topic, or quality signals like star count and recency. It is ideal for agents doing technology research, library selection, or open source landscape analysis. Prefer it over a raw GitHub API call when you want a simplified, pay-per-call interface without managing GitHub authentication.

## Known failure modes

- Missing or empty keyword query returns no results
- Invalid date format for pushed_after or created_after causes a parameter error
- Very restrictive min_stars combined with niche keywords returns an empty result set
- Rate limiting from underlying GitHub API may cause transient failures
- Invalid sort value falls back to default or returns an error

## How this service works

Find the best GitHub repositories for anything: keyword search with language, topic, minimum stars, created or pushed after filters, sorted by stars or recent activity; returns stars, forks, license, topics and last push.

## Output

A ranked list of GitHub repositories matching the search criteria, each including the repository name and URL, star count, fork count, license type, associated topics, and the date of the last push.

## 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",
     "properties": {
      "q": {
       "type": "string",
       "description": "Keywords"
      },
      "sort": {
       "type": "string",
       "description": "stars (default), updated, forks"
      },
      "limit": {
       "type": "integer"
      },
      "topic": {
       "type": "string"
      },
      "language": {
       "type": "string"
      },
      "min_stars": {
       "type": "integer"
      },
      "pushed_after": {
       "type": "string",
       "description": "YYYY-MM-DD"
      },
      "created_after": {
       "type": "string",
       "description": "YYYY-MM-DD"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-github-repository-search-96024651/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
