Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get addresses by stream

GEThttps://api.moralis-streams.com/streams/evm/:id/address

Get all addresses associated with a specific stream.

PATH PARAMS
idstringrequired
the id of the stream to get the addresses from
QUERY PARAMS
limitnumberrequired
Limit response results max value 100
cursorstring
Cursor for fetching next page
Responses
API KEY
import Moralis from 'moralis';

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

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

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"result": {
"address": ""
},
"cursor": "",
"total": ""
}