The API for the bitcoin cash explorer on Bitcoin.com doesn't seem to support cashaddr. The website with the nice user friendly web pages does, but not the API. For instance, I can get the data for a specific address at this URL:
https://cashexplorer.bitcoin.com/api/ad ... dkyR3fdjTW
But trying the same with an address using the cashaddr format doesn't work:
https://cashexplorer.bitcoin.com/api/ad ... 7yml03edkp
https://cashexplorer.bitcoin.com/api/ad ... 7yml03edkp
BlockExplorer seem to accept it:
https://bitcoincash.blockexplorer.com/a ... dkyR3fdjTW
https://bitcoincash.blockexplorer.com/a ... 7yml03edkp
https://bitcoincash.blockexplorer.com/a ... 7yml03edkp
As does BitPay:
https://bch-insight.bitpay.com/api/addr ... 7yml03edkp
https://bch-insight.bitpay.com/api/addr ... 7yml03edkp
(In fact BitPay does not accept the legacy format, only cashaddr.)
Is there a plan for Bitcoin.com to support cashaddr in the block explorer API?