Streams API - Get stream by address?

Wondering if there is any planned support for an endpoint that allows for getting stream metadata by address?

Is there another way to achieve this efficiently?

For example: I have a user that subscribes to multiple streams and adds their wallet address to the stream subscriptions. I want to be able to pull all streams that the user has subscribed to in my application dashboard. Currently the only ways to accomplish this are to fetch all streams and filter on the frontend by address. Or to fetch each subscription by the stream id (this requires storing stream ids associated with the user address).

You can use streams api programmatically too, there is this swagger interface:
https://api.moralis-streams.com/api-docs/ in case that it helps you.

I don’t think that we have this particular functionality, it looks like you will have to keep track in a database of which addresses to what streams are added if you want to query them fast.

1 Like