Add total api call