Asking credential popup on sharepoint 2013 public facing site

I have sharepoint 2013 site as public facing migrated from 2010. I have one page where I am getting items from the list using rest api. when i access this page without login as an anonymous user it asking me credential popup.

Seems like it is CORS issue. any kind of help will be appreciated.

Thanks