ENS Data
44 subscribers
1 photo
8 links
✦ dev updates for ensdata.net
message @pugson if you need anything
Download Telegram
Channel created
Channel photo updated
API will now reverse lookup the ENS when you query for an address.

https://ensdata.net/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

will return

{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"ens": "vitalik.eth"
}
🔥5🫡3
API will now return media URLs for any records that include NFTs. When NFTs are detected, the response will include an additional key with an appended _url at the end that points to decentralized storage that hosts the image.

Example:

{
"cover": "eip155:1/erc721:0x1e4cc5f267853aa2e2142ea7f0532a776117cfff/89"
}


will return

{
"cover": "eip155:1/erc721:0x1e4cc5f267853aa2e2142ea7f0532a776117cfff/89"
"cover_url": "https://gateway.pinata.cloud/ipfs/bafybeial6lzgbsbaqhnctfakgmj6afs5twzl4alixdq7bjcfjfo7vlnsoe"
}
🔥4🤯2🫡2
CORS issues have been resolved when using the API from the browser. Thanks to Jason from sort.xyz 🫡
🫡5👍1
Emoji + weird unicode character support has been added.

ensdata.net/👽👽👽.eth

Searching for an ENS subdomain will now return the wallet address it's associated with.

ensdata.net/token.jstn.eth
🫡3
Recent API errors have been resolved. Everything is operational once again 🚀
🫡2
Support for querying different domains and subdomains has landed.

API will now return records for domains that don't end with .eth and resolve offchain ENS/DNS names like Coinbase ID.

Example ↓
https://ensdata.net/jack.w.eth.id
https://ensdata.net/jesse.cb.id

Give it a spin and report any bugs to @pugson.
⚡️ Offchain name resolution should be much faster now.

🥇 New field: ens_primary which will return the primary ENS.

📃 New field: records_primary which will hold all records of the primary ENS in the same request.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3
Things should be starting to work again.
🔑 New field: contentHash which will return the content hash for a name.

There's also a special uncached endpoint for grabbing just the content hash without any other records:

https://ensdata.net/content-hash/ens.eth
Please open Telegram to view this post
VIEW IN TELEGRAM
API has been upgraded to support the new resolver contract from ENS.

🔑New field: resolverAddress which will return the smart contract address for resolving this ENS name.

👛New object: wallets which will contain addresses for ETH, BTC, SOL, and others if they are added to the profile.

📷New field: avatar_small which returns an optimized avatar with a max size of 256x256. Same behavior as using the ensdata.net/media/avatar/[name].eth URL source for images.

🚽 Cache has been flushed to prevent missing fields.

Up next: working on an endpoint for batch resolution.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥10
🟪🔍 Farcaster Profile Lookup

You can add an optional ?farcaster=true param to get back a matching Farcaster profile.

https://ensdata.net/dwr.eth?farcaster=true

[𝙿𝙾𝚆𝙴𝚁𝙴𝙳 𝙱𝚈 neynar.com]
🔥7
🟣 𝚂𝚄𝙼𝙼𝙴𝚁 𝚄𝙿𝙳𝙰𝚃𝙴𝚂 🟣🛠

🖼 Added missing avatar_url for primary ENS records.

🔗 Support for easy rendering of IPFS media with a _url suffix.

🖼 Improved NFT media handling.

👤 Better NFT avatar support.

📷 Default avatar fallbacks for ensdata.net/media/avatar/[ens] endpoint.

External avatars that fail to load will render a fallback gradient rather than a broken image or error.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥7
Everything should be back to normal now. Sorry for the inconvenience!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥5
🔍📦 Bulk Lookups are now in beta.
Get records for multiple ENS names and addresses in a single request.

- Use the /bulk endpoint with an array of ENS names or addresses.
- Max 50 per request.

Example :
api.ensdata.net/bulk?q=[lochie.eth,jstn.eth,sdv.eth,bhoka.eth]

Example with Farcaster data:
https://api.ensdata.net/bulk?farcaster=true&q=%5Bpugson.eth,dwr.eth,timdaub.eth,macbudkowski.eth%5D
🔥7