Fetch dependencies from a project in Github using CLI

Are there any commands that enable the fetching of the dependencies for a repository on github?

On Github, under the 'Insights' tab, I can see the dependencies, by pressing the 'Dependencies Graph' button, and that displays all the dependencies for the project.

My question is, can I write a script, to fetch these dependencies?

I tried to navigate in Postman and make a GET request to the url '' and I received a 404 response.

But when I put the same url in Chrome, I can see the Dependencies Graph for that project.


  • You can’t. There are no API calls available for this information at the moment. I’ve been wanting to get that information myself as well 😕.