{"name":"basename-resolve","description":"Resolves Coinbase Basenames (.base.eth) to Ethereum addresses and back, reading the Base mainnet L2 Resolver on-chain (no gas, no wallet). Forward: pass a basename like 'alice.base.eth' (bare names are auto-suffixed with .base.eth) to get the registered address plus avatar / url / com.twitter / com.github / email / com.discord text records (override with `text_records`). Reverse: pass a 0x address to get the primary basename, if any. Useful for agent-payment flows that need to translate human names to Base addresses. Use it as a basename resolver, .base.eth lookup, Base name service, or on-chain name resolution.","price":"$0.005","method":"POST","input_schema":{"properties":{"query":{"type":"string","description":"Either a basename ('alice.base.eth', or bare 'alice' which is auto-suffixed) for forward resolution, OR a 0x-prefixed Ethereum address for reverse resolution."},"text_records":{"type":"array","items":{"type":"string"},"description":"Optional list of text-record keys to fetch on forward lookups. Default: avatar, url, description, com.twitter, com.github, email, com.discord. Cap 12 keys."}},"required":["query"]},"input_example":{"query":"jesse.base.eth"},"output_example":{"mode":"forward","name":"jesse.base.eth","address":"0x849151d7d0bf1f34b70d5cad5149d28cc2308bf1","text_records":{"avatar":null,"url":null,"description":null,"com.twitter":"jessepollak"},"network":"eip155:8453","resolver":"0xC6d566A56A1aFf6508b41f6c90ff131615583BCD","rpc_used":"https://base.publicnode.com","source":"Coinbase Basenames L2 Resolver (Base)","attribution":"Resolved against Coinbase Basenames L2 Resolver on Base (https://www.base.org/names)."},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}