Added duration to returned API calls