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 a specific aptos stream.

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

Get a specific aptos stream.

PATH PARAMS
idstringrequired
The id of the stream to get
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', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
{
"id": "",
"allAddresses": "",
"demo": "",
"description": "",
"includeChanges": "",
"includeEvents": "",
"includePayload": "",
"isErrorSince": "",
"network": [
""
],
"status": "",
"statusMessage": "",
"events": [
""
],
"functions": [
""
],
"tag": "",
"webhookUrl": "",
"amountOfAddresses": ""
}