/github/commits
Get a GitHub commit by sha, branch, or tag within a repository
Price: 5 credits
💡 AI Hint: Get full details of a single GitHub commit identified by a commit URL, ‘owner/repo@sha’ form, or ‘owner/repo/sha’. The sha may be a full/short commit hash, a branch name, or a tag. Returns the commit message, author and committer (git identity plus GitHub user when known), authored/committed timestamps, parent commit hashes, addition/deletion/total line counts, GPG verification status, comment count, and the list of changed files with per-file line counts.
⚠️ Common errors: 412: Commit not found
Authorizations
API token from the dashboard
Headers
Body
Commit as a GitHub commit URL, 'owner/repo@sha' form, or 'owner/repo/sha'. The sha may be a full or short commit hash, a branch name, or a tag.
1"https://github.com/torvalds/linux/commit/1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
"octocat/Hello-World@7fd1a60"
Max scrapping execution timeout (in seconds)
20 <= x <= 1500Response
Successful Response