Skip to main content

Overview

This section contains practical tutorials and guides to help you build with Moralis APIs. Each tutorial walks through a specific use case with code examples you can adapt for your own projects.

What You’ll Find

Data API Tutorials

Step-by-step guides covering common blockchain data queries:
  • Tokens and Markets - Query token balances, swaps, metadata, and market data
  • Prices and Charts - Fetch historical prices and OHLC data for charting
  • Blocks and Transactions - Look up blocks by timestamp and query transactions
  • NFTs - Get NFT ownership, floor prices, metadata, and traits

Migration Guides

Guides for migrating from other blockchain data providers:
  • From Reservoir - Migrate NFT data queries to Moralis
  • From OK Link - Migrate blockchain data queries to Moralis
  • From SimpleHash - Migrate NFT API calls to Moralis

Tutorial Categories

Tokens and Markets

TutorialDescription
Get ERC-20 Token BalanceQuery token holdings for a wallet
Get Token MetadataRetrieve token details and decimals
Get Top Tokens by Market CapDiscover trending tokens

Prices and Charts

TutorialDescription
Get Historical Token PricesQuery price history for tokens
Get OHLC DataFetch candlestick data for charts

NFTs

TutorialDescription
Get NFT OwnersList all owners of an NFT collection
Get NFT Floor PriceQuery collection floor prices
Get NFT MetadataRetrieve NFT attributes and media

Get Started

Choose a tutorial based on what you want to build: