You can do it with curl:
curl -X GET https://api.github.com/repos/<owner>/<repo>/forks
For example angular forks:
curl -X GET https://api.github.com/repos/angular/angular/forks
You can add a collation option ?sort=<oldest|newest|stargazers>
, but the default is newest
.
source
to share