Skip to main content
Streams API

What is the Streams API?

Jonathan Blackburn avatar
Written by Jonathan Blackburn
Updated over 4 months 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, and more networks.

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

Name

Type

Chain ID

EvmChain

Internal Transactions

BlockTime

Ethereum Mainnet logo

Ethereum

Mainnet

0x1 (1)

EvmChain.ETHEREUM

12

Ethereum Sepolia logo

Ethereum Sepolia

Testnet

0xaa36a7 (11155111)

EvmChain.SEPOLIA

18

Ethereum Holesky logo

Ethereum Holesky

Testnet

0x4268 (17000)

EvmChain.HOLESKY

18

Polygon Mainnet logo

Polygon

Mainnet

0x89 (137)

EvmChain.POLYGON

100

Polygon Amoy logo

Polygon Amoy

Testnet

0x13882 (80002)

EvmChain.POLYGON_AMOY

100

Binance Smart Chain Mainnet logo

Binance Smart Chain

Mainnet

0x38 (56)

EvmChain.BSC

18

Binance Smart Chain Testnet logo

Binance Smart Chain Testnet

Testnet

0x61 (97)

EvmChain.BSC_TESTNET

18

Arbitrum logo

Arbitrum

Mainnet

0xa4b1 (42161)

EvmChain.ARBITRUM

100

Arbitrum Sepolia logo

Arbitrum Sepolia

Testnet

0x66eee (421614)

EvmChain.ARBITRUM_SEPOLIA

100

Base logo

Base

Mainnet

0x2105 (8453)

EvmChain.BASE

100

Base Sepolia logo

Base Sepolia

Testnet

0x14a34 (84532)

EvmChain.BASE_SEPOLIA

100

Optimism logo

Optimism

Mainnet

0xa (10)

EvmChain.OPTIMISM

100

Optimism Sepolia logo

Optimism Sepolia

Testnet

0xaa37dc (11155420)

EvmChain.OPTIMISM_SEPOLIA

600

New

Linea logo

Linea

Mainnet

0xe708 (59144)

EvmChain.LINEA

100

New

Linea Sepolia logo

Linea Sepolia

Testnet

0xe705 (59141)

EvmChain.LINEA_SEPOLIA

100

Avalanche logo

Avalanche

Mainnet

0xa86a (43114)

EvmChain.AVALANCHE

100

Fantom Mainnet logo

Fantom

Mainnet

0xfa (250)

EvmChain.FANTOM

100

Fantom Testnet logo

Fantom Testnet

Testnet

0xfa2 (4002)

EvmChain.FANTOM_TESTNET

100

Cronos Mainnet logo

Cronos Mainnet

Mainnet

0x19 (25)

EvmChain.CRONOS

100

Palm logo

Palm

Mainnet

0x2a15c308d (11297108109)

EvmChain.PALM

Ronin logo

Ronin

Mainnet

0x7e4 (2020)

EvmChain.RONIN

Gnosis logo

Gnosis

Mainnet

0x64 (100)

EvmChain.GNOSIS

100

Gnosis Chiado logo

Gnosis Chiado

Testnet

0x27d8 (10200)

EvmChain.GNOSIS_TESTNET

100

Chiliz Mainnet logo

Chiliz

Mainnet

0x15b38 (88888)

EvmChain.CHILIZ

Chiliz Testnet logo

Chiliz Testnet

Testnet

0x15b32 (88882)

EvmChain.CHILIZ_TESTNET

Pulsechain logo

Pulsechain

Mainnet

0x171 (369)

EvmChain.PULSECHAIN

New

Moonbeam logo

Moonbeam

Mainnet

0x504 (1284)

EvmChain.MOONBEAM

New

Moonriver logo

Moonriver

Testnet

0x505 (1285)

EvmChain.MOONRIVER

New

Moonbase logo

Moonbase

Testnet

0x507 (1287)

EvmChain.MOONBASE

To get started, check the following tutorials:

Learn more advanced applications of Streams

Did this answer your question?