Corrected url for api call