{"uid":"cap_Gke-glVErXdU3hpsmMvai","slug":"ens-namehash-labelhash-calculator-de30feae","name":"ENS Namehash & Labelhash Calculator","description":"Compute the ENS namehash and keccak labelhash for a name like vitalik.eth. For resolvers, registries and agents working with ENS. ens namehash, labelhash, ens node, name resolution, evm utility Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/crypto/namehash","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"the ENS name, e.g. vitalik.eth (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Fqfd-eqrsDy2EgdDpJwYS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the ENS namehash (node) and keccak labelhash for a given ENS name like vitalik.eth","exampleAgentPrompt":"What's the ENS namehash and labelhash for vitalik.eth? I need to interact with the ENS registry contract.","exampleUseCases":null,"resultDescription":"Returns the ENS namehash (bytes32 node) and the keccak labelhash for the given ENS name, ready for use in ENS resolvers, registries, and smart contract calls.","failureModes":["Invalid or malformed ENS name returns an error","Missing name parameter returns 400 bad request","Names with unsupported TLDs may produce unexpected hashes","Network timeout if upstream is unavailable","Payment not processed results in 402 response"],"whenToPreferThis":"Use this endpoint when you need to compute ENS namehash or labelhash values for use in smart contracts, ENS resolvers, or registry interactions — especially in automated agent workflows where on-the-fly hash derivation is needed without running a local library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:58:44.148Z","isFirstParty":false}