Migrating from OKLink to Moralis
OKLink is suspending all their Explorer APIs on May 20th, 2025. Applications and platforms using OKLink Explorer API need to migrate as soon as possible to avoid service disruptions. Moralis APIs offer equivalent functionality, making migration straightforward.
With OKLink suspending their API offering, Moralis provides a comprehensive alternative with equivalent functionality and additional capabilities. This guide will help you seamlessly transition your projects from OKLink to Moralis.
API Endpoint Equivalence
OKLink endpoints can be easily mapped to Moralis equivalents. Below you'll find the mapping organized by API category.
Quick Reference Guide
Make use of the table below to quickly find the Moralis equivalent for each OKLink endpoint by clicking on the Moralis Equivalent column.
Solana API
Feature | OKLink Endpoint | Moralis Equivalent |
---|---|---|
Get Account Asset Balances | https://www.oklink.com/docs/en/#sol-data-account-data-get-addresses-asset-balance | Details |
Get SOL Account Balance | https://www.oklink.com/docs/en/#sol-data-account-data-get-sol-account-balance | Details |
Get Token Balance | https://www.oklink.com/docs/en/#sol-data-account-data-get-token-balance | Details |
Get Transaction List | https://www.oklink.com/docs/en/#sol-data-account-data-get-transaction-list | Details |
NFT API
Feature | OKLink Endpoint | Moralis Equivalent |
---|---|---|
Get Collection Overview | https://www.oklink.com/docs/en/#nft-data-get-collection-overview | Details |
Get NFT List Within Collection | https://www.oklink.com/docs/en/#nft-data-get-nft-list-within-collection | Details |
Get Holder List for Collection | https://www.oklink.com/docs/en/#nft-data-get-holder-list-for-collection | Details |
Get Collection Floor Price | https://www.oklink.com/docs/en/#nft-data-get-collection-floor-price | Details |
Get Detailed Data for NFT | https://www.oklink.com/docs/en/#nft-data-get-detailed-data-for-nft | Details |
Get NFT Holder Address | https://www.oklink.com/docs/en/#nft-data-get-nft-holder-address | Details |
Get NFT Transaction History | https://www.oklink.com/docs/en/#nft-data-get-nft-transaction-history | Details |
Get NFT List Held by Address | https://www.oklink.com/docs/en/#nft-data-get-nft-list-held-by-address | Details |
Token API
Feature | OKLink Endpoint | Moralis Equivalent |
---|---|---|
Get Token List | https://www.oklink.com/docs/en/#token-price-data-get-token-list | Details |
Get Historical Token Price | https://www.oklink.com/docs/en/#token-price-data-get-historical-token-price | Details |
Get Latest Token Price in Batches | https://www.oklink.com/docs/en/#token-price-data-get-latest-token-price-in-batches | Details |
Get Token Market Data | https://www.oklink.com/docs/en/#token-price-data-get-latest-token-price-in-batches | Details |
Check Liquidity Pool Addresses | https://www.oklink.com/docs/en/#token-price-data-check-liquidity-pool-addresses-by-token | Details |
Get Individual Transaction Data | https://www.oklink.com/docs/en/#token-price-data-get-individual-transaction-data | Details |
Other Services
Feature | OKLink Endpoint | Moralis Equivalent |
---|---|---|
Webhook Subscription | https://www.oklink.com/docs/en/#webhook-subscription-service | Details |
EVM RPC Data | https://www.oklink.com/docs/en/#evm-rpc-data | Details |
Solana API
Get Account Asset Balances
OKLink Endpoint: https://www.oklink.com/docs/en/#sol-data-account-data-get-addresses-asset-balance
Chain | Moralis Equivalent | Documentation |
---|---|---|
Solana | Get Sol Portfolio | https://docs.moralis.com/web3-data-api/solana/reference/get-sol-portfolio |
Solana | Get Wallet NFTs | https://docs.moralis.com/web3-data-api/solana/reference/get-wallet-nfts |
Solana | Get Native SOL Balance | https://docs.moralis.com/web3-data-api/solana/reference/sol-balance |
Notes: Moralis provides comprehensive asset balance data including SOL tokens, SPL tokens, and NFTs in a single API call or through dedicated endpoints for each asset type.
Get SOL Account Balance
OKLink Endpoint: https://www.oklink.com/docs/en/#sol-data-account-data-get-sol-account-balance
Chain | Moralis Equivalent | Documentation |
---|---|---|
Solana | Get Native SOL Balance | https://docs.moralis.com/web3-data-api/solana/reference/sol-balance |
Notes: This endpoint provides the native SOL balance for a given wallet address.
Get Token Balance
OKLink Endpoint: https://www.oklink.com/docs/en/#sol-data-account-data-get-token-balance
Chain | Moralis Equivalent | Documentation |
---|---|---|
Solana | Get SPL Token Info | https://docs.moralis.com/web3-data-api/solana/reference/get-spl |
Notes: This endpoint returns detailed information about SPL tokens, including balances, metadata, and more.
Get Transaction List
OKLink Endpoint: https://www.oklink.com/docs/en/#sol-data-account-data-get-transaction-list
Chain | Moralis Equivalent | Documentation |
---|---|---|
Solana | Get Wallet Swap Transactions | https://docs.moralis.com/web3-data-api/solana/reference/get-wallet-swap-txs |
Notes: This endpoint provides swap transaction history for a wallet on Solana.
NFT API
Get Collection Overview
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-collection-overview
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFT Collection Metadata | https://docs.moralis.com/web3-data-api/evm/reference/get-metadata-for-nft-contract |
Notes: This endpoint returns comprehensive metadata about an NFT collection, including name, symbol, token standard, and more.
Get NFT List Within Collection
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-nft-list-within-collection
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFTs by Contract | https://docs.moralis.com/web3-data-api/evm/reference/get-contract-nfts |
Notes: This endpoint retrieves all NFTs within a specific contract with pagination support for large collections.
Get Holder List for Collection
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-holder-list-for-collection
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFT Owners by Contract | https://docs.moralis.com/web3-data-api/evm/reference/get-nft-owners |
Notes: This endpoint retrieves the complete list of owners for a specific NFT collection.
Get Collection Floor Price
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-collection-floor-price
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFT Floor Price by Contract | https://docs.moralis.com/web3-data-api/evm/reference/get-nft-floor-price-by-contract |
Notes: This endpoint provides floor price data from major marketplaces for a specific NFT collection.
Get Detailed Data for NFT
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-detailed-data-for-nft
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFT Metadata | https://docs.moralis.com/web3-data-api/evm/reference/get-nft-metadata |
Solana | Get SOL NFT Metadata | https://docs.moralis.com/web3-data-api/solana/reference/get-sol-nft-metadata |
Notes: These endpoints provide comprehensive metadata for individual NFTs, including attributes, images, and other on-chain data.
Get NFT Holder Address
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-nft-holder-address
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFT Owners by Token ID | https://docs.moralis.com/web3-data-api/evm/reference/get-nft-token-id-owners |
Notes: This endpoint retrieves owner information for a specific NFT token ID within a collection.
Get NFT Transaction History
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-nft-transaction-history
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get NFT Contract Transfers | https://docs.moralis.com/web3-data-api/evm/reference/get-nft-contract-transfers |
EVM | Get NFT Trades | https://docs.moralis.com/web3-data-api/evm/reference/get-nft-trades |
Notes: These endpoints provide comprehensive transfer and trade history for NFTs, including marketplace sales and P2P transfers.
Get NFT List Held by Address
OKLink Endpoint: https://www.oklink.com/docs/en/#nft-data-get-nft-list-held-by-address
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Wallet NFTs | https://docs.moralis.com/web3-data-api/evm/reference/get-wallet-nfts |
Solana | Get SOL NFTs | https://docs.moralis.com/web3-data-api/solana/reference/get-sol-nfts |
Notes: These endpoints retrieve all NFTs held by a specific wallet address with rich metadata.
Token API
Get Token List
OKLink Endpoint: https://www.oklink.com/docs/en/#token-price-data-get-token-list
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Filtered Tokens | https://docs.moralis.com/web3-data-api/evm/reference/get-filtered-tokens |
Notes: This endpoint allows retrieving tokens with various filtering options.
Get Historical Token Price
OKLink Endpoint: https://www.oklink.com/docs/en/#token-price-data-get-historical-token-price
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Multiple Token Prices | https://docs.moralis.com/web3-data-api/evm/reference/get-multiple-token-prices |
EVM | Get OHLCV by Pair Address | https://docs.moralis.com/web3-data-api/evm/reference/get-ohlcv-by-pair-address |
Solana | Get Multiple Token Prices | https://docs.moralis.com/web3-data-api/solana/reference/price/get-multiple-token-prices |
Solana | Get OHLCV by Pair Address | https://docs.moralis.com/web3-data-api/solana/reference/price/get-ohlcv-by-pair-address |
Notes: These endpoints provide price history data for tokens across different timeframes.
Get Latest Token Price in Batches
OKLink Endpoint: https://www.oklink.com/docs/en/#token-price-data-get-latest-token-price-in-batches
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Multiple Token Prices | https://docs.moralis.com/web3-data-api/evm/reference/get-multiple-token-prices |
EVM | Get OHLCV by Pair Address | https://docs.moralis.com/web3-data-api/evm/reference/get-ohlcv-by-pair-address |
Solana | Get Multiple Token Prices | https://docs.moralis.com/web3-data-api/solana/reference/price/get-multiple-token-prices |
Solana | Get OHLCV by Pair Address | https://docs.moralis.com/web3-data-api/solana/reference/price/get-ohlcv-by-pair-address |
Notes: These endpoints support batch requests for fetching current prices of multiple tokens in a single API call.
Get Token Market Data
OKLink Endpoint: https://www.oklink.com/docs/en/#token-price-data-get-latest-token-price-in-batches
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Token Metadata | https://docs.moralis.com/web3-data-api/evm/reference/get-token-metadata |
EVM | Get Token Analytics | https://docs.moralis.com/web3-data-api/evm/reference/get-token-analytics |
Solana | Get Token Metadata | https://docs.moralis.com/web3-data-api/solana/reference/get-token-metadata |
Solana | Get Token Analytics | https://docs.moralis.com/web3-data-api/solana/reference/get-token-analytics |
Notes: These endpoints provide comprehensive token metadata including marketcap, supply information, and other analytics.
Check Liquidity Pool Addresses
OKLink Endpoint: https://www.oklink.com/docs/en/#token-price-data-check-liquidity-pool-addresses-by-token
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Token Pairs | https://docs.moralis.com/web3-data-api/evm/reference/get-token-pairs |
Solana | Get Token Pairs by Address | https://docs.moralis.com/web3-data-api/solana/reference/get-token-pairs-by-address |
Notes: These endpoints provide information about liquidity pairs for specific tokens across various DEXes.
Get Individual Transaction Data
OKLink Endpoint: https://www.oklink.com/docs/en/#token-price-data-get-individual-transaction-data
Chain | Moralis Equivalent | Documentation |
---|---|---|
EVM | Get Transaction | https://docs.moralis.com/web3-data-api/evm/reference/get-transaction |
EVM | Get Decoded Transaction | https://docs.moralis.com/web3-data-api/evm/reference/get-decoded-transaction |
Notes: These endpoints retrieve detailed transaction data, including decoded information for enhanced readability.
Other Services
Webhook Subscription
OKLink Endpoint: https://www.oklink.com/docs/en/#webhook-subscription-service
Service | Moralis Equivalent | Documentation |
---|---|---|
Webhooks | Streams API | https://docs.moralis.com/streams-api/evm |
Notes: Moralis Streams API provides powerful real-time blockchain data capabilities, including filters, webhooks, and managed infrastructure.
EVM RPC Data
OKLink Endpoint: https://www.oklink.com/docs/en/#evm-rpc-data
Service | Moralis Equivalent | Documentation |
---|---|---|
RPC | Moralis RPC Nodes | https://docs.moralis.com/rpc-nodes |
Notes: Moralis provides reliable and high-performance RPC nodes across multiple blockchain networks.
Beyond OKLink: Exclusive Moralis Capabilities
Moralis offers many additional endpoints and features not available in OKLink. Here are some of our most popular exclusive endpoints:
Advanced Wallet Analysis
Feature | Endpoint | Documentation |
---|---|---|
Wallet History | GET https://deep-index.moralis.io/api/v2.2/wallets/:address/history | Documentation |
Wallet Approvals | GET https://deep-index.moralis.io/api/v2.2/wallets/:address/approvals | Documentation |
Wallet Net Worth | GET https://deep-index.moralis.io/api/v2.2/wallets/:address/net-worth | Documentation |
Token Analytics
Feature | Endpoint | Documentation |
---|---|---|
Token Holder Stats | GET https://deep-index.moralis.io/api/v2.2/erc20/:token_address/holders/stats | Documentation |
Historical Token Holders | GET https://deep-index.moralis.io/api/v2.2/erc20/:token_address/holders/historical | Documentation |
Token Search & Discovery
Feature | Endpoint | Documentation |
---|---|---|
Search Tokens | GET https://deep-index.moralis.io/api/v2.2/tokens/search | Documentation |
Trending Tokens | GET https://deep-index.moralis.io/api/v2.2/tokens/trending | Documentation |
DEX and Pair Analytics
Feature | Endpoint | Documentation |
---|---|---|
Pair Stats | GET https://deep-index.moralis.io/api/v2.2/pairs/:address/stats | Documentation |
Aggregated Token Pair Stats | GET https://deep-index.moralis.io/api/v2.2/:token_address/pairs/stats | Documentation |
Getting Started with Moralis
- Sign up for a Moralis account: https://admin.moralis.com/register
- Get your API key: Navigate to the Web3 APIs section in your dashboard
- Update your API calls: Replace OKLink endpoints with the corresponding Moralis endpoints
- Explore the documentation: https://docs.moralis.com/
Why Choose Moralis?
Moralis has a dedicated team to help you migrate smoothly from OKLink. Contact our team for personalized support and to learn about special developer discounts for teams transitioning from OKLink.
Trusted by Industry Leaders
Moralis APIs power some of the biggest names in the crypto space:
- MetaMask
- Kraken
- Blockchain.com
- And many other top wallets and applications
Migration Support
Our dedicated migration team is ready to help OKLink users transition smoothly:
- Technical guidance to map your existing implementation
- Support with API key setup and configuration
- Best practices for optimizing API usage
Developer Discounts
Contact our team today to learn about special pricing options available for teams migrating from OKLink.
Moralis is committed to providing a seamless transition for OKLink users with comprehensive support throughout your migration journey.