0
votes

I'm trying to find a GitHub APIs for open pull requests count, without downloading them. () I looked through GitHub search API and repos API https://developer.github.com/v3/search/#search-issues-and-pull-requests https://api.github.com/repos/pulls?state=open But wasn't able to find here.

example of big repository

1

1 Answers

1
votes

To search for PRs, you can use issues search with is:pr modifier:

https://api.github.com/search/issues?q=rockstars%20state:open%20is:pr

The total_count field of the response is what you need.