proper api url