Fast ENS API for web3 apps
I’ve integrated ENS resolving into several projects now (both my own and as a contributor/collaborator), but found the standard approach of querying ENS contracts directly to be quite slow for most use cases, and can quickly eat up Alchemy/Infura node resources if you’re not careful.
To help with this, I built an incredibly fast API (thanks to Cloudflare’s edge caching) for resolving and reverse-resolving ENS names and addresses (30-50ms with a warm cache).
API docs are here: About ENS Ideas
And open source code here: GitHub - holic/ens-ideas
Examples:
- https://api.ensideas.com/ens/resolve/0xc9c022fcfebe730710ae93ca9247c5ec9d9236d0
- https://api.ensideas.com/ens/resolve/frolic.eth
This is already in use in the following projects and processing millions of ENS queries per month:
- https://juicebox.money/
- https://reservoir.tools/
- https://www.utopialabs.com/
- https://terraformexplorer.xyz/
- https://proofofplay.com/
- https://gallery.so/
- https://tombseri.es/
- https://okpc.app/
- https://shields.build/
Recent usage stats: https://twitter.com/frolic/status/1769337119527362885
Steward Commentary
Ecosystem stewards are awarding frolic.eth 10,000 USDC in grant funding. ENS Ideas serves seven million API calls a month. Their open source API is integrated into multiple platforms and has consistent usage. The stewards appreciate the work that you do. Thank you.