# SignalDesk AI – GitHub Trending Repos

> SignalDesk AI – GitHub Trending Repos is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Fetches a list of trending GitHub repositories for a given time window (daily, weekly, or monthly), returning repo names, star counts, and languages.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/github?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-github-trending-repos-490b7325
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4k0uTE2_hKA-8GL4j_Iqg

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 signaldesk-ai-github-trending-repos-490b7325
```

Example prompt: What GitHub repositories are trending today? Give me the daily trending list with star counts and languages.

## When to prefer this

Use this endpoint when you need a quick, paid-but-cheap snapshot of GitHub trending repositories without scraping GitHub directly. Best when you want structured JSON output with star counts and languages for daily, weekly, or monthly windows. Prefer this over raw GitHub scraping when you need reliable, hosted access with minimal setup and don't need custom filtering beyond time window.

## Known failure modes

- Invalid or missing 'since' parameter returns an error or defaults to a window
- Payment not fulfilled (x402 payment required) results in 402 response blocking data
- Rate limit or quota exhaustion returns an error after free tier is consumed
- Upstream GitHub data unavailable causes empty or stale results
- Malformed request body (wrong method or type field) returns validation error

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON array of trending repositories, each with a full_name (owner/repo), stars count, and language field, plus the requested since window (daily/weekly/monthly).

## 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": {
      "since": {
       "enum": [
        "daily",
        "weekly",
        "monthly"
       ],
       "type": "string",
       "description": "Trending window"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "repos": [
   {
    "stars": 1234,
    "language": "Python",
    "full_name": "owner/repo"
   }
  ],
  "since": "daily"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-github-trending-repos-490b7325/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
