# Apollo GitHub Trending Repositories Feed

> Apollo GitHub Trending Repositories Feed is a paid API for AI agents from apolloai.team, paid per call via x402, $0.05/call, status down (last checked 2026-09-15).

Returns GitHub repositories ranked by star velocity, filterable by programming language, topic, and time window, updated every 4 hours

## Facts

- Endpoint: GET https://apolloai.team/api/github-trending
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apollo-github-trending-repositories-feed-02dcf1aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kp36UfYhcTQK7oUI3o_5f

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 apollo-github-trending-repositories-feed-02dcf1aa
```

Example prompt: What are the top 20 trending AI repositories on GitHub right now — filter for Python projects and show me their star velocity?

## When to prefer this

Use this endpoint when you need real-time data on which GitHub repositories are gaining traction fastest, especially for AI/ML, web3, or general software categories. Prefer this over scraping GitHub directly when you need pre-filtered, categorized, and velocity-ranked data updated on a 4-hour cadence without rate-limit concerns.

## Known failure modes

- Invalid 'since' value returns 422 or ignored parameter
- Invalid 'language' value returns empty results or 422
- limit out of range (>50 or <1) may return default of 30
- No repos match filter combination returns empty trending_repos array
- Service temporarily unavailable returns 5xx
- Payment not included or insufficient returns 402

## How this service works

GitHub trending repos — new repositories ranked by star velocity (stars/day). Filter by language, topic, or timeframe. Updated every 4h.

## Output

A JSON object containing a list of trending repositories each with name, URL, star count, star velocity (stars/day), programming language, categories, and description; plus highlights of top movers, total repo count, category breakdown (ai-agents, web3, general), and the feed update frequency.

## 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": {
      "limit": {
       "type": "string",
       "description": "Max repos to return (1-50, default 30)"
      },
      "since": {
       "enum": [
        "daily",
        "weekly",
        "monthly"
       ],
       "type": "string",
       "description": "Time window: daily (7d), weekly (14d), monthly (60d)"
      },
      "topic": {
       "type": "string",
       "description": "Filter by topic: ai, llm, web3, mcp, agent, or 'all'"
      },
      "language": {
       "type": "string",
       "description": "Filter by language: python, typescript, rust, go, javascript, or 'all'"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "highlights": [
   {
    "repo": "anthropics/claudes-c-compiler",
    "stars": 1763,
    "language": "C",
    "velocity": "393 ★/day",
    "categories": [
     "ai-agents"
    ],
    "description": "Claude's self-written C compiler"
   }
  ],
  "total_repos": 50,
  "trending_repos": [
   {
    "url": "https://github.com/...",
    "name": "user/repo",
    "stars": 500,
    "language": "Python",
    "categories": [
     "ai-agents"
    ],
    "description": "...",
    "star_velocity": 250
   }
  ],
  "update_frequency": "Every 4 hours",
  "category_breakdown": {
   "web3": 8,
   "general": 40,
   "ai-agents": 41
  }
 }
}
```

## More

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