{"uid":"cap_OS6vPFuziTU-ORkAwF9_f","slug":"api-web3identity-com-6a0efd73","name":"ENS Avatar URL Lookup","description":"Get avatar URL for ENS name or address","url":"https://api.web3identity.com/api/ens/avatar/vitalik.eth","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"name":"vitalik.eth"},"response":{"name":"vitalik.eth","avatar":"https://euc.li/vitalik.eth","cached":false,"cachedAt":"2026-06-12T02:18:40.347Z","hasAvatar":true}},"exampleRequest":{"name":"vitalik.eth"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4s6jvoYJVO0SLY1gHJcWz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the avatar image URL associated with an ENS name or Ethereum address","exampleAgentPrompt":"What's the avatar image URL for vitalik.eth — I want to display their ENS profile picture in my app.","exampleUseCases":null,"resultDescription":"Returns the avatar URL (typically an IPFS link, HTTP URL, or NFT-based image URL) associated with the given ENS name or Ethereum address, ready to display in a UI or use downstream.","failureModes":["ENS name does not exist or is not registered — returns null or 404","No avatar record set on the ENS name — returns empty or null URL","Invalid ENS name format — returns validation error","Ethereum address has no associated ENS reverse record or avatar — returns null","Rate limiting or payment failure — returns 402 or 429 error"],"whenToPreferThis":"Use this endpoint when you need to display or reference the profile avatar of a Web3 user identified by their ENS name or Ethereum address. Prefer it over general ENS resolution endpoints when you specifically need the avatar/profile image rather than address records or other text records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:44.466Z","isFirstParty":false}