# GitHub Trending Repositories Feed

> GitHub Trending Repositories Feed is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Fetches trending GitHub repositories filtered by programming language and time window, returning ranked lists of popular open-source projects.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/osint/github-trending
- 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/github-trending-repositories-feed-af2406c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__HhhSU3V1_7S5k9Nf1-t8

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-af2406c2 -d '<json body>'
```

Example prompt: What are the top 20 trending Python repositories on GitHub from the last 7 days?

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to GitHub trending data without scraping, especially when building agents that monitor developer ecosystem trends, track emerging technologies, or perform OSINT on open-source activity. Prefer this over manual GitHub browsing or unofficial scrapers when you need structured, reliable data with language and time-window filtering.

## Known failure modes

- Invalid or unsupported language string returns empty or error result
- since_days value out of acceptable range causes 400-level error
- Payment failure (insufficient USDC balance) blocks the call before data is returned
- Rate limiting or upstream GitHub data unavailability may cause 503 or cached fallback
- limit value exceeding maximum allowed returns truncated results

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns an array of trending GitHub repositories with associated metadata such as repository names, descriptions, star counts, and ranking. Includes a meta object with count, data source, and generation timestamp, plus a boolean indicating whether the result was cached.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer"
  },
  "language": {
   "type": "string"
  },
  "since_days": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "oneOf": [
    {
     "type": "array"
    },
    {
     "type": "object"
    }
   ]
  },
  "meta": {
   "type": "object",
   "properties": {
    "count": {
     "type": "integer"
    },
    "source": {
     "type": "string"
    },
    "generated_at": {
     "type": "string",
     "format": "date-time"
    }
   }
  },
  "cached": {
   "type": "boolean"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

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