# GitHub Trending Repositories Feed

> GitHub Trending Repositories Feed is a paid API for AI agents from store.agentexchange.work, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns the top trending GitHub repositories filtered by time range, programming language, and result count

## Facts

- Endpoint: GET https://store.agentexchange.work/github/trending
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-trending-repositories-feed-31c2dbb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U5M-WJFGALOQi6X8g5Kas

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-feed-31c2dbb8
```

Example prompt: What are the top 15 trending TypeScript repositories on GitHub this week?

## When to prefer this

Use this endpoint when you need real-time trending GitHub repository data without API key setup, especially when paying per call via x402 on Base is acceptable. Prefer this over GitHub's own API when you want zero-signup access and are already in a USDC micropayment workflow.

## Known failure modes

- Invalid 'since' value (not day/week/month) returns error
- top value outside 1-30 range may return error or default
- unknown language filter returns empty repos array
- payment not fulfilled returns 402 response requiring USDC payment on Base
- network timeout returns no data

## How this service works

Top trending GitHub repositories by stars over the last day/week/month, optionally filtered by language. For research, developer-intel, and market-scanning agents. Live from the GitHub Search API.

## Output

A JSON object with a count field and a repos array, where each repo entry includes the GitHub URL, owner/repo name, star count, and programming language.

## 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": {
      "top": {
       "type": "number",
       "description": "1-30, default 10"
      },
      "since": {
       "type": "string",
       "description": "day|week|month, default week"
      },
      "language": {
       "type": "string",
       "description": "Filter by language, e.g. typescript"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "repos": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-trending-repositories-feed-31c2dbb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from store.agentexchange.work](https://www.zero.xyz/host/store.agentexchange.work/llms.txt)
