It is possible to query the Ethereum Name Service (ENS) using an API endpoint and get a JSON response.