ENS Data

Free and open API to get ENS records & avatars in JSON format


ENS Data — ensdata.net

Look up Ethereum Name Service text records for any address and get them back in convenient JSON format.

What's new?

  • Offchain name resolving.
  • Big refactor to speed up responses with extra layers of cache.
  • You can also get back the primary text records in the same request if the name you're looking up is not the primary ENS.
  • NFTs are now served from a faster CDN.
  • Special endpoint for directly displaying avatars as images without having to do any fetch calls.

Over 800,000 requests served!

ENS Data has served over 800k requests since launching in February, proving to be a useful backbone to web3 infrastructure that helps promote ENS as the best identity layer on Ethereum.

Brief info

ENS Data is a tiny but powerful API that's free for everyone. Use it in your web2 app, web3 app, or even outside of it!

Perfect tool for pre-filling people's profiles with their ENS records, displaying their avatars in your app, checking people's social media handles, resolving ENS names to addresses for airdrops, finding out who your NFT collectors are, getting a primary address of an ENS name, pulling in data into DAO spreadsheets or other productivity apps, and other creative uses.

All without having to set up your own resolvers and running up lots of extra hits on your Infura/Alchemy plan. Small community apps and and nonconventional projects should really benefit from this approach.

Notable features:

  • Return ENS text records in a JSON format.
  • Find a wallet's primary ENS by providing an address.
  • Render avatars and headers as images.
  • Turn other EIP155:1/ERC721 records into image URLs that can be displayed anywhere.
  • Support for resolving emoji and non-standard Unicode names.
  • Requests are cached for 72 hours so subsequent API calls are blazing fast.

What will this grant be used for?

  • Covering expenses of running the infrastructure for providing this API and keeping it free for everyone in the community for many years.
  • Future improvements and development.
  • Providing support for developers and non-developers wanting to use ENS Data.

Thanks again, 💕 ENS!