GitHub Repository Commit History
Fetch recent commit SHAs, commit messages, public GitHub author logins, and timestamps for any public repository, branch, or file path (author emails redacted).
curl -sG "https://api.agentapigate.ai/v1/github/repo/commits" \ --data-urlencode "owner=honojs" \ --data-urlencode "repo=hono" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# GitHub Repository Commit History (`github.repo.commits`) **count**: 10 ### 1. Item 1 (https://github.com/honojs/hono/commit/717dc17cb80bff270ddc557614fe3c3e1b916a1f) - sha=717dc17cb80bff270ddc557614fe3c3e1b916a1f | short_sha=717dc17 | message=4.13.23 | author_name=Yusuke Wada | author_login=yusukebe | committed_at=2026-11-26T21:18:35Z ### 2. Item 2 (https://github.com/honojs/hono/commit/19069e711d0411a36595526234ad1c57a3f9b00d) - sha=19069e711d0411a36595526234ad1c57a3f9b00d | short_sha=19069e7 | message=Merge commit from fork | author_name=Yusuke Wada | author_login=yusukebe | committed_at=2026-11-26T21:13:07Z ### 3. Item 3 (https://github.com/honojs/hono/commit/0c91d4e72099e5698a04a105b790c6250f23acd9) - sha=0c91d4e72099e5698a04a105b790c6250f23acd9 | short_sha=0c91d4e | message=Merge commit from fork | author_name=Yusuke Wada | author_login=yusukebe | committed_at=2026-11-26T21:09:04Z ### 4. Item 4 (https://github.com/honojs/hono/commit/d6e480481384a04ae2404a40243caebb5b2344ab) - sha=d6e480481384a04ae2404a40243caebb5b2344ab | short_sha=d6e4804 | message=Merge commit from fork | author_name=Yusuke Wada | author_login=yusukebe | committed_at=2026-11-26T21:06:20Z ### 5. Item 5 (https://github.com/honojs/hono/commit/9c2f2948498434506f9ebc77a213bf67a2da5603) - sha=9c2f2948498434506f9ebc77a213bf67a2da5603 | short_sha=9c2f294 | message=4.13.22 | author_name=Yusuke Wada | author_login=yusukebe | committed_at=2026-11-25T00:03:04Z ### 6. Item 6 (https://github.com/honojs/hono/commit/a325a49160682f5ada172f9f02a96627eef3987c) - sha=a325a49160682f5ada172f9f02a96627eef3987c | short_sha=a325a49 | message=fix(utils/body): skip keys with `constructor.prototype` in `parseBody()` (#5681) | author_name=hono-kun[bot] | author_login=hono-kun[bot] | committed_at=2026-11-24T23:23:31Z ### 7. Item 7 (https://github.com/honojs/hono/commit/d867b9deb6a75907e57651fe8d615a8789355ce5) - sha=d867b9deb6a75907e57651fe8d615a8789355ce5 | short_sha=d867b9d | message=fix(streaming): accept a sync onError callback (#5680) | author_name=hono-kun[bot] | author_login=hono-kun[bot] | committed_at=2026-11-24T23:11:47Z ### 8. Item 8 (https://github.com/honojs/hono/commit/79f23af6080ad49f35f9e4fd1a4d9becb63c552f) - sha=79f23af6080ad49f35f9e4fd1a4d9becb63c552f | short_sha=79f23af | message=fix(sse): reject line breaks in `retry` (#5679) | author_name=hono-kun[bot] | author_login=hono-kun[bot] | committed_at=2026-11-24T11:49:47Z ### 9. Item 9 (https://github.com/honojs/hono/commit/a4b4e9344f54afec23e9b653807485d4418e0731) - sha=a4b4e9344f54afec23e9b653807485d4418e0731 | short_sha=a4b4e93 | message=fix(jsx): do not treat a plain object child as an array (#5678) | author_name=hono-kun[bot] | author_login=hono-kun[bot] | committed_at=2026-11-24T11:49:26Z ### 10. Item 10 (https://github.com/honojs/hono/commit/979ebdfd7a62000fabfdd7aafd5e1901a700d2aa) - sha=979ebdfd7a62000fabfdd7aafd5e1901a700d2aa | short_sha=979ebdf | message=fix(utils/mime): return undefined for an extension that is an inherited property name (#5677) | author_name=hono-kun[bot] | author_login=hono-kun[bot] | committed_at=2026-11-24T11:49:03Z
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:github.repo.commits · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| owner | string | required | honojs | GitHub organization or username (e.g. honojs, vercel) |
| repo | string | required | hono | GitHub repository name (e.g. hono, next.js) |
| branch | string | optional | — | Optional branch name or commit SHA (defaults to repository default branch) |
| path | string | optional | — | Optional file or directory path within the repository (e.g. package.json) |
| limit | number | optional | 10 | Maximum commits returned (1-30, default: 10) |
| 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.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | github_repo_commits | OAuth 2.1 Hub & /mcp/intel |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 256 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1908t → 837t (-56%) | 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 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.
Fetch open, closed, and merged pull requests for any public GitHub repository with PR numbers, titles, states, branch refs, authors, and merged_at timestamps.
Frequently Asked Questions
How do I call GitHub Repository Commit History (github.repo.commits) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/github/repo/commits with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool github_repo_commits on https://mcp.agentapigate.ai/mcp.
What does github.repo.commits cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.001 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.commits?
Passing ?format=md transforms the response into normalized Markdown (~837 tokens vs ~1908 raw tokens, saving 56% 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.commits"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.