Experiment changing to use api call on web page