What kind of api are you looking for? Nostr can be accessed programmatically if that’s what you mean, tbh it’s way more fun that way

Reply to this note

Please Login to reply.

Discussion

I post to my socials using make.com so keen to see if I can connect nostr to my daily flow to avoid doing it manually

Just go through the nostr-tools npm package and https://github.com/nostr-protocol/nips/blob/master/01.md

That’s all the tools you need to interact with the protocol

Thanks I’m unfortunately not proficient in coding hence using Make. Are you referring to this….

{

"id": <32-bytes lowercase hex-encoded sha256 of the serialized event data>,

"pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,

"created_at": ,

"kind": ,

"tags": [

[...],

// ...

],

"content": ,

"sig": <64-bytes lowercase hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>

}

Which module in make would be best for this? Thanks

Yes, but I have no clue about make or how it works so I’m not sure if I can help you here… but if it requires a REST API I think there are folks that have built those too..

Found this, but needs to be self hosted

https://github.com/rust-nostr/nostr-rest