We do not have an API that returns the stream info given a localstreamname.
However, you can track using the stream name, but use the liststreams API which will give you the list of active streams, in json format. You can then traverse the list and find the info related to that stream.
To get a better understanding of the API, see https://evostream.com/support/documenta … istStreams
Let me know how it goes.