I want to know if there is a public API which we can use to check for
tld of domains which letsEncrypt supports. I will like to check for the domain before passing it to letsEncrypt so that letsEncrypt doesn’t error out for those specific domains. I have checked previous questions where people have pointed to https://publicsuffix.org/list/public_suffix_list.dat. Just want to confirm should we depend on this list directly or is there a better API which returns data in JSON format?