Moralis
Moralis offers indexed and real-time crypto data APIs across 30+ chains, including APIs for portfolio and wallet balances, NFT data, token data, price data, candlestick data, net worth data, and more. All data is enhanced with metadata, parsed events, address labels and wider offchain data for comprehensive insights.
Start building with using our docs.
Indexed data APIs
Moralis' Linea API integration supports:
- Wallet API: Insights into wallet balances, token balances, NFTs, wallet history, transactions, wallet net worth, and more.
- NFT API: NFT metadata, transfers, owners, prices, and more.
- Token API: Token metadata, transfers, token approvals, prices, and more.
- Price API: NFT prices, token prices, candlestick data, and more.
- DeFi API: DeFi balances, rewards, transactions, and more.
- Blockchain API: Raw data such as blocks, transactions, and logs.
Example features
Moralis indexed data APIs can be used for:
- Fetching all NFTs for a user's wallet
- Fetching all ERC20 tokens, with prices, for a user's wallet
- Fetching a decoded transaction history for a user's wallet
- Fetching NFT metadata for a given token
- Fetching the current price of an ERC20 token
- Detecting which chain(s) a given user wallet is active on
Example use cases
Moralis indexed data APIs can be used to build:
- Web3 wallets: Integrating wallet functionalities such as displaying token balances, transaction history, and NFT holdings.
- Portfolio pages: Creating personalized portfolio trackers to monitor asset performance across multiple blockchains.
- NFT marketplaces: Building platforms for buying, selling, and trading NFTs by fetching and displaying NFT data.
- DeFi platforms: Integrating token and blockchain data to facilitate decentralized finance activities such as lending, borrowing, and trading.
Real-time data APIs
Moralis' Linea real-time data integration supports:
- Streams API: Stream blockchain data directly to your server via webhooks in real-time. Setup and configure advanced filters, or use any of our out-of-the-box configurations.
Example features
Moralis real-time data APIs can be used for:
- Listening to transfer events for a given ERC20 token
- Listening to native transfer events for a given wallet
- Listening to token mints or burns
- Listening to transfer events for a given NFT collection
- Detecting activity across multiple addresses
- Tracking custom blockchain events
Example use cases
Moralis real-time data APIs can be used to build:
- In-app notifications: Sending real-time alerts to users based on their wallet holdings, for events like token transfers, price changes, staking rewards etc. to increase engagement.
- Real-time token balances: Continuously updating and displaying users' wallet balances in real-time within dapps, enabling instant visibility into their current asset holdings and values.
- Discord alerts: Providing real-time updates to Discord communities about blockchain activities and token movements.
- Build a database: Track real-time events for specific events and store them in your database, ensuring that you maintain a comprehensive historical record of blockchain activities for a given wallet or contract.
Get started
- Sign up for a free account
- Visit the Moralis documentation
- Check out our tutorials on Youtube.
Want to be featured here?
Have you built a tool for Linea? Contribute to the docs to add it here! See our guide to contributing.