Skip to main content
GET
https://nostrapi.com
/
api
/
v1
/
utils
/
nip05-hex
curl --location --request GET 'https://nostrapi.com/api/v1/utils/[email protected]' \
--header 'Content-Type: application/json' \
--header 'apikey: <YOUR_KEY_HERE>'
{
  "success": true,
  "message": "Successfully fetched [email protected] NIP05 information.",
  "data": {
    "pubkey": "1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d",
    "relays": [
      "wss://nostr.zbd.gg"
    ]
  }
}

Query

v
string
This is the NIP05 account identifier that you wish to convert (e.g. [email protected], or [email protected]).

Response

success
boolean
Indicates whether the call was successful. true if successful, false if not.
message
string
Message detailing the results of the operation.
data
object
The contents of the data response object.
curl --location --request GET 'https://nostrapi.com/api/v1/utils/[email protected]' \
--header 'Content-Type: application/json' \
--header 'apikey: <YOUR_KEY_HERE>'
{
  "success": true,
  "message": "Successfully fetched [email protected] NIP05 information.",
  "data": {
    "pubkey": "1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d",
    "relays": [
      "wss://nostr.zbd.gg"
    ]
  }
}