{"slug":"tanod-dev-v1-nostr-decode-4c582c","title":"chainpeek (Tanod) Nostr decoder","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/nostr/decode","category":"other","description":"chainpeek (Tanod) Nostr decoder: NIP-19 npub, note, nprofile, nevent and naddr to hex and TLV fields, and NIP-05 name@domain to a public key. Secret keys are refused. Use when an agent must turn a Nostr npub, nprofile, note, nevent or naddr into hex, or resolve a NIP-05 address.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":190,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:56","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input":"nprofile1qqsrhuxx8l9ex335q7he0f09aej04zpazpl0ne2cgukyawd24mayt8gpp4mhxue69uhhytnc9e3k7mgpz4mhxue69uhkg6nzv9ejuumpv34kytnrdaksjlyr9p"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"input":{"description":"A NIP-19 identifier (npub1..., note1..., nprofile1..., nevent1... or naddr1..., an optional 'nostr:' prefix is accepted) or a NIP-05 address (name@domain, or a bare domain for _@domain). Secret keys (nsec1...) are refused and never decoded.","maxLength":5000,"minLength":3,"type":"string"},"verify_nip05":{"anyOf":[{"maxLength":320,"minLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"Optional NIP-05 address (name@domain) to check against the key of an npub, nprofile, nevent (with author) or naddr: the domain's nostr.json must map the name to that key (result nip05.verified)."}},"required":["input"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"address":{"type":"string"},"author_npub":{"type":["string","null"]},"author_pubkey_hex":{"type":["string","null"]},"event_id_hex":{"type":"string"},"hex":{"type":"string"},"hex_meaning":{"enum":["pubkey","event_id"]},"identifier":{"type":"string"},"input_type":{"enum":["nip19","nip05"]},"kind":{"type":["integer","null"]},"nip05":{"properties":{"domain":{"type":"string"},"identifier":{"type":"string"},"name":{"type":"string"},"npub":{"type":["string","null"]},"pubkey_hex":{"type":["string","null"]},"relays":{"items":{"type":"string"},"type":"array"},"status":{"enum":["found","verified","mismatch","not_found","http_error","invalid_response","redirect_not_allowed"]},"url":{"type":"string"},"verified":{"type":["boolean","null"]}},"type":"object"},"nostr_uri":{"type":"string"},"note":{"type":"string"},"npub":{"type":"string"},"pubkey_hex":{"type":"string"},"relays":{"items":{"type":"string"},"type":"array"},"tlv":{"items":{"properties":{"name":{"enum":["special","relay","author","kind","unknown"]},"type":{"type":"integer"},"value":{"type":["string","integer"]}},"type":"object"},"type":"array"},"type":{"enum":["npub","note","nprofile","nevent","naddr"]},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["input_type","type","hex","hex_meaning","tlv","nostr_uri"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":190,"error":null}],"description_full":"chainpeek (Tanod) Nostr decoder: NIP-19 npub, note, nprofile, nevent and naddr to hex and TLV fields, and NIP-05 name@domain to a public key. Secret keys are refused. Use when an agent must turn a Nostr npub, nprofile, note, nevent or naddr into hex, or resolve a NIP-05 address.","last_updated":"2026-10-15T02:50:09.745Z","schemes":["exact"]}