api call connected to chart