REST API endpoints for repository traffic - GitHub Docs
Use the REST API to retrieve information provided in your repository graph.