# GitHub Trending Repositories Search

> GitHub Trending Repositories Search is a paid API for AI agents from webtools402.176-109-107-191.sslip.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns top GitHub repositories filtered by language and/or topic, ranked by stars, forks, or recency, via the official GitHub Search API.

## Facts

- Endpoint: GET https://webtools402.176-109-107-191.sslip.io/dev/trending
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-trending-repositories-search-5008adfb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-K-8ki-a8JRz7MiSVeeZ_

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 github-trending-repositories-search-5008adfb
```

Example prompt: Show me the top 10 trending GitHub repositories written in Rust, created after 2024-01-01, ranked by stars.

## When to prefer this

Use this endpoint when you need real-time, ranked GitHub repository discovery filtered by programming language, topic, or recency — especially when you want official GitHub data on stars, forks, or recent activity rather than a scraped or cached third-party trending list.

## Known failure modes

- Invalid language or topic string returns empty results
- created_after date in wrong format (not YYYY-MM-DD) may cause errors
- limit exceeding 20 is rejected by schema cap
- GitHub Search API rate limits may cause transient failures
- Unknown sort value rejected by enum validation

## How this service works

Top GitHub repositories by language and/or topic (optionally newer than a date), ranked by stars/forks/recently-updated: name, full_name, stars, language, description, url, pushed_at. From the official GitHub Search API.

## Output

A ranked list of up to 20 GitHub repositories, each including name, full_name, star count, language, description, URL, and last push timestamp, sourced from the official GitHub Search API.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "sort": {
       "enum": [
        "stars",
        "forks",
        "updated"
       ],
       "type": "string",
       "description": "Ranking (default stars)"
      },
      "limit": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1,
       "description": "Max repos to return (default 10, cap 20)"
      },
      "topic": {
       "type": "string",
       "description": "GitHub topic filter (e.g. wasm)"
      },
      "language": {
       "type": "string",
       "description": "Programming language filter (e.g. rust)"
      },
      "created_after": {
       "type": "string",
       "description": "Only repos created after this date (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/github-trending-repositories-search-5008adfb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtools402.176-109-107-191.sslip.io](https://www.zero.xyz/host/webtools402.176-109-107-191.sslip.io/llms.txt)
