Streams API

What is the Streams API?

Jonathan Blackburn avatar
Written by Jonathan Blackburn
Updated over a week ago

The Moralis Streams API enables you to stream blockchain data straight to your backend via webhooks.

The Streams API is fully customizable and cross-chain. Streams supports Ethereum, Polygon, Avalanche, BNB Chain, Fantom, Cronos, Arbitrum, Ronin and associated testnets, with more networks on the way.

With the Moralis Streams API you can:

  • Get real-time blockchain events streamed directly to your backend

  • Listen to wallets, contract events, or both with multiple streams

  • Track a single address, or millions, with just one stream

  • Filter and customize your streams to track specific events

  • Add a custom ABI

  • And much more…

Some examples of events you can monitor and stream include when:

  • An address sends, receives, stakes, swaps, or burns assets

  • An asset is being sent, received, staked, swapped, or burned

  • A battle starts in your web3 game

  • Someone participates in your token sale

  • Any other smart contract event fires on-chain based on your filters

High reliability

  • Moralis guarantees 100% delivery of webhooks

  • If your service is down Moralis will try to resend your webhooks at regular intervals

  • If your service fails to receive the webhooks you can resend them manually

Popular use cases

  • An address sends, receives, stakes, swaps, or burns assets

  • An asset is being sent, received, staked, swapped, or burned

  • A battle starts in your web3 game

  • Someone participates in your token sale

  • Any other smart contract event fires on-chain based on your filters

How Streams are priced?

Supported chains

Chain

Chain Id (HEX)

Internal Transaction Supported

Note

ETH

0x1

✅ YES

GOERLI

0x5

✅ YES

SEPOLIA

0xaa36a7

✅ YES

BSC

0x38

✅ YES

BSC TEST

0x61

✅ YES

POLYGON

0x89

✅ YES

MUMBAI

0x13881

✅ YES

FANTOM TEST

0xfa2

✅ YES

FANTOM

0xfa

✅ YES

AVAX

0xa86a

✅ YES

CRONOS

0x19

✅ YES

🔥 NEW

RONIN

0x7e4

✅ YES

🔥 NEW

ARBITRUM

0xa4b1

✅ YES

🔥 NEW

ARBITRUM TEST

0x66eed

✅ YES

🔥 NEW

OPTIMISM

0xa

🔥 NEW

PULSECHAIN

0x171

🔥 NEW

To get started, check the following tutorials:

Learn more advanced applications of Streams

Did this answer your question?