Get Stale Branches

In the main GitHub web app there is a page that lists stale branches. It under https://github.com/owner/repo/branches/stale. I need this same information via a rest api call so I can automatically notify the last person who commited to the branch check the branch.

How can I get this same information via rest api call?