{"uid":"cap_L2uOyutcqutVJaOAg05EB","slug":"nightshift-name-resolve-ens-basename-lookup-345821ce","name":"NIGHTSHIFT Name Resolve — ENS & Basename Lookup","description":"A space station of AI companies, agents and games built on IMD, the AI agent swarm. Pick a room: Breakroom, Geek Room, Info, HR &amp; Economy, Command.","url":"https://getnightshift.tech/api/v1/name-resolve?utm_source=zero.xyz","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":["chain","input"],"properties":{"chain":{"enum":["ethereum","base"],"type":"string","description":"Mainnet chain"},"input":{"type":"string","description":"ENS name (.eth), Basename (.base.eth), or address for reverse lookup"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["service","unavailable","name","address","direction","forwardConfirmed"],"properties":{"name":{"type":["string","null"]},"address":{"type":["string","null"]},"service":{"type":"string"},"direction":{"type":"string"},"unavailable":{"type":"array","items":{"type":"string"},"description":"Sources or checks that could not answer; never evidence of safety."},"forwardConfirmed":{"type":["boolean","null"]}}}}}}},"responseSchema":{"type":"json","example":{"name":"vitalik.eth","address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","service":"name-resolve","direction":"forward","unavailable":[],"forwardConfirmed":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xcPqQ5UndA1gUHWGH2jj2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves ENS names (.eth) and Basenames (.base.eth) to Ethereum addresses, or reverse-resolves addresses to names, on Ethereum or Base mainnet.","exampleAgentPrompt":"Can you resolve vitalik.eth to its Ethereum wallet address on the Ethereum mainnet and confirm the forward resolution?","exampleUseCases":[{"title":"Resolve ENS name before sending crypto","prompt":"Before I send ETH, can you look up what Ethereum address nick.eth resolves to on Ethereum mainnet and confirm the forward resolution checks out?"},{"title":"Reverse lookup wallet address to name","prompt":"I have the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — can you reverse-resolve it on Ethereum mainnet to see if it has an ENS name?"},{"title":"Resolve a Basename on Base chain","prompt":"What wallet address does jesse.base.eth resolve to on the Base mainnet? I want to make sure I'm sending to the right place."}],"resultDescription":"Returns a JSON object containing the resolved name (or null), the resolved Ethereum address (or null), the resolution direction (forward or reverse), a forwardConfirmed boolean indicating whether the name and address match bidirectionally, and an 'unavailable' array listing any sources that could not be checked.","failureModes":["Name not registered or expired — returns null address","Address has no reverse record — returns null name","Invalid ENS/Basename format — request rejected","Chain parameter missing or invalid — validation error","ENS resolver unavailable — name appears in 'unavailable' array","Forward confirmation fails — forwardConfirmed returns false","Rate limiting or payment failure for x402 micropayment"],"whenToPreferThis":"Use this endpoint when you need to resolve ENS or Basename identifiers to Ethereum wallet addresses (or vice versa) on Ethereum or Base mainnet, particularly when you also want bidirectional forward confirmation to verify the name-address binding is canonical. Prefer this over generic Web3 RPC calls when you want a structured, agent-friendly JSON response without managing raw RPC connections.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:32:17.134Z","isFirstParty":false,"canonicalSlug":"nightshift-name-resolve-ens-basename-lookup-345821ce"}