trying to get api urls to work