Skip to main content
Version: 2.0

Get project stats by Stream ID

GEThttps://api.moralis-streams.com/stats/:streamId

Get the stats for the streamId specified

PATH PARAMS
streamIdstringrequired
The id of the stream to get the stats
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = Moralis.Streams.getStatsById({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example