Advice on Gradebook front end - student Avatars

I’m doing some work on the React gradebook ( edx/frontend-app-gradebook: Instructor gradebook tool for Master’s programs (github.com)) for a local edX improvement by a company .

As part of the designed improvement the avatars of each of the students is wanted to be displayed on the table of grades.

Is there a API where a userid can be passed and return is the url of the avatar?

Thanks.