GitHub Repository Star Velocity, Releases & HN Momentum
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.
curl -sG "https://api.agentapigate.ai/v1/github/repo/star-velocity" \ --data-urlencode "repo=anthropics/claude-code" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# GitHub Repository Star Velocity, Releases & HN Momentum (`github.repo.star_velocity`) **full_name**: anthropics/claude-code · **total_stars**: 157346 · **forks**: 25099 · **lifetime_avg_stars_per_day**: 244.49 · **star_acceleration_score**: 29 · **momentum_tier**: steady · **velocity_source**: first_party_snapshots · **hn_discussions_30d**: 0 ## latest_release - **tag**: v2.1.332 - **title**: v2.1.332 - **published_at**: 2026-11-25T01:32:14Z - **url**: https://github.com/anthropics/claude-code/releases/tag/v2.1.332
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:github.repo.star_velocity · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| repo | string | optional | anthropics/claude-code | GitHub repository owner/name or full URL (e.g. anthropics/claude-code) |
| owner | string | optional | — | Repository owner (optional when repo is supplied) |
| name | string | optional | — | Repository name (optional when repo is supplied) |
| 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.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | github_repo_star_velocity | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 1515 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 601t → 135t (-78%) | Partner credit: eligible |
More github.repo Sibling Endpoints
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 latest tagged releases, publish timestamps, authors, and release notes for any public GitHub repository.
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 Star Velocity, Releases & HN Momentum (github.repo.star_velocity) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/github/repo/star-velocity with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool github_repo_star_velocity on https://mcp.agentapigate.ai/mcp.
What does github.repo.star_velocity cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 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.star_velocity?
Passing ?format=md transforms the response into normalized Markdown (~135 tokens vs ~601 raw tokens, saving 78% 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.star_velocity"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.