GitHub Repository Releases & Changelog Feed
Fetch latest tagged releases, publish timestamps, authors, and release notes for any public GitHub repository.
curl -sG "https://api.agentapigate.ai/v1/github/repo/releases" \ --data-urlencode "repo=anthropics/claude-code" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# GitHub Repository Releases & Changelog Feed (`github.repo.releases`) **repo**: anthropics/claude-code · **latest_tag**: v2.1.332 · **count**: 10 ## releases - [1] tag: v2.1.332, title: v2.1.332, author: claude-code-publisher[bot], updated_at: 2026-11-25T01:32:14Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.332 - [2] tag: v2.1.331, title: v2.1.331, author: claude-code-publisher[bot], updated_at: 2026-11-23T21:34:41Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.331 - [3] tag: v2.1.330, title: v2.1.330, author: claude-code-publisher[bot], updated_at: 2026-11-20T22:32:56Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.330 - [4] tag: v2.1.329, title: v2.1.329, author: claude-code-publisher[bot], updated_at: 2026-11-19T22:14:41Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.329 - [5] tag: v2.1.328, title: v2.1.328, author: claude-code-publisher[bot], updated_at: 2026-11-19T01:14:04Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.328 - [6] tag: v2.1.327, title: v2.1.327, author: claude-code-publisher[bot], updated_at: 2026-11-17T23:17:45Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.327 - [7] tag: v2.1.326, title: v2.1.326, author: claude-code-publisher[bot], updated_at: 2026-11-16T22:11:05Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.326 - [8] tag: v2.1.325, title: v2.1.325, author: claude-code-publisher[bot], updated_at: 2026-11-13T20:40:01Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.325 - [9] tag: v2.1.323, title: v2.1.323, author: claude-code-publisher[bot], updated_at: 2026-11-12T22:12:13Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.323 - [10] tag: v2.1.322, title: v2.1.322, author: claude-code-publisher[bot], updated_at: 2026-11-10T02:29:43Z, url: https://github.com/anthropics/claude-code/releases/tag/v2.1.322
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:github.repo.releases · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| repo | string | required | anthropics/claude-code | GitHub owner/repo slug or full github.com/owner/repo URL (e.g. "anthropics/claude-code") |
| limit | number | optional | 10 | Max releases (1-20) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0005 / call | $0/mo · Balance never expires |
| Remote MCP Tool | github_repo_releases | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 271 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 8041t → 537t (-93%) | Partner credit: eligible |
More github.repo Sibling Endpoints
Measure real GitHub repository star velocity (stars_24h, stars_7d, stars_30d, lifetime_avg_stars_per_day), star_acceleration_score (0-100), latest releases.atom tag, and 30-day Hacker News discussions.
One-call GitHub repository context for AI coding agents: clean README Markdown, top-level & recursive file tree, stars, forks, license, topics, and latest release.
Fetch clean Markdown README content directly from public GitHub repositories via raw CDN without requiring any API token.
Query public GitHub repository pull requests, commit logs, and file commit history with keyless REST and Atom fallback.
Frequently Asked Questions
How do I call GitHub Repository Releases & Changelog Feed (github.repo.releases) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/github/repo/releases with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool github_repo_releases on https://mcp.agentapigate.ai/mcp.
What does github.repo.releases cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0005 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on github.repo.releases?
Passing ?format=md transforms the response into normalized Markdown (~537 tokens vs ~8041 raw tokens, saving 93% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only intel endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["github.repo.releases"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.