{"uid":"cap_1b5-W0t9ms_KAuY5Mo9Vr","slug":"nostr-nip-05-identifier-verifier-51880be0","name":"Nostr NIP-05 Identifier Verifier","description":"Fetches https://domain/.well-known/nostr.json with the name query parameter and reads the mapping the domain publishes. The answer states the resolved public key in hex and as npub, the relay hints the document lists for that key, and the HTTP status and final URL after redirects, so a redirect to a login page is distinguishable from a genuine answer. Given an expected public key, the comparison is made and the result is reported as an explicit match or mismatch rather than left to the caller.","url":"https://nostr.halowerk.com/nip05-verify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"identifier":{"type":"string","description":"NIP-05 identifier as name@domain, or a bare domain for the root identifier _@domain."},"expect_pubkey":{"type":"string","description":"Public key as hex, npub or nprofile that the domain is expected to confirm."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JUULsvHmqygT9ewM0tZEZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a NIP-05 identifier by fetching the domain's nostr.json and comparing the resolved public key, with explicit match/mismatch reporting and redirect detection","exampleAgentPrompt":"Can you verify that the Nostr NIP-05 identifier jb55@jb55.com actually resolves to the pubkey npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5 and tell me if they match, plus list any relay hints the domain publishes?","exampleUseCases":[{"title":"Authenticate Nostr user before zapping","prompt":"Before I send a zap, verify that the NIP-05 address nvk@nvk.io resolves to pubkey npub1az9xj85cmxv8e9j9y80lvqp97crsqdu2fpu3srwthd99qfu9qsgstam8y and tell me if it's a genuine match or if there's a redirect hiding the real answer."},{"title":"Audit brand account identity claim","prompt":"I want to audit whether the Nostr identifier nostr@nostr.com really maps to the public key npub1nstrcu63lzpjkz94djajuz2dv9altfграфика and get the relay hints the domain lists for it."},{"title":"Detect hijacked or spoofed NIP-05 handle","prompt":"Check if the NIP-05 address someone@suspicious-site.xyz resolves to any public key and whether the server is doing a redirect to a login page instead of serving a proper nostr.json — I want to know if this identity is legit or spoofed."}],"resultDescription":"Returns the resolved public key in both hex and npub formats, any relay hints listed in the domain's nostr.json for that key, the HTTP status code and final URL after any redirects, and an explicit match or mismatch verdict when an expected public key is supplied for comparison.","failureModes":["Domain redirects to login page instead of serving nostr.json — detected and reported via HTTP status and final URL fields","Username not found in the domain's nostr.json — returns a not-found or empty result","Domain is unreachable or times out — network error response","nostr.json is malformed or unparseable — parsing error reported","Expected pubkey provided in wrong format — input validation error","HTTP 404 or 500 from the well-known endpoint — reflected in status field"],"whenToPreferThis":"Use this endpoint when you need to cryptographically validate a NIP-05 Nostr identifier against a specific public key, especially when you want explicit match/mismatch reporting rather than raw data, redirect detection to distinguish genuine responses from login-page hijacks, and relay hint discovery — all in a single call. Prefer it over manual HTTP requests when you need structured, agent-friendly output with clear verification verdicts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:35:44.326Z","isFirstParty":false}