AgentAPIGate
Back to Catalog
GET /v1/github/repo/commitsPack: intel·MCP Tool: github_repo_commits

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).

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
GitHub organization or username (e.g. honojs, vercel)
GitHub repository name (e.g. hono, next.js)
Optional branch name or commit SHA (defaults to repository default branch)
Optional file or directory path within the repository (e.g. package.json)
Maximum commits returned (1-30, default: 10)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-56% tokens
# 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
ParameterTypeReqSample / DefaultDescription
ownerstringrequiredhonojsGitHub organization or username (e.g. honojs, vercel)
repostringrequiredhonoGitHub repository name (e.g. hono, next.js)
branchstringoptional—Optional branch name or commit SHA (defaults to repository default branch)
pathstringoptional—Optional file or directory path within the repository (e.g. package.json)
limitnumberoptional10Maximum commits returned (1-30, default: 10)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolgithub_repo_commitsOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency256 ms$0 billed on empty or 4xx/5xx
Token Economy1908t → 837t (-56%)Partner credit: eligible

More github.repo Sibling Endpoints

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.