nostr_get_profile
Fetch a NOSTR profile (kind:0 metadata) for a given pubkey or npub, returning parsed fields like name, about, picture, and nip05.
Instructions
Fetch and parse a NOSTR profile (kind:0 metadata) for the given pubkey or npub. Convenience wrapper over nostr_query_events with kinds=[0], limit=1. Returns the parsed JSON content (name, about, picture, nip05, lud16, etc.) plus the source event id and timestamp. Returns profile: null if no kind:0 event was found for that pubkey on the configured relay pool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey_or_npub | Yes | A pubkey to look up — either 32-byte hex (64 chars) or an npub bech32 string. |