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 aptos stream id

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

Get all addresses associated with a specific aptos stream.

PATH PARAMS
idstringrequired
the id of the aptos stream to get the addresses from
QUERY PARAMS
limitnumberrequired
Limit response results max value 100
cursorstring
Cursor for fetching next page
Responses
API KEY
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import fetch from 'node-fetch';

const options = {
method: 'GET',
headers: {
accept: 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
};

fetch('https://api.moralis-streams.com/streams/aptos/%3Aid/address', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
Empty