Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

recreating the contributions graph

Hello all,

Does anyone know which of the APIs I could use to recreate the contributions graph or atleast get all of the data for it?

1 Reply
Community Manager
Message 2 of 2

Re: recreating the contributions graph

Hi @chrisopacki,


Thank you for being here and my sincere apologies for the delay in response. There is not an API specific to contributions.


The Events API allows you to choose different event types that are used to render elements like the contributions graph. You could experiment with that API to retrieve what you're looking for.


If it helps to retrieve statistics for a user for specific repositories, you could also try the Repository Statistics API. This is the same data used to generate graphs such as those seen at

I hope this helps,

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!