What do you mean as an API?
Can you give a small example?
The analogy is that you have a working system and add an API, ie add nostr. Rather than using nostr as a starting point. So, say, activitypub could use nostr for realtime updates. Git could use it for single sign on. Twitter could use it for micro payments. And so on.
Ok I see.
Do you think for streaming audio nostr could be useful for infrastructure?
I am not sure if it match with the notes thing, so I am not sure it's relevant for this use case.
I think nostr could help do the handshake, then you figure out where the audio files are. Then stream it client server, or through an audio relay. So if nostr is just an API you can figure out what tool to use, it might be nostr, it might not be. As a developer you have freedom to choose.