# ForgeMesh Anomaly Tracker — Trending GitHub Signal Detection

> ForgeMesh Anomaly Tracker — Trending GitHub Signal Detection is a paid API for AI agents from anomaly.forgemesh.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Scans GitHub repositories created in the last N days and returns high-signal trending repos ranked by novelty, stars, and a composite sequence score.

## Facts

- Endpoint: GET https://anomaly.forgemesh.io/api/trending-signal
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-anomaly-tracker-trending-github-signal-detection-163ffd6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZodlxVvfJ-na-N6sKaZSK

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 forgemesh-anomaly-tracker-trending-github-signal-detection-163ffd6c
```

Example prompt: Show me the highest-novelty trending GitHub repos from the last 7 days — I want to see which new projects are blowing up based on stars per day and sequence score.

## When to prefer this

Use this endpoint when you need to quickly identify breakout or anomalous GitHub repositories within a recent time window, ranked by growth velocity and novelty. Prefer this over generic GitHub search when you want pre-scored, anomaly-ranked signal intelligence rather than raw search results.

## Known failure modes

- Invalid days parameter (not one of 3, 7, 14, 30) returns an error or falls back to default 7-day window
- Payment failure via x402 micropayment protocol blocks the request
- No high-signal repos found in the window returns an empty signals array
- GitHub API rate limiting on the backend may cause degraded or incomplete results
- Network timeout if GitHub scanning takes too long

## How this service works

Returns a ranked list of GitHub repos with anomalous star velocity (stars/day, fork ratio) plus an overall trend score — spot repos going viral before they hit mainstream feeds.

## Output

Returns a JSON object with a story label (e.g. 'Trend Surge'), domain, novelty rating (e.g. 'high'), number of repos scanned, a since_date, a signal_count, a composite sequence_score, and an array of signals each containing the repo full_name, star count, language, fork_ratio, and stars_per_day.

## 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": {
      "days": {
       "type": "string",
       "description": "Search repos created in the last N days: 3, 7 (default), 14, or 30"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "story": {
       "type": "string"
      },
      "novelty": {
       "type": "string"
      },
      "signals": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "signal_count": {
       "type": "integer"
      },
      "sequence_score": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "story": "Trend Surge",
  "domain": "creator",
  "novelty": "high",
  "scanned": 30,
  "signals": [
   {
    "stars": 1200,
    "language": "TypeScript",
    "full_name": "owner/repo",
    "fork_ratio": 0.12,
    "stars_per_day": 171.4
   }
  ],
  "since_date": "2026-06-17",
  "signal_count": 5,
  "sequence_score": 68
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-anomaly-tracker-trending-github-signal-detection-163ffd6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anomaly.forgemesh.io](https://www.zero.xyz/host/anomaly.forgemesh.io/llms.txt)
