I couldn't find an API that just returned Nostr profiles from an npub. I need it for a wordpress plugin to grab lightning addresses from npubs for affiliate payments.

So Claude.ai coded one up for me! Send an npub, get a lightning address back!

If you need it, you can host it yourself:

https://github.com/pardus79/Nostr-Profile-API

Reply to this note

Please Login to reply.

Discussion

Any ideas how this could be integrated on https://40hpw.com ?

Sorry, it's programmed to not work on compliant websites.

We don’t run the website but we support Look into #40HPW🎧 movement.