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