use www url for API