# Moralis ## Get Started ### Introduction - [Overview](https://docs.moralis.com/index.md): One platform for real-time blockchain data - APIs, streams, datasets and enterprise indexing powering wallets, compliance, AI, and next-gen finance. ### Getting Started - [Get Your API Key](https://docs.moralis.com/get-started/get-your-api-key.md): Learn how to get your Moralis API Key - [Quickstart Guides](https://docs.moralis.com/get-started/quickstart-guides.md): Get up and running with Moralis APIs and services. ### Pricing & Resources - [Pricing](https://docs.moralis.com/get-started/pricing.md): Moralis plans, compute units and rate limits. There is no self-serve free plan; request a free trial from the team on this page. - [Supported Chains](https://docs.moralis.com/get-started/supported-chains.md): Overview of all blockchain networks supported by Moralis across Data APIs, Streams and RPC. ### Tutorials & Guides - [Tutorials and Guides](https://docs.moralis.com/get-started/tutorials/overview.md): Step-by-step tutorials for common blockchain data use cases and migration guides from other providers. #### Data API Tutorials - [Data API Tutorials](https://docs.moralis.com/data-api-tutorials.md): Step-by-step tutorials for building with the Moralis Data API — wallets, tokens, NFTs, prices, and blockchain data. ##### Wallets & Accounts - [How to Get Internal Transactions for a Wallet Address](https://docs.moralis.com/get-started/tutorials/data-api/wallets-and-accounts/get-internal-transactions-for-a-wallet-address.md): Learn how to fetch internal transactions (contract calls and ETH transfers between contracts) for any wallet using the Moralis API. - [How to Get Native Token Balances for EOAs and Smart Accounts](https://docs.moralis.com/get-started/tutorials/data-api/wallets-and-accounts/get-native-token-balances-for-eoas-and-smart-accounts.md): Learn how to fetch native token balances (ETH, MATIC, BNB) for any wallet address using the Moralis API. - [How to Get Multi-Chain Activity for a Wallet Address](https://docs.moralis.com/get-started/tutorials/data-api/wallets-and-accounts/get-multi-chain-activity-for-a-wallet-address.md): Learn how to detect which chains a wallet has been active on using the Moralis API. - [How to Get Full Wallet Transaction History (EOA & Smart Accounts)](https://docs.moralis.com/get-started/tutorials/data-api/wallets-and-accounts/get-full-wallet-transaction-history-eoa-and-smart-accounts.md): Learn how to fetch the complete transaction history for any wallet address using the Moralis API. - [How to Build a Token Approval & Revoke Dashboard (Revoke.cash-Style)](https://docs.moralis.com/get-started/tutorials/data-api/wallets-and-accounts/build-a-token-approval-and-revoke-dashboard-revoke-cash-style.md): Learn how to build a dashboard to view and revoke token approvals using the Moralis API. - [How to Get ERC20 Token Balances for a Wallet](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-erc-20-token-balances-for-a-wallet.md): Learn how to fetch all ERC20 token balances for any wallet address using the Moralis API. ##### Tokens & Markets - [How to Get Top ERC20 Tokens by Market Cap](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-top-erc-20-tokens-by-market-cap.md): Learn how to rank ERC20 tokens by market cap, volume, and liquidity using the Moralis Token Search API. - [How to Build a DexScreener Clone](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/build-a-dex-screener-clone.md): Learn how to build a DEX token screener dashboard using the Moralis API. - [How to Get ERC20 Transfer History by Wallet or Token](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-erc-20-transfer-history-by-wallet-or-token.md): Learn how to fetch ERC20 token transfer history for any wallet or token contract using the Moralis API. - [How to Get ERC20 Token Metadata by Address or Symbol](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-erc-20-token-metadata-by-address-or-symbol.md): Learn how to fetch detailed token metadata including name, symbol, decimals, and logo using the Moralis API. - [How to Get Token Pairs and Liquidity Data](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-token-pairs-and-liquidity-data.md): Learn how to fetch trading pairs and liquidity information for any ERC20 token using the Moralis API. - [How to Get DEX Pair Addresses (Uniswap, PancakeSwap, SushiSwap)](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-dex-pair-addresses-uniswap-pancake-swap-sushi-swap.md): Learn how to find liquidity pair addresses for any token pair on popular DEXs using the Moralis API. - [How to Get Pump.fun Tokens, Swaps and Prices](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-pump-fun-tokens-swaps-and-prices.md): Learn how to fetch swap data and price information for Pump.fun tokens on Solana using the Moralis API. - [How to Get Pump.fun New, Bonding & Graduated Tokens](https://docs.moralis.com/get-started/tutorials/data-api/tokens-and-markets/get-pump-fun-new-bonding-and-graduated-tokens.md): Learn how to fetch new, bonding, and graduated tokens from Pump.fun on Solana using the Moralis API. ##### NFTs - [How to Get All NFTs Owned by a Wallet Address](https://docs.moralis.com/get-started/tutorials/data-api/nfts/get-all-nfts-owned-by-a-wallet-address.md): Learn how to fetch all NFTs (ERC721 and ERC1155) owned by any wallet address using the Moralis API. - [How to Get NFT Collections Owned by a Wallet](https://docs.moralis.com/get-started/tutorials/data-api/nfts/get-nft-collections-owned-by-a-wallet.md): Learn how to fetch a summary of NFT collections owned by any wallet address using the Moralis API. - [How to Get NFT Metadata by Contract and Token ID](https://docs.moralis.com/get-started/tutorials/data-api/nfts/get-nft-metadata-by-contract-and-token-id.md): Learn how to fetch detailed metadata for a specific NFT using its contract address and token ID with the Moralis API. - [How to Get NFT Owners and Ownership Details](https://docs.moralis.com/get-started/tutorials/data-api/nfts/get-nft-owners-and-ownership-details.md): Learn how to fetch ownership data for NFT collections and individual tokens using the Moralis API. - [How to Get NFT Floor Prices](https://docs.moralis.com/get-started/tutorials/data-api/nfts/get-nft-floor-prices.md): Learn how to fetch NFT collection floor prices using the Moralis API. ##### Prices & Charts - [How to Get the Price of an ERC20 Token](https://docs.moralis.com/get-started/tutorials/data-api/prices-and-charts/get-the-price-of-an-erc-20-token.md): Learn how to fetch the current price of any ERC20 token using the Moralis API. - [How to Get Historical ERC20 Token Prices (OHLC Data)](https://docs.moralis.com/get-started/tutorials/data-api/prices-and-charts/get-historical-erc-20-token-prices-ohlc-data.md): Learn how to fetch historical OHLC (candlestick) price data for any ERC20 token using the Moralis API. - [How to Build Crypto Price Charts Using OHLC Data](https://docs.moralis.com/get-started/tutorials/data-api/prices-and-charts/build-crypto-price-charts-using-ohlc-data.md): Learn how to create interactive candlestick price charts using OHLC data from the Moralis API. ##### Blocks & Transactions - [How to Get a Blockchain Transaction by Hash](https://docs.moralis.com/get-started/tutorials/data-api/blocks-and-transactions/get-a-blockchain-transaction-by-hash.md): Learn how to fetch detailed transaction data using a transaction hash with the Moralis API. - [How to Find the Closest Block by Unix Timestamp](https://docs.moralis.com/get-started/tutorials/data-api/blocks-and-transactions/find-the-closest-block-by-unix-timestamp.md): Learn how to find the block number closest to any given date or timestamp using the Moralis API. ##### Bitcoin - [Bitcoin API Quickstart](https://docs.moralis.com/get-started/tutorials/data-api/bitcoin/bitcoin-quickstart.md): Make your first Bitcoin API request — fetch balances and history using either a Bitcoin address or an xpub via the Moralis Universal API. #### Streams Tutorials - [Streams Tutorials](https://docs.moralis.com/streams-tutorials.md): Step-by-step tutorials for building real-time blockchain monitoring with Moralis Streams — wallets, tokens, NFTs, and smart contract events. ##### Wallet Monitoring - [How to Monitor Wallet Activity in Real Time](https://docs.moralis.com/get-started/tutorials/streams/wallet-monitoring/monitor-wallet-activity-in-real-time.md): Learn how to monitor wallet transactions in real time using the Moralis Streams API, including setting up webhook listeners for on-chain activity. - [Listen to all Addresses](https://docs.moralis.com/get-started/tutorials/streams/wallet-monitoring/listen-to-all-addresses.md): Learn how to listen to all addresses, NFT contract transfers, events from new contracts specific to a contract factory, and NFT contract transfers where the sender is a specific address. - [Monitor Multiple Addresses](https://docs.moralis.com/get-started/tutorials/streams/wallet-monitoring/monitor-multiple-addresses.md): Learn best practices for handling multiple addresses in your streams. - [Get Native Balances](https://docs.moralis.com/get-started/tutorials/streams/wallet-monitoring/get-native-balances.md): Learn how to get native balances of addresses that appear in your Stream webhooks. - [Monitor High-Value ENS Domain Registrations](https://docs.moralis.com/get-started/tutorials/streams/wallet-monitoring/monitor-high-value-ens-domain-registrations.md): Learn how to monitor ENS domain registrations that cost higher than 1 ETH using the Moralis Streams API. ##### Token Monitoring - [Track Specific ERC20 Token Transfers From a List of Wallets](https://docs.moralis.com/get-started/tutorials/streams/token-monitoring/track-specific-erc-20-token-transfers-from-a-list-of-wallets.md): Learn how to Track Specific ERC20 Token Transfers From a List of Wallets using Moralis Streams API. - [How to Monitor High-Value ERC20 Transfers in Real Time](https://docs.moralis.com/get-started/tutorials/streams/token-monitoring/monitor-high-value-erc-20-transfers-in-real-time.md): Learn how to listen to all ERC20 token transfers over certain amount sent by specific address using Moralis Streams API. - [How to Track ERC20 Token Mints and Burns in Real Time](https://docs.moralis.com/get-started/tutorials/streams/token-monitoring/track-erc-20-token-mints-and-burns-in-real-time.md): Learn how to monitor ERC20 token burns or mints using Moralis Streams API. - [How to Track New Tokens and Trading Pairs in Real Time](https://docs.moralis.com/get-started/tutorials/streams/token-monitoring/track-new-tokens-and-trading-pairs-in-real-time.md): Learn how to monitor for new tokens by tracking DEX pair creation events using Moralis Streams API. ##### NFT Monitoring - [How to Track NFT Transfers in Real Time](https://docs.moralis.com/get-started/tutorials/streams/nft-monitoring/track-nft-transfers-in-real-time.md) - [Monitoring NFT Transfers from Specific Wallet Addresses](https://docs.moralis.com/get-started/tutorials/streams/nft-monitoring/monitoring-nft-transfers-from-specific-wallet-addresses.md) - [How to Track Specific NFTs or NFT Collections in Real Time](https://docs.moralis.com/get-started/tutorials/streams/nft-monitoring/track-specific-nfts-or-nft-collections-in-real-time.md) ##### Smart Contracts & Events - [How to Track Smart Contract Events in Real Time](https://docs.moralis.com/get-started/tutorials/streams/smart-contracts-and-events/track-smart-contract-events-in-real-time.md) #### Migration Guides - [Migrating from Alchemy to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-alchemy-to-moralis.md): Move from Alchemy to Moralis without rewriting your data layer. This guide maps the Alchemy NFT API, Token API, Prices API, Portfolio API, Transfers API, and Webhooks (Notify) to their Moralis equivalents, endpoint by endpoint, across EVM and Solana. - [Migrating from Infura to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-infura-to-moralis.md): Move from Infura (MetaMask Developer) to Moralis and get an enriched Web3 Data API and real-time Streams on top of RPC. This guide maps Infura RPC, the Gas API, IPFS, and the NFT API to their Moralis equivalents across EVM and Solana. - [Migrating from OKLink to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-ok-link-to-moralis.md): OKLink is suspending their Explorer API on May 20th, 2025. Any project using OKLink Explorer API needs a new provider before then. Migrate to Moralis APIs in 4 simple steps! - [Migrating from QuickNode to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-quicknode-to-moralis.md): Move from QuickNode to Moralis without rewriting your data layer. This guide maps the QuickNode Token & NFT API (v2), Streams, and QuickAlerts to their Moralis equivalents, endpoint by endpoint, across EVM, Solana, and Bitcoin. - [Migrating from Reservoir to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-reservoir-to-moralis.md): Reservoir is sunsetting its API on October 15th, 2025. Any project using Reservoir API needs a new provider before then. Migrate to Moralis APIs in 4 simple steps! - [Migrating from Sim APIs (Sim by Dune) to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-sim-by-dune-to-moralis.md): Sim APIs (Sim by Dune) are being sunset on August 1, 2026, and new signups closed on May 18, 2026. This guide maps every Sim APIs endpoint to its Moralis equivalent so you can keep shipping without rewriting your data layer. - [Migrating from SimpleHash to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-simple-hash-to-moralis.md): SimpleHash is shutting down on March 27, 2025. Any project using SimpleHash API needs a new provider before then. Migrate to Moralis APIs in 4 simple steps! - [Migrating from The Graph to Moralis](https://docs.moralis.com/get-started/tutorials/migration-guides/migrating-from-the-graph-to-moralis.md): Move from The Graph to Moralis without building or maintaining subgraphs. This guide maps The Graph Token API (balances, transfers, holders, prices, NFTs), custom subgraph GraphQL queries, and Substreams to their Moralis equivalents, endpoint by endpoint, across EVM and Solana. #### Charts & Widgets - [Embed a TradingView Candlestick Chart for Pump.fun Tokens](https://docs.moralis.com/get-started/tutorials/charts-and-widgets/embed-pump-fun-trading-view-chart.md): Learn how to embed a real-time TradingView candlestick chart for Pump.fun tokens using the Moralis Price Chart Widget. - [OHLC Chart Configurator](https://docs.moralis.com/get-started/tutorials/charts-and-widgets/ohlc-chart-configurator.md): Learn how to build interactive cryptocurrency candlestick charts using Chart.js or TradingView Lightweight Charts with the Moralis OHLCV API. #### Auth API Tutorials - [How to Authenticate Users with Phantom Wallet](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-phantom-wallet.md) - [How to Authenticate Users with Web3Auth](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-web3-auth.md) - [How to Authenticate Users with WalletConnect](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-wallet-connect.md) - [How to Authenticate Users with RainbowKit](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-rainbow-kit.md) - [How to Authenticate Users with Particle Network](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-particle-network.md) - [How to Authenticate Users with MetaMask](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-meta-mask.md) - [How to Authenticate Users with MetaMask using Python and Django](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-meta-mask-using-python-and-django.md): This tutorial will teach you how Moralis authentication works and demonstrates how to add secure authentication to your Django application by walking you through creating a full-stack Web3 authentication stack using the popular Django web framework. - [How to Authenticate Users with MetaMask using Angular](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-meta-mask-using-angular.md): Learn how Moralis authentication works and see how to add secure authentication to your Angular dapp. This tutorial covers how to create full-stack Web3 authentication using the popular Angular framework. - [How to Authenticate Users with Magic.Link](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-magic-link.md): This tutorial will teach you how to add secure Web3 Moralis authentication to your NextJS application by walking you through the task of creating a full-stack Web3 authentication solution using the popular NextJS framework. - [How to Authenticate Users with Coinbase Wallet](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-coinbase-wallet.md): This tutorial will teach you how to add secure Web3 Moralis authentication to your NextJS application by walking you through creating a full-stack Web3 authentication solution using the popular NextJS framework. - [How to Authenticate Users with MetaMask using React](https://docs.moralis.com/get-started/tutorials/auth-api/authenticate-users-with-meta-mask-using-react.md): Learn how Moralis authentication works and see how to add secure authentication to your React dapp. This tutorial covers how to create full-stack Web3 authentication using the popular React framework. - [Data API (204 pages)](https://docs.moralis.com/_llms/data-api.txt): Introduction, Data Features, EVM API, Solana API, Bitcoin API, Universal API, Onchain Skills. ## Streams ### Introduction - [Streams](https://docs.moralis.com/streams/overview.md): Real-time blockchain webhooks across EVM, Bitcoin, and Solana — with guaranteed delivery and flexible filtering. - [Pricing](https://docs.moralis.com/streams/pricing.md): Understand how Streams API usage is calculated using records and compute units across EVM, Bitcoin, and Solana — and learn how to optimize your costs. - [Streams Supported Chains](https://docs.moralis.com/streams/supported-chains.md): Blockchains supported by Moralis Streams for real-time onchain event and activity monitoring. #### Quickstart - [Create Your First Stream](https://docs.moralis.com/streams/quickstart/create-your-first-stream.md): Create a new stream on EVM, Bitcoin, or Solana using the Moralis Admin Panel or the API to start monitoring blockchain addresses and receiving webhook data. - [Receive Your First Webhook](https://docs.moralis.com/streams/quickstart/receive-your-first-webhook.md): Understand the webhook lifecycle, payload structure, and how to handle confirmed and unconfirmed webhooks from Moralis Streams. ### Streams Concepts - [Stream Lifecycle](https://docs.moralis.com/streams/streams-concepts/stream-lifecycle-and-management.md): Learn how to manage Streams throughout their lifecycle, including monitoring status, updating configuration, changing regions, and pausing or resuming streams. - [Parsed Data](https://docs.moralis.com/streams/streams-concepts/parsed-data.md): Learn how to extract typed, decoded data from Streams webhooks across EVM (ERC-20 / NFT transfers, contract events), Bitcoin (UTXO outputs), and Solana (SPL balance snapshots, instructions). - [Filters](https://docs.moralis.com/streams/streams-concepts/filters.md): Control which on-chain events trigger Streams webhooks. Filtering primitives differ by chain — addresses + ABI events on EVM, addresses + xpubs on Bitcoin, addresses + program IDs + mint addresses on Solana. - [Triggers](https://docs.moralis.com/streams/streams-concepts/triggers.md): Run read-only smart contract calls as part of Streams processing and enrich webhook events with on-chain data in real time. - [Re-org Handling](https://docs.moralis.com/streams/streams-concepts/re-org-handling.md): Learn how Moralis Streams detects and handles blockchain reorganizations to ensure reliable and consistent event delivery. - [Rate Limits](https://docs.moralis.com/streams/streams-concepts/rate-limits.md): Understand Streams plan limits on streams and addresses, rate limits on address management, and how stream reloads impact webhook delivery. - [Error Handling](https://docs.moralis.com/streams/streams-concepts/error-handling.md): Understand how Streams handles webhook failures, retries, error states, termination, and how to recover from delivery issues safely. - [Advanced Options](https://docs.moralis.com/streams/streams-concepts/advanced-options.md): Configure advanced Streams options to control which transactions, logs, and events are included in webhook payloads. - [Ordering & Idempotency](https://docs.moralis.com/streams/security-and-reliability/ordering-and-idempotency.md): Learn how Moralis delivers events without strict ordering guarantees, and how to design idempotent consumers that handle retries, duplicates, and replays safely. ### Webhooks - [Webhook Delivery](https://docs.moralis.com/streams/webhooks/webhook-delivery.md): Understand how Moralis reliably delivers blockchain events to your backend, including confirmation behavior, retries, ordering guarantees, and failure handling. - [Webhook Payload](https://docs.moralis.com/streams/webhooks/webhook-payloads.md): Understand the structure of Streams webhook payloads across EVM, Bitcoin, and Solana — including transactions, transfers, logs, confirmations, retries, and signature verification. - [Confirmation & Finality](https://docs.moralis.com/streams/webhooks/confirmation-and-finality.md): Understand how blockchain confirmations work, how Moralis defines finality, and how confirmed and unconfirmed webhooks should be handled. - [Test Webhooks](https://docs.moralis.com/streams/webhooks/test-webhooks.md): Learn how Moralis uses test webhooks to validate your endpoint when creating or updating a stream, and how to handle them correctly. - [Retries & Replays](https://docs.moralis.com/streams/webhooks/retries-and-replays.md): Recover missed Streams events by replaying blocks and streams, and understand how Moralis handles retries, failures, and recovery scenarios. ### Security & Reliability - [Webhook Security](https://docs.moralis.com/streams/security-and-reliability/webhook-security.md): Learn how Moralis secures webhook delivery using request signatures, and how to verify webhook authenticity in your backend. - [Spam Detection](https://docs.moralis.com/streams/security-and-reliability/spam-detection.md): Learn how Moralis Streams identifies and flags potential spam contracts in webhook payloads, helping you filter or handle suspicious on-chain activity safely. - [Delivery Guarantees](https://docs.moralis.com/streams/security-and-reliability/delivery-guarantees.md): Learn how Moralis reliably delivers blockchain data, including retry behavior, durability, and how events are protected from data loss. ### EVM Streams API - [EVM Streams](https://docs.moralis.com/streams/evm-streams.md): Stream real-time EVM transaction data, contract events, and token activity directly to your application with webhooks, no node infrastructure, no polling, no missed blocks. #### Streams - [Create Stream](https://docs.moralis.com/streams/api-reference/streams/create-streams.md): Creates a new evm stream. - [Update Stream](https://docs.moralis.com/streams/api-reference/streams/update-stream.md): Updates a specific evm stream. - [Delete Stream](https://docs.moralis.com/streams/api-reference/streams/delete-stream.md): Delete a specific evm stream. - [Get Stream by ID](https://docs.moralis.com/streams/api-reference/streams/get-stream-by-id.md): Get a specific evm stream. - [Get All Streams](https://docs.moralis.com/streams/api-reference/streams/get-streams.md): Get all the evm streams for the current project based on the project api-key . - [Duplicate Stream](https://docs.moralis.com/streams/api-reference/streams/duplicate-stream.md): Duplicate a specific evm stream. - [Update Stream Status](https://docs.moralis.com/streams/api-reference/streams/update-stream-status.md): Updates the status of specific evm stream. - [Get Webhook Data by Block Number](https://docs.moralis.com/streams/api-reference/streams/get-webhook-data-by-block-number.md): Get webhook data returned on the block number with provided stream config. - [Send Webhook Data by Block Number](https://docs.moralis.com/streams/api-reference/streams/send-webhook-data-by-block-number.md): Execute. #### Addresses - [Get Addresses by Stream](https://docs.moralis.com/streams/api-reference/streams/get-addresses-by-stream.md): Get all addresses associated with a specific stream. - [Add Address to Stream](https://docs.moralis.com/streams/api-reference/streams/add-address-to-stream.md): Adds an address to a Stream. - [Replace Address on Stream](https://docs.moralis.com/streams/api-reference/streams/replace-address-on-stream.md): Replaces address from a Stream. - [Delete Address from Stream](https://docs.moralis.com/streams/api-reference/streams/delete-address-from-stream.md): Deletes an address from a Stream. ### Bitcoin Streams API - [Bitcoin Streams](https://docs.moralis.com/streams/bitcoin-streams.md): Stream real-time Bitcoin transaction data directly to your application with webhooks, no node infrastructure, no polling, no missed blocks. #### Streams - [Create Stream](https://docs.moralis.com/streams/api-reference/bitcoin/streams/create-streams.md) - [Update Stream](https://docs.moralis.com/streams/api-reference/bitcoin/streams/update-stream.md) - [Delete Stream](https://docs.moralis.com/streams/api-reference/bitcoin/streams/delete-stream.md) - [Get Stream by ID](https://docs.moralis.com/streams/api-reference/bitcoin/streams/get-stream-by-id.md) - [Get Streams](https://docs.moralis.com/streams/api-reference/bitcoin/streams/get-streams.md) - [Update Stream Status](https://docs.moralis.com/streams/api-reference/bitcoin/streams/update-stream-status.md) - [Get Webhook Data by Block Number](https://docs.moralis.com/streams/api-reference/bitcoin/streams/get-webhook-data-by-block-number.md) - [Send Webhook Data by Block Number](https://docs.moralis.com/streams/api-reference/bitcoin/streams/send-webhook-data-by-block-number.md) #### Addresses - [Get Addresses by Stream](https://docs.moralis.com/streams/api-reference/bitcoin/address/get-addresses-by-stream.md) - [Add Address to Stream](https://docs.moralis.com/streams/api-reference/bitcoin/address/add-address-to-stream.md) - [Delete Address from Stream](https://docs.moralis.com/streams/api-reference/bitcoin/address/delete-address-from-stream.md) #### Xpub - [Add Xpub to Stream](https://docs.moralis.com/streams/api-reference/bitcoin/xpub/add-xpub.md) - [Get Xpubs by Stream](https://docs.moralis.com/streams/api-reference/bitcoin/xpub/get-xpubs.md) - [Delete Xpub from Stream](https://docs.moralis.com/streams/api-reference/bitcoin/xpub/delete-xpub.md) ### Solana Streams API - [Solana Streams](https://docs.moralis.com/streams/solana-streams.md): Stream real-time Solana transaction data directly to your application with webhooks, no node infrastructure, no polling, no missed slots. #### Streams - [Create Stream](https://docs.moralis.com/streams/api-reference/solana/streams/create-streams.md) - [Update Stream](https://docs.moralis.com/streams/api-reference/solana/streams/update-stream.md) - [Delete Stream](https://docs.moralis.com/streams/api-reference/solana/streams/delete-stream.md) - [Get Stream by ID](https://docs.moralis.com/streams/api-reference/solana/streams/get-stream-by-id.md) - [Get Streams](https://docs.moralis.com/streams/api-reference/solana/streams/get-streams.md) - [Update Stream Status](https://docs.moralis.com/streams/api-reference/solana/streams/update-stream-status.md) - [Get Webhook Data by Block Number](https://docs.moralis.com/streams/api-reference/solana/streams/get-webhook-data-by-block-number.md) - [Send Webhook Data by Block Number](https://docs.moralis.com/streams/api-reference/solana/streams/send-webhook-data-by-block-number.md) #### Addresses - [Get Addresses by Stream](https://docs.moralis.com/streams/api-reference/solana/address/get-addresses-by-stream.md) - [Add Address to Stream](https://docs.moralis.com/streams/api-reference/solana/address/add-address-to-stream.md) - [Delete Address from Stream](https://docs.moralis.com/streams/api-reference/solana/address/delete-address-from-stream.md) ### Utilities API #### History - [Get History](https://docs.moralis.com/streams/api-reference/history/get-history.md): Get all history - [Replay History](https://docs.moralis.com/streams/api-reference/history/replay-history.md): Replay a specific history. - [Get Logs](https://docs.moralis.com/streams/api-reference/history/get-logs.md): Get All logs. #### Project - [Get Project Settings](https://docs.moralis.com/streams/api-reference/project/get-project-settings.md): Get the settings for the current project based on the project api-key. - [Set Project Settings](https://docs.moralis.com/streams/api-reference/project/set-project-settings.md): Set the settings for the current project based on the project api-key. #### Stats - [Get Stats](https://docs.moralis.com/streams/api-reference/stats/get-stats.md): Get the global stats for the account. - [Get Stats by Stream](https://docs.moralis.com/streams/api-reference/stats/get-stats-by-stream.md): Get the stats for the streamId specified ## Data Feeds ### Getting Started - [Data Feeds](https://docs.moralis.com/data-feeds/overview.md): Moralis Data Feeds is a blockchain indexing engine for building custom, enterprise-grade data pipelines. It combines real-time and historical indexing with rich schema controls and delivers data straight into your own database, with high performance and reliability. - [What Are Data Feeds?](https://docs.moralis.com/data-feeds/concepts/what-are-data-feeds.md): Moralis Data Feeds deliver the decoded onchain dataset as a real-time stream available inside your own stack, consumed through whatever already fits it. - [Data Feeds Features](https://docs.moralis.com/data-feeds/features.md): Core capabilities of Moralis Data Feeds: custom indexing pipelines, real-time and historical data, multi-chain support, and enterprise-grade reliability. - [How Data Feeds Works](https://docs.moralis.com/data-feeds/how-it-works.md): Understand the Data Feeds workflow: start from a template or a custom schema, configure your pipeline, and have indexed blockchain data delivered into your own database. - [Quickstart: Run Your First Sink](https://docs.moralis.com/data-feeds/migration/quickstart.md): Get live, decoded onchain data flowing into your own database in about ten minutes. Generate a sink starter pack, run it with Docker, and query your first rows. ### Access Methods - [Access Methods: Databases, Streams, and Direct Reads](https://docs.moralis.com/data-feeds/access-methods/overview.md): One data lake, many ways out. Compare the three ways to consume Data Feeds (database sinks, streaming clients, and direct reads) and pick the right path for your workload. - [Database Sinks: ClickHouse, Postgres, and MySQL](https://docs.moralis.com/data-feeds/concepts/destinations.md): The sink writes template data into your own database. Each template ships for ClickHouse, Postgres, and MySQL. Here's how to choose, and what changes between them. - [Streaming Data Feeds: Kafka, RabbitMQ, and SQS](https://docs.moralis.com/data-feeds/access-methods/streaming.md): Consume Data Feeds through supported streaming interfaces using Kafka-compatible, RabbitMQ/AMQP, or SQS-compatible clients. Bring your existing consumers instead of building new ingestion. - [Direct Reads: REST/HTTP and Arrow Flight](https://docs.moralis.com/data-feeds/access-methods/direct-reads.md): Read Data Feeds directly over REST/HTTP for simple pulls, or over Arrow Flight (gRPC) for high-throughput columnar transfers into analytical tooling. ### Data APIs & Migration Guides - [Data Feed Templates](https://docs.moralis.com/data-feeds/templates/overview.md): Pre-built blueprints that reconstruct Moralis's most popular endpoints (wallet history, balances, prices, swaps, holders) as continuous syncs into your own ClickHouse, Postgres, or MySQL. - [Migrating from the Moralis REST API](https://docs.moralis.com/data-feeds/migration/overview.md): Already using Moralis REST API endpoints? This is the background you need before you move an endpoint onto Data Feeds: how the two differ, why the schema is not a copy, and the gotchas to plan for. - [Map Endpoints to Templates](https://docs.moralis.com/data-feeds/migration/endpoints.md): Every covered Moralis REST API endpoint, mapped to the template (or combination of templates) that replaces it. Find the endpoint you call today and see exactly what to turn on. #### Wallet API - [Wallet History](https://docs.moralis.com/data-feeds/templates/wallet/wallet-history.md): Reconstruct a wallet's full chronological event feed (every transfer, swap, NFT move, approval, and LP change, with USD value per event) as a continuous sync into your own database. - [Token Balances by Wallet](https://docs.moralis.com/data-feeds/templates/wallet/token-balances-by-wallet.md): Sync every ERC-20 token a wallet holds, with its current non-zero balance, into your own database: a portfolio lookup that's a single prefix scan. - [Native Balances](https://docs.moralis.com/data-feeds/templates/wallet/native-balances.md): Sync each wallet's current native-asset (ETH/MATIC/…) balance into your own database, kept current from per-block onchain data. Mirrors the Moralis GET /{address}/balance and GET /wallets/balances endpoints. - [NFTs by Wallet](https://docs.moralis.com/data-feeds/templates/wallet/nfts-by-wallet.md): Sync every NFT a wallet currently holds (collection, token ID, contract type, and balance) as a continuously updated holdings table in your own database. Mirrors the Moralis GET /{address}/nft endpoint. - [Token Approvals](https://docs.moralis.com/data-feeds/templates/wallet/token-approvals.md): Sync the current ERC-20 allowances a wallet has granted, and to whom, as a continuous, reorg-safe feed into your own database. Mirrors the Moralis GET /wallets/{address}/approvals endpoint. #### Token API - [Token Holders](https://docs.moralis.com/data-feeds/templates/token/token-holders.md): Sync the full holder list of a token, every non-zero wallet, its current balance, and a best-effort USD value, as a continuously updated table in your own database. Mirrors the Moralis GET /erc20/{address}/owners endpoint. - [Historical Balances](https://docs.moralis.com/data-feeds/templates/token/historical-balances.md): Reconstruct any wallet's balance of any token at any past block, and the full holder set of a token as of a block, from a retained per-(wallet, token) balance event log in your own database. - [Token Balances by Token](https://docs.moralis.com/data-feeds/templates/token/token-balances-by-token.md): Sync the current non-zero balance of every wallet that holds a given token into your own database, the holder list behind a token, latest-wins per wallet. - [Token Transfers](https://docs.moralis.com/data-feeds/templates/token/token-transfers.md): Sync every ERC-20 token transfer, by token or by wallet, as a flat, ordered event log into your own database. - [Token Stats](https://docs.moralis.com/data-feeds/templates/token/token-stats.md): Maintain per-token transfer counters (how many transfers a token has had) as a continuous, reorg-safe aggregate in your own database. Replaces the removed Moralis GET /erc20/{address}/stats endpoint. - [Token Metadata](https://docs.moralis.com/data-feeds/templates/token/token-metadata.md): Sync ERC-20 token metadata (name, symbol, decimals, total supply, and deployer) captured at deploy time into your own database. Mirrors the Moralis GET /erc20/metadata endpoint. - [Token Bonding Status (Solana Launchpads)](https://docs.moralis.com/data-feeds/templates/token/token-bonding-status.md): Sync every pump.fun / Raydium LaunchLab launchpad event, created, traded, migrated, into your own database, and serve a launchpad's new / bonding / graduated token lists plus any token's bonding-curve status. #### Price API - [Token Prices](https://docs.moralis.com/data-feeds/templates/token/token-prices.md): Sync a token's full USD / native mark price history (every in-block price update for each pair and protocol) as a continuous feed into your own database, with a carry-forward latest mark for valuing quiet positions. - [Pair OHLCV](https://docs.moralis.com/data-feeds/templates/markets/pair-ohlcv.md): Sync time-bucketed OHLCV candles, open, high, low, close, volume, and trade count per DEX pair, built by aggregating on-chain swaps, into your own database. Mirrors the Moralis GET /pairs/{address}/ohlcv endpoint. #### DeFi API - [Swaps by Wallet](https://docs.moralis.com/data-feeds/templates/markets/swaps-by-wallet.md): Sync every DEX trade made by a wallet, pool fills and aggregator-routed trades, USD-enriched at block time, keyed for by-trader lookups in your own database. - [Swaps by Token](https://docs.moralis.com/data-feeds/templates/markets/swaps-by-token.md): Sync every DEX trade that touched a token, pool fills and aggregator-routed trades, USD-enriched at block time, into your own database, keyed for fast by-token lookups. - [Swaps by Pair](https://docs.moralis.com/data-feeds/templates/markets/swaps-by-pair.md): Sync every DEX trade on a pool/pair, direct pool fills and aggregator-routed trades, USD-enriched in-block, keyed by pool address so a pair's trade feed is a prefix scan, into your own database. - [Pair Reserves](https://docs.moralis.com/data-feeds/templates/markets/pair-reserves.md): Sync the current reserve0 / reserve1 of any DEX pair, the pool's absolute token balances, kept latest-wins per pair, into your own database. Mirrors the Moralis GET /{pair_address}/reserves endpoint. #### NFT API - [NFT Transfers](https://docs.moralis.com/data-feeds/templates/nft/nft-transfers.md): Sync every ERC-721 / ERC-1155 transfer, by contract, by wallet, or for a single (contract, token_id), as a flat event log into your own database. - [NFT Trades](https://docs.moralis.com/data-feeds/templates/nft/nft-trades.md): Sync every NFT marketplace trade (seller, buyer, collection, token ID, marketplace, and raw price), re-assembled into one row per traded NFT, into your own database. - [NFT Owners by Contract](https://docs.moralis.com/data-feeds/templates/nft/nft-owners-by-contract.md): Sync the current owner set for an NFT collection (every wallet holding a token_id, with live counts for ERC-1155 editions) into your own database. Mirrors the Moralis GET /nft/{address}/owners endpoint. - [NFT Collection Metadata](https://docs.moralis.com/data-feeds/templates/nft/nft-collection-metadata.md): Sync the on-chain name, symbol, and contract type (ERC-721 / ERC-1155) of every NFT collection, keyed by collection address, into your own database. Mirrors the Moralis GET /nft/{address}/metadata endpoint. #### Blockchain API - [Contract Logs](https://docs.moralis.com/data-feeds/templates/logs/contract-logs.md): Sync every raw event log emitted by a contract, all topics and raw data, in on-chain order, into your own database. Mirrors the Moralis GET /{address}/logs endpoint. - [Logs by Event Signature](https://docs.moralis.com/data-feeds/templates/logs/logs-by-topic0.md): Sync every raw event log of one signature, every Transfer, Approval, or Swap, across all contracts, chain-wide, into your own database. The by-event-type sibling of Contract Logs. ### Streams - [Migrating from Moralis Streams](https://docs.moralis.com/data-feeds/migration/streams-overview.md): Using Streams webhooks today? Here is how the model maps onto Data Feeds: push webhooks vs. data flowing into a database you own. ### Gotchas & Troubleshooting - [Gotchas & Troubleshooting](https://docs.moralis.com/data-feeds/migration/troubleshooting.md): Every known failure point when consuming Data Feeds (symptom, why it happens, and the fix) so you don't discover them the hard way. Covers the sink pipe, the live-vs-settled data boundary, and query-time surprises. ### Concepts - [Data Feeds vs. the REST API](https://docs.moralis.com/data-feeds/concepts/data-feeds-vs-the-rest-api.md): How results from Moralis Data Feeds compare to a Web3 API endpoint, what comes through exactly, what you calculate, and what you add yourself. - [The `block` Array: How Transactions and Logs Are Laid Out](https://docs.moralis.com/data-feeds/concepts/the-block-array.md): How raw transactions, logs, withdrawals, and block headers are packed into a single flattened array per block, and how to read them. - [History & Backfill: How Far Back Do You Need to Index?](https://docs.moralis.com/data-feeds/concepts/history-and-backfill.md): Some Data Feeds answers need full history to be correct (balances, holders); others only need as much history as you want to show (swaps, logs, prices). Here's how to tell, and how to scope your backfill. - [Modes: Historical, Realtime, and Hybrid](https://docs.moralis.com/data-feeds/concepts/modes.md): A template runs in one of three modes. The mode decides whether the sink backfills past history, tails live blocks, or does both. Here's how to pick. - [Reorgs: How Chain Reorganizations Surface, and How Templates Correct Them](https://docs.moralis.com/data-feeds/concepts/reorgs.md): Near the chain tip, a block can be replaced by another. Data Feeds detect this and emit a correction, so your table converges on the canonical chain. Here's what that means for your queries. ### Use Cases - [Accounting & Tax](https://docs.moralis.com/data-feeds/use-cases/accounting.md): A Data Feeds template bundle for accounting, tax, and treasury tools: a wallet's full event feed plus per-asset transfer ledgers, valued in USD at block time, synced into your own database. - [Portfolio Tracking](https://docs.moralis.com/data-feeds/use-cases/portfolio-tracking.md): A Data Feeds template bundle for portfolio apps, wallets, and dashboards: every token, native asset, and NFT a wallet holds, valued in USD, synced into your own database. - [Token Analytics](https://docs.moralis.com/data-feeds/use-cases/token-analytics.md): A Data Feeds template bundle for tracking a token's distribution and activity (holders, balances, transfers, transfer counters, and every DEX trade), synced into your own database. - [Trading & Charting](https://docs.moralis.com/data-feeds/use-cases/trading-charting.md): A Data Feeds template bundle for trading terminals, charting UIs, and bots: every DEX trade per pool and per token, candles, live reserves, and USD marks, synced into your own database. - [NFT Marketplace](https://docs.moralis.com/data-feeds/use-cases/nft-marketplace.md): A Data Feeds template bundle for NFT marketplaces and analytics platforms: collection trade history, current ownership, wallet inventories, and collection metadata, synced into your own database. - [Compliance & AML](https://docs.moralis.com/data-feeds/use-cases/compliance-aml.md): A Data Feeds template bundle for compliance, AML, and forensics teams: a complete, ordered, auditable trail of everything an address did, plus its asset positions and risk surface, synced into your own database. - [Onchain Event Indexing](https://docs.moralis.com/data-feeds/use-cases/event-indexing.md): A Data Feeds template bundle for indexing raw event logs (every event from a contract, or one event signature across all contracts) into your own database for custom decoding and analytics. - [RPC Nodes (560 pages)](https://docs.moralis.com/_llms/rpc-nodes.txt): Introduction, Ethereum RPC, Base RPC, Polygon RPC, BNB Smart Chain RPC, Arbitrum RPC, Optimism RPC, Avalanche RPC, Linea RPC, Gnosis RPC, Ronin RPC, Lisk RPC, Flow RPC, Pulsechain RPC, zkSync RPC, Mantle RPC, Polygon zkEVM RPC, opBNB RPC, Moonbeam RPC, Blast RPC. ## Auth API - [Auth API](https://docs.moralis.com/auth-api/overview.md): Web3 authentication using wallet signature, built on the EIP-4361 standard for secure off-chain identity verification. ### API Reference #### Challenge - [Request EVM challenge](https://docs.moralis.com/api-reference/challenge/request-evm-challenge.md) - [Verify EVM challenge](https://docs.moralis.com/api-reference/challenge/verify-evm-challenge.md) - [Request Solana challenge](https://docs.moralis.com/api-reference/challenge/request-solana-challenge.md) - [Verify Solana challenge](https://docs.moralis.com/api-reference/challenge/verify-solana-challenge.md) - [Request Aptos challenge](https://docs.moralis.com/api-reference/challenge/request-aptos-challenge.md) - [Verify Aptos challenge](https://docs.moralis.com/api-reference/challenge/verify-aptos-challenge.md) #### Profile - [Get addresses that are bound to the specific profileId](https://docs.moralis.com/api-reference/profile/get-addresses-that-are-bound-to-the-specific-profileid.md) #### Bind - [Request bind between profile of two addresses](https://docs.moralis.com/api-reference/bind/request-bind-between-profile-of-two-addresses.md): Request for message to bind profile that is belong to the two addresses
All profiles under the addresses will be bound and new profile will be generated. - [Verify bind request](https://docs.moralis.com/api-reference/bind/verify-bind-request.md) - [Request to remove bind of an address from a profile](https://docs.moralis.com/api-reference/bind/request-to-remove-bind-of-an-address-from-a-profile.md) - [Verify remove bind request](https://docs.moralis.com/api-reference/bind/verify-remove-bind-request.md) ## Changelog - [Product updates](https://docs.moralis.com/changelog.md): New releases and improvements ## OpenAPI Specs - [api](/openapi-files/data-api/api.json) - [api-v1](/openapi-files/data-api/api-v1.json) - [solana-api](/openapi-files/data-api/solana-api.json) - [bitcoin-api-v1](/openapi-files/data-api/bitcoin-api-v1.json) - [streams](/openapi-files/streams-api/streams.yaml) - [auth](/openapi-files/auth-api/auth.json) - [streams](/openapi-files/streams-api/streams.json) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Data API (204 pages)](https://docs.moralis.com/_llms/data-api.txt): Introduction, Data Features, EVM API, Solana API, Bitcoin API, Universal API, Onchain Skills. - [RPC Nodes (560 pages)](https://docs.moralis.com/_llms/rpc-nodes.txt): Introduction, Ethereum RPC, Base RPC, Polygon RPC, BNB Smart Chain RPC, Arbitrum RPC, Optimism RPC, Avalanche RPC, Linea RPC, Gnosis RPC, Ronin RPC, Lisk RPC, Flow RPC, Pulsechain RPC, zkSync RPC, Mantle RPC, Polygon zkEVM RPC, opBNB RPC, Moonbeam RPC, Blast RPC. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.