# GitBeacon Historical GitHub Digests

> GitBeacon Historical GitHub Digests is a paid API for AI agents from api.gitbeacon.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns historical daily GitHub digests for a configurable lookback window (1-30 days), including analysis of trending repos, language popularity, and emerging tools.

## Facts

- Endpoint: GET https://api.gitbeacon.dev/v1/digests
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gitbeacon-historical-github-digests-633f01df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t5O3LADuTPkM6vFXadX_o

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 gitbeacon-historical-github-digests-633f01df
```

Example prompt: Pull the GitBeacon historical GitHub digests for the past 14 days — up to 14 digests — so I can see how language popularity and trending tools have evolved recently.

## When to prefer this

Choose this endpoint when you need historical context — multiple days of GitHub trend data — rather than just the current snapshot. Ideal for trend analysis, tracking language popularity shifts, comparing tool adoption over time, or building a timeline of open-source activity. Prefer the /v1/digests/latest sibling endpoint if you only need today's data.

## Known failure modes

- Invalid days parameter (outside 1-30 range) returns a validation error
- Invalid limit parameter (outside 1-30 range) returns a validation error
- Payment failure via x402 results in no charge and an error response
- Digest data unavailable for requested historical dates returns empty or partial results
- Network timeout or upstream GitHub data unavailability may return a service error

## How this service works

Paid ($0.05 USDC via x402). Historical daily GitHub digests (1-30 day lookback). Track how open-source trends, language popularity, and emerging tools evolve over time — each digest carries the same rich analysis as /v1/digests/latest, keyed by digestDate provenance. Compute-first / settle-after — you are never charged for an error.

## Output

An array of up to 30 daily GitHub digest objects, each keyed by digestDate and containing the same rich analysis as the latest digest: trending repositories sorted by stars, language popularity rankings, emerging tools highlights, and open-source trend signals — covering the requested lookback window.

## 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",
     "required": [],
     "properties": {
      "days": {
       "type": "integer",
       "maximum": 30,
       "minimum": 1,
       "description": "Lookback window in days (1-30)."
      },
      "limit": {
       "type": "integer",
       "maximum": 30,
       "minimum": 1,
       "description": "Max digests to return (1-30)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "title": "AI-Powered Development Takes Center Stage",
    "summary": "AI-driven projects dominate...",
    "digestDate": "2026-02-25T00:00:00.000Z",
    "topCategories": [
     "AI/ML",
     "DevTools",
     "Security"
    ],
    "overallSentiment": "innovative",
    "totalReposAnalyzed": 50
   }
  ],
  "days": 7,
  "count": 3,
  "limit": 7,
  "charged": true,
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gitbeacon-historical-github-digests-633f01df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gitbeacon.dev](https://www.zero.xyz/host/api.gitbeacon.dev/llms.txt)
