I want to return all the associated EOS accounts that is linked to a specific public key in JSON format for my javascript dapp. Currently I can paste the pub key into: https://eosflare.io/key/EOS6M1m2KBk8BF6uwEnRyjXvpBTUxqLfMUZALzsUGtrHvcEHTYFi1
But there is no JSON output. How can I just a RELIABLE EOS endpoint to do these queries to get a JSON output of all the accounts associated to a pub key?
Do I use one of these endpoints? https://www.eosdocs.io/resources/apiendpoints/