curl --location --request POST 'https://nostrapi.com/api/v1/account/info' \
--header 'Content-Type: application/json' \
--header 'apikey: <YOUR_KEY_HERE>' \
--data-raw '{
"relays": ["wss://nostr.zbd.gg", "wss://relay.damus.io"],
"pubkey": "[email protected]"
}'
{
"success": true,
"message": "Successfully fetched 1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d pubkey profile",
"data": {
"content": {
"name": "andre",
"about": "CTO & Co-Founder at ZEBEDEE | Download ZBD app to get started with Nostr + Bitcoin | Overlord at NBD | Partnerships at Vinteum",
"nip05": "[email protected]",
"lud16": "[email protected]",
"banner": "https://nostr.build/i/nostr.build_f2123a91e3c030224cf1cf5c0a70c0ed98e28ce1058350c2e3ca139c46436b6c.jpg",
"picture": "https://cdn.zebedee.io/uploads/f7b9201a-3dfe-44e6-af8d-d4e9d3d7a096_andre.png",
"website": "zbd.gg",
"display_name": "andre"
},
"created_at": 1687103365,
"id": "aef1ddc9b49b6ab5add091053f10b255e45f457870588af539a1d79e0c9bbebe",
"kind": 0,
"pubkey": "1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d",
"sig": "74ffbe63e81d13bf613d2a005a2cca23a68b20d8506b8390d35cc3d559ef0e3af147f2eaf13623ef8311f97d12bb94e9a558d6b7821916a34113846a171fea31",
"tags": []
}
}
This endpoint creates a new Nostr account
curl --location --request POST 'https://nostrapi.com/api/v1/account/info' \
--header 'Content-Type: application/json' \
--header 'apikey: <YOUR_KEY_HERE>' \
--data-raw '{
"relays": ["wss://nostr.zbd.gg", "wss://relay.damus.io"],
"pubkey": "[email protected]"
}'
{
"success": true,
"message": "Successfully fetched 1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d pubkey profile",
"data": {
"content": {
"name": "andre",
"about": "CTO & Co-Founder at ZEBEDEE | Download ZBD app to get started with Nostr + Bitcoin | Overlord at NBD | Partnerships at Vinteum",
"nip05": "[email protected]",
"lud16": "[email protected]",
"banner": "https://nostr.build/i/nostr.build_f2123a91e3c030224cf1cf5c0a70c0ed98e28ce1058350c2e3ca139c46436b6c.jpg",
"picture": "https://cdn.zebedee.io/uploads/f7b9201a-3dfe-44e6-af8d-d4e9d3d7a096_andre.png",
"website": "zbd.gg",
"display_name": "andre"
},
"created_at": 1687103365,
"id": "aef1ddc9b49b6ab5add091053f10b255e45f457870588af539a1d79e0c9bbebe",
"kind": 0,
"pubkey": "1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d",
"sig": "74ffbe63e81d13bf613d2a005a2cca23a68b20d8506b8390d35cc3d559ef0e3af147f2eaf13623ef8311f97d12bb94e9a558d6b7821916a34113846a171fea31",
"tags": []
}
}
true if successful, false if not.Show Toggle
Show Toggle
kind of this Nostr event. Kind 0 is metadata updates.curl --location --request POST 'https://nostrapi.com/api/v1/account/info' \
--header 'Content-Type: application/json' \
--header 'apikey: <YOUR_KEY_HERE>' \
--data-raw '{
"relays": ["wss://nostr.zbd.gg", "wss://relay.damus.io"],
"pubkey": "[email protected]"
}'
{
"success": true,
"message": "Successfully fetched 1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d pubkey profile",
"data": {
"content": {
"name": "andre",
"about": "CTO & Co-Founder at ZEBEDEE | Download ZBD app to get started with Nostr + Bitcoin | Overlord at NBD | Partnerships at Vinteum",
"nip05": "[email protected]",
"lud16": "[email protected]",
"banner": "https://nostr.build/i/nostr.build_f2123a91e3c030224cf1cf5c0a70c0ed98e28ce1058350c2e3ca139c46436b6c.jpg",
"picture": "https://cdn.zebedee.io/uploads/f7b9201a-3dfe-44e6-af8d-d4e9d3d7a096_andre.png",
"website": "zbd.gg",
"display_name": "andre"
},
"created_at": 1687103365,
"id": "aef1ddc9b49b6ab5add091053f10b255e45f457870588af539a1d79e0c9bbebe",
"kind": 0,
"pubkey": "1b11ed41e815234599a52050a6a40c79bdd3bfa3d65e5d4a2c8d626698835d6d",
"sig": "74ffbe63e81d13bf613d2a005a2cca23a68b20d8506b8390d35cc3d559ef0e3af147f2eaf13623ef8311f97d12bb94e9a558d6b7821916a34113846a171fea31",
"tags": []
}
}