{"uid":"cap_im4qIl7F8zgdXetLKOIxD","slug":"2s-io-github-commit-history-70a1f7ef","name":"2s.io GitHub Commit History","description":"Commit history for a repository: sha, message, author name + GitHub login, date, and URL. Optionally filter by branch/tag (sha), file path, or author. Paginate. Read-only; no caller key needed.","url":"https://2s.io/api/github/commits","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["owner","repo"],"properties":{"sha":{"type":"string","maxLength":120,"description":"Branch, tag, or commit sha to start from."},"page":{"type":"integer","minimum":1},"path":{"type":"string","maxLength":400},"repo":{"type":"string","maxLength":120,"minLength":1},"owner":{"type":"string","maxLength":100,"minLength":1},"author":{"type":"string","maxLength":100},"perPage":{"type":"integer","maximum":100,"minimum":1}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Od0QHanDFzrsoTgiJGb09","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches paginated commit history for a GitHub repository, including SHA, message, author info, date, and URL, with optional branch/path/author filtering.","exampleAgentPrompt":"Can you pull the last 25 commits from the torvalds/linux repo on the master branch, filtered to just changes in the 'kernel/sched' directory?","exampleUseCases":null,"resultDescription":"A paginated list of commits, each containing the commit SHA, commit message, author's display name and GitHub login, timestamp, and a direct URL to the commit on GitHub.","failureModes":["Invalid owner or repo name returns an error or empty result","Non-existent branch/tag sha returns no commits","File path with no matching commits returns empty list","Page number beyond available commits returns empty list","Rate limiting from the upstream GitHub API may cause transient failures"],"whenToPreferThis":"Use this endpoint when you need read-only, key-free access to GitHub commit history with filtering by branch, file path, or author and built-in pagination — especially useful in agent workflows where no GitHub token is available and pay-per-call pricing ($0.001/call) is preferred over managing OAuth credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:59:25.555Z","isFirstParty":false}