is there any API call that can check if a URL exists?