Corrected bug in API url