There is https://github.com/nostr-protocol/nips/blob/master/90.md defining interaction with data vending machines but that is not exactly what you are looking for, I guess. (and when I think about it for just a moment, it seems to me to be too special on the whole)
There is also a seemingly abondonend proposal for RPC service offerings https://github.com/nostr-protocol/nips/issues/601
And - depending on what you like to build - you should consider https://github.com/nostr-protocol/nips/blob/master/98.md HTTP Auth with Nostr
> make some basic APIs available through Nostr rather than exposing services directly
So you are thinking about publishing notes from one application that another applications reads and executes?