Looking for the best real-time data solution? You’ve come to the right place. This guide explains why Moralis’ Streams API is a superior alternative to Alchemy Custom Webhooks. To dive straight into the comparison, see the table below:
The table shows that Moralis’ Streams API is a more intuitive, comprehensive, reliable, and secure solution. For a more in-depth breakdown, continue reading as we explore each aspect in further detail.
Ready to leverage the industry’s #1 real-time data solution? Sign up for free with Moralis and access our top-tier development tools immediately!
Overview
Alchemy Custom Webhooks is a flexible real-time data solution, but it has notable drawbacks. For instance, setting up streams requires writing complex GraphQL expressions, and the service has limited chain support without multi-chain monitoring capabilities. This means you must set up a new stream for each chain you interact with. Fortunately, there’s a better alternative: Moralis’ Streams API.
But what is Moralis’ Streams API? How does it work? And why is it a better alternative to Alchemy Custom Webhooks? Join us below as we compare these services. Let’s dive in!
What is Alchemy Custom Webhooks?
Alchemy Custom Webhooks offers a customizable real-time data solution for Web3 development. This service allows developers to stream on-chain data and receive immediate notifications about recent events, including NFT transfers, sales activity, and address activity.
Unlike Alchemy’s standard Alchemy Webhooks service—which only covers pre-defined events—Alchemy Custom Webhooks provides a more flexible solution. By utilizing a GraphQL interface, Web3 developers can apply rich filters and set up streams for specific on-chain events.
Prominent use cases:
- In-App Notifications: Notify users about critical on-chain events through customized notifications.
- Bot Integrations: Feed real-time data to Twitter, Slack, or Discord bots for instant updates.
- Data Ingestion: Provide up-to-date information about essential blockchain events to dapps.
That covers an overview of Alchemy Custom Webhooks. In the next section, we will explore some noteworthy limitations of this service.
Limitations of Alchemy Custom Webhooks
Alchemy Custom Webhooks provides a flexible solution for real-time data but has notable limitations:
- Limited Chain Support: Supports only 13 networks, including Ethereum, Polygon, and zkSync.
- Single-Chain Monitoring: Requires separate streams for each blockchain network.
- Complex Setup: Setting up streams demands extensive technical knowledge of GraphQL expressions.
To avoid these limitations, consider using the industry’s leading Alchemy Custom Webhooks alternative: Moralis!
Introducing Moralis: The Best Alchemy Custom Webhooks Alternative
Moralis is the industry’s leading Web3 data provider, offering a comprehensive suite of development tools, including top-tier RPC nodes and APIs like the Wallet API, Token API, NFT API, and more. As such, whether you’re building a cryptocurrency wallet, NFT marketplace, or any other platform, we provide all the crypto data you need in one place.
What makes our development tools unique?
- Comprehensive: Moralis offers Web3’s most comprehensive API responses, delivering more data with fewer calls. This enables you to build, ship, and scale dapps faster and more efficiently.
- Cross-Chain: We support full feature parity across 30+ chains, including Ethereum, Base, BNB Smart Chain (BSC), and more. With Moralis, you streamline your developer experience by using a single provider for all chains.
- Secure: Moralis is SOC 2 Type 2 certified, ensuring enterprise-grade data security for your dapps.
Now, let’s explore our real-time data solution: Moralis’ Streams API.
What is the Moralis Streams API?
The Streams API is Moralis’ premier real-time data solution. With our intuitive point-and-click interface, you can effortlessly set up streams to monitor contract and wallet events. This simplifies real-time on-chain activity monitoring, enabling you to easily create engaging and interactive user experiences.
The Streams API provides the industry’s most comprehensive real-time data solution, supporting all major blockchain networks, including Ethereum, Polygon, BSC, Base, and Optimism. Regardless of the chain(s) you’re building on, we’ve got you covered.
Additionally, the Streams API allows you to set up Web3 data pipelines for various events, smart contracts, assets, and wallets. This ensures flexibility for multiple use cases, guaranteeing access to all the real-time on-chain data you need, regardless of the type of Web3 platform you’re building.
Exploring the Benefits of the Streams API
Here’s why the Moralis Streams API is a superior alternative to Alchemy Custom Webhooks:
- Seamless Setup: Our intuitive interface allows you to monitor smart contract and wallet events with just a few clicks.
- Extensive Chain Support: Moralis’ Streams API supports over 25 chains.
- Multi-Chain Monitoring: Monitor multiple chains simultaneously with a single stream.
- Comprehensive Data Payloads: Receive comprehensive data payloads with rich metadata, such as token logos, decimals, symbols, spam indicators, NFT symbols, and more.
- Data Delivery Guarantees: Ensure 100% delivery of all on-chain events with secure backup and replay mechanisms in case your dapp experiences downtime.
Next, we’ll compare Moralis’ Streams API to Alchemy Custom Webhooks to demonstrate why our solution is the superior alternative for real-time data.
Moralis’ Streams API vs. Alchemy Custom Webhooks
Here’s a comparison table highlighting the central differences between Moralis’ Streams API and Alchemy Custom Webhooks:
Detailed breakdown:
- Seamless Setup: Moralis’ Streams API offers an intuitive interface for configuring streams with just a few clicks. Alchemy Custom Webhooks require writing custom GraphQL expressions, which is more time-consuming and resource-intensive.
- Chain Support: Moralis’ Streams API supports 25+ blockchain networks, while Alchemy Custom Webhooks supports only 13.
- Multi-Chain Monitoring: Moralis’ Streams API lets you monitor multiple blockchain networks in a single stream, unlike Alchemy Custom Webhooks, limiting each pipeline to just one network.
- 100% Delivery Guarantees: Moralis’ Streams API includes a recovery mechanism for undelivered events, ensuring 100% reliability. Undelivered events are logged and can be seamlessly replayed.
- SOC 2 Type 2 Certification: Moralis is SOC 2 Type 2 certified, providing enterprise-grade data security for your dapps. Alchemy does not offer this certification.
In summary, Moralis’ Streams API delivers a superior real-time data solution compared to Alchemy Custom Webhooks, excelling in cross-chain monitoring, reliability, and security.
Full Tutorial: How to Set Up a Stream with Moralis
When using the Streams API, you can seamlessly set up customized streams with a few clicks. Here’s how to track USDC transactions in nine easy steps:
- Step 1: Set up a Moralis account, log in, go to the “Streams” tab, and click “+ Create Stream”:
- Step 2: Pick a template. For this tutorial, we’ll choose “Custom Event”:
- Step 3: Name your stream and select the event types to monitor. We’ll choose “Contract Events”:
- Step 4: Select the events to track. We’ll choose “Common Events” followed by “Token Transfers”:
- Step 5: Tag your stream and select any additional data points to include in the payloads:
- Step 6: Add the addresses you want to monitor. We’ll use the USDC contract addresses, but you can add multiple if needed:
- Step 7: Select the chain(s) you want to track. We’ll choose Ethereum:
- Step 8: Test your stream (optional):
- Step 9: Add a webhook destination, click “Continue,” and then click “Save”:
Now, you’ll see USDC transfer events streamed to your webhook destination. Here’s an example of what it might look like:
//... { transactionHash: '0x3858c26ad521b041e0550c90bfd39149131eca657de0a48361b5b7f3f0a6e23f', logIndex: '395', contract: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', triggered_by: [Array], from: '0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad', to: '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640', value: '2361961560', tokenName: 'USD Coin', tokenSymbol: 'USDC', tokenDecimals: '6', logo: 'https://logo.developers.moralis.com/0x1_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48_e6ec22e3ef954a7f9eda04f294938f4d', thumbnail: 'https://logo.developers.moralis.com/0x1_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48_e6ec22e3ef954a7f9eda04f294938f4d', possibleSpam: false, verifiedCollection: true, valueWithDecimals: '2361.96156' }, //...
That’s it! You’ve successfully created a stream using Moralis. You can follow the same steps to customize data pipelines for other on-chain events.
For a more detailed breakdown with real-world examples of how you can use the Streams API, watch the Moralis YouTube video below:
Use Cases for Real-Time Data
The Moralis Streams API supports several critical use cases. Here are three examples:
- Real-Time Notifications: Set up instant alerts for wallets, assets, and on-chain events to keep your dapp users informed with the latest data.
- Track Tokens: Monitor when an asset is sent, received, or swapped, enabling features like token gating in your projects.
- Database Ingestion: Stream data directly into your database as soon as on-chain events occur, ensuring a complete and accurate historical record for any address, asset, or wallet events.
These examples highlight the Streams API’s capabilities. Its flexibility allows you to customize streams for nearly any use case you can imagine.
Moralis’ Streams API Success Stories
There are multiple stories of enterprise customers who have successfully utilized the Streams API for their benefit. Below, you’ll find three prominent examples:
- beoble: A decentralized chat app and social platform enabling wallet-to-wallet communication. beoble offers token-gated chat rooms based on the assets users hold in their cryptocurrency wallets.
With the Streams API, beoble tracks 1,000,000+ addresses in real-time to maintain chat room integrity. Read the quote from one of their co-founders here:
Beyond the Streams API – Exploring Moralis Further
Moralis’ Streams API is only one of many great tools we offer. As such, in this section, we’ll dive a bit deeper into our product offerings to highlight why you should choose Moralis as your Web3 data provider.
Web3 APIs
Moralis’ Web3 API suite includes several specialized interfaces. Here are five key examples:
- Wallet API: Ideal for wallet builders. Access wallet history, token balances, net worth, profitability, and more with just a few lines of code.
- Token API: Handles all your ERC-20 data needs. Easily fetch token balances, metadata, prices, and more.
- NFT API: Perfect for building Web3 games, NFT marketplaces, and similar platforms. Seamlessly query NFT balances, metadata, prices, etc.
- Price API: The premier interface for ERC-20 and NFT prices. Access real-time and historical prices for all tokens, including all-time high prices, NFT floor prices, and more.
- Market Data API: Access up-to-date market data with ease. Fetch trending NFT collections, top ERC-20s, ERC-20 winners/losers, top NFTs by sales, and more.
To learn more about these and our other interfaces, visit the Web3 API page.
RPC Nodes
Moralis is a premier node provider, enabling you to run blockchain nodes for over 35 chains with just a few clicks. Effortlessly access nodes for Ethereum, Polygon, BSC, and more.
Why choose Moralis’ nodes?
- Speed: Enjoy rapid response times of 70 ms, ensuring you get the data you need instantly.
- Reliability: Benefit from 99.9% uptime, meeting the highest reliability standards.
- Extended RPC Methods: Query decoded data using our advanced RPC-style requests.
For more details, visit our RPC nodes page!
Summary: Alchemy Custom Webhooks Alternative – Exploring the Industry’s Leading Real-Time Data Solution
Alchemy Custom Webhooks is a solid real-time data solution but has notable drawbacks, such as limited chain support and the ability to monitor only one network per stream. Fortunately, Moralis’ Streams API offers a superior alternative!
With the Streams API, you can easily set up Web3 data pipelines with just a click. Here’s why the Streams API outperforms Alchemy Custom Webhooks:
Overall, the Streams API offers a more intuitive, reliable, and secure real-time data solution compared to Alchemy Custom Webhooks.
In addition to looking at our real-time data solution, we also introduced our premier Web3 API suite and top-tier RPC nodes:
- Web3 APIs: Moralis’ Web3 API suite comprises multiple use case-specific interfaces, including the Token API, Wallet API, NFT API, and many more. As such, no matter what Web3 project you are building, we have the tools you need.
- RPC Nodes: With our intuitive point-and-click interface, you can now seamlessly set up RPC nodes for all major chains, including Ethereum, Polygon, BSC, and many more. So, with Moralis, you can access the RPC nodes you need without breaking a sweat.
Did you like this Alchemy Custom Webhooks guide? Explore more content on our blog:
Ready to start using the Streams API? Please register for a free Moralis account today and get seamless access to all our premier development tools!