Using the https://ens.domains/ is there a way to query the ENS name service using an API endpoint and get a JSON response? I want to be able to integrate these eth addresses into my application.


Cindercloud has a rest-endpoint which is specifically designed for this.

Documentation on this endpoint can be found here.

| improve this answer | |
  • that requires signing up for that service. etherscan.io/enslookup -- etherscan has a free lookup tool, but i'm not sure how to output the json api – Patoshi パトシ Jun 10 '19 at 16:19
  • Instead of using the rapidapi endpoint, you can also use api.cinder.cloud. It's rate limited, but free. – Qkyrie Jun 11 '19 at 8:19
  • Looks like you own that api restpoint, hence the bias. thanks anyways. I want to just do a simple call to retrieve what a .eth domain resolves to. why is it so difficult to do? – Patoshi パトシ Jun 11 '19 at 14:45
  • I do indeed. It's not that difficult, it's just calling the ENSResolver contract on chain with the correct data, but you asked for an API endpoint which returns a json result and I happen to have something like that, which is why I proposed it as a solution :) – Qkyrie Jun 12 '19 at 14:13
  • Do I need to install any other js libraries or sign up for some token key id? – Patoshi パトシ Jun 12 '19 at 15:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.