You can leverage the GitHub Events API to perform such task and retrieve a JSON formatted response.
The Events API is a read-only interface to all the event types that power the various activity streams on GitHub.
- syntax:
GET /users/:user/events - example: https://api.github.com/users/mojombo/events
An alternative way is to subscribe to the public RSS feed of a user. For instance, Mojombo's public feed Url would be
- https://github.com/mojombo.atom
Also If you want to view Full activities performed by all contributors ,you can also go to
If Private https://github.com/orgs/YOURORGANISATION/dashboard
If Public https://github.com/REPOSITORYOWNER?tab=activity
Answer from nulltoken on Stack OverflowGitHub
docs.github.com › en › rest › activity
REST API endpoints for activity - GitHub Docs
Use the REST API to list events and feeds and manage notifications, starring, and watching.
Can I transfer my contributions from work profile to private profile?
The contributions graph only shows activity you can see. You see a more populous graph than nearly any other user.
More on reddit.com[GitHub] How to get pull request activity for a particular user?
It looks like it would be pretty straightforward using github's API - get all pull requests via http://developer.github.com/v3/pulls/#list-pull-requests , then get all comments for each pull request - http://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request , then summarize and chart the comment counts by developer across all requests. I'm sure you could easily derive the other stats you are thinking about as well from the metadata included. More on reddit.com
GitHub
github.com › orgs › community › discussions › 50567
Is there an API exists to fetch all the activity of an user · community · Discussion #50567
Is there an API to fetch user's past activity, including comments, PRs, issues, etc. Also if user is admin then the configuration changes done by him in past etc. Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... Listing user public events is probably what you want: https://docs.github.com/en/rest/activity/events?apiVersion=2022-11-28#list-public-events-for-a-user
GitHub
github.com › orgs › community › discussions › 24351
How to track the login activity of any user through API · community · Discussion #24351
Is there any way we can track the login activity of any user through API. We need to know when was the last time a user logged in to their GitHub account. Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... There’s no result in the REST API specifically for the login event, but you can get general (public facing) user information at this address:
GitHub
docs.github.com › en › rest › metrics › statistics
REST API endpoints for repository statistics - GitHub Docs
curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2026-03-10" \ https://api.github.com/repos/OWNER/REPO/stats/commit_activity
GitHub
docs.github.com › en › rest › users
REST API endpoints for users - GitHub Docs
Use the REST API to get public and private information about authenticated users.
Readthedocs
github-activity.readthedocs.io
github-activity — GitHub Activity documentation
GitHub Activity uses the GitHub GraphQL API, along with some basic pagination and caching to efficiently pull data from GitHub.