finished api call
Updated api call