API Access from a different domain


I wanted to develop a high-level dashboard for a survey we are conducting and I wanted to access data from a different domain that runs a javascript application (react-based). Obviously, I get a 401 due to the cross-origin. I wanted to avoid putting a python script in the middle as a broker, but access the APIs when the user views the pages in the dashboard. Have such things been done that I can learn from in the past?

Thank you in advance