Skip to main content

Migrating from OKLink to Moralis

URGENT MIGRATION NEEDED - 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

FeatureOKLink EndpointMoralis Equivalent
Get Account Asset Balanceshttps://www.oklink.com/docs/en/#sol-data-account-data-get-addresses-asset-balanceDetails
Get SOL Account Balancehttps://www.oklink.com/docs/en/#sol-data-account-data-get-sol-account-balanceDetails
Get Token Balancehttps://www.oklink.com/docs/en/#sol-data-account-data-get-token-balanceDetails
Get Transaction Listhttps://www.oklink.com/docs/en/#sol-data-account-data-get-transaction-listDetails

NFT API

FeatureOKLink EndpointMoralis Equivalent
Get Collection Overviewhttps://www.oklink.com/docs/en/#nft-data-get-collection-overviewDetails
Get NFT List Within Collectionhttps://www.oklink.com/docs/en/#nft-data-get-nft-list-within-collectionDetails
Get Holder List for Collectionhttps://www.oklink.com/docs/en/#nft-data-get-holder-list-for-collectionDetails
Get Collection Floor Pricehttps://www.oklink.com/docs/en/#nft-data-get-collection-floor-priceDetails
Get Detailed Data for NFThttps://www.oklink.com/docs/en/#nft-data-get-detailed-data-for-nftDetails
Get NFT Holder Addresshttps://www.oklink.com/docs/en/#nft-data-get-nft-holder-addressDetails
Get NFT Transaction Historyhttps://www.oklink.com/docs/en/#nft-data-get-nft-transaction-historyDetails
Get NFT List Held by Addresshttps://www.oklink.com/docs/en/#nft-data-get-nft-list-held-by-addressDetails

Token API

FeatureOKLink EndpointMoralis Equivalent
Get Token Listhttps://www.oklink.com/docs/en/#token-price-data-get-token-listDetails
Get Historical Token Pricehttps://www.oklink.com/docs/en/#token-price-data-get-historical-token-priceDetails
Get Latest Token Price in Batcheshttps://www.oklink.com/docs/en/#token-price-data-get-latest-token-price-in-batchesDetails
Get Token Market Datahttps://www.oklink.com/docs/en/#token-price-data-get-latest-token-price-in-batchesDetails
Check Liquidity Pool Addresseshttps://www.oklink.com/docs/en/#token-price-data-check-liquidity-pool-addresses-by-tokenDetails
Get Individual Transaction Datahttps://www.oklink.com/docs/en/#token-price-data-get-individual-transaction-dataDetails

Other Services

FeatureOKLink EndpointMoralis Equivalent
Webhook Subscriptionhttps://www.oklink.com/docs/en/#webhook-subscription-serviceDetails
EVM RPC Datahttps://www.oklink.com/docs/en/#evm-rpc-dataDetails

Solana API

Get Account Asset Balances

OKLink Endpoint: https://www.oklink.com/docs/en/#sol-data-account-data-get-addresses-asset-balance
ChainMoralis EquivalentDocumentation
SolanaGet Sol PortfolioDocumentation
SolanaGet Wallet NFTsDocumentation
SolanaGet Native SOL BalanceDocumentation
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
ChainMoralis EquivalentDocumentation
SolanaGet Native SOL BalanceDocumentation
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
ChainMoralis EquivalentDocumentation
SolanaGet SPL Token InfoDocumentation
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
ChainMoralis EquivalentDocumentation
SolanaGet Wallet Swap TransactionsDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFT Collection MetadataDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFTs by ContractDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFT Owners by ContractDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFT Floor Price by ContractDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFT MetadataDocumentation
SolanaGet SOL NFT MetadataDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFT Owners by Token IDDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet NFT Contract TransfersDocumentation
EVMGet NFT TradesDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet Wallet NFTsDocumentation
SolanaGet SOL NFTsDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet Filtered TokensDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet Multiple Token PricesDocumentation
EVMGet OHLCV by Pair AddressDocumentation
SolanaGet Multiple Token PricesDocumentation
SolanaGet OHLCV by Pair AddressDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet Multiple Token PricesDocumentation
EVMGet OHLCV by Pair AddressDocumentation
SolanaGet Multiple Token PricesDocumentation
SolanaGet OHLCV by Pair AddressDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet Token MetadataDocumentation
EVMGet Token AnalyticsDocumentation
SolanaGet Token MetadataDocumentation
SolanaGet Token AnalyticsDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet Token PairsDocumentation
SolanaGet Token Pairs by AddressDocumentation
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
ChainMoralis EquivalentDocumentation
EVMGet TransactionDocumentation
EVMGet Decoded TransactionDocumentation
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
ServiceMoralis EquivalentDocumentation
WebhooksStreams APIDocumentation
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
ServiceMoralis EquivalentDocumentation
RPCMoralis RPC NodesDocumentation
Notes: Moralis provides reliable and high-performance RPC nodes across multiple blockchain networks. Moralis offers many additional endpoints and features not available in OKLink. Here are some of our most popular exclusive endpoints:

Advanced Wallet Analysis

FeatureEndpointDocumentation
Wallet HistoryGET https://deep-index.moralis.io/api/v2.2/wallets/:address/historyDocumentation
Wallet ApprovalsGET https://deep-index.moralis.io/api/v2.2/wallets/:address/approvalsDocumentation
Wallet Net WorthGET https://deep-index.moralis.io/api/v2.2/wallets/:address/net-worthDocumentation

Token Analytics

FeatureEndpointDocumentation
Token Holder StatsGET https://deep-index.moralis.io/api/v2.2/erc20/:token_address/holders/statsDocumentation
Historical Token HoldersGET https://deep-index.moralis.io/api/v2.2/erc20/:token_address/holders/historicalDocumentation

Token Search & Discovery

FeatureEndpointDocumentation
Search TokensGET https://deep-index.moralis.io/api/v2.2/tokens/searchDocumentation
Trending TokensGET https://deep-index.moralis.io/api/v2.2/tokens/trendingDocumentation

DEX and Pair Analytics

FeatureEndpointDocumentation
Pair StatsGET https://deep-index.moralis.io/api/v2.2/pairs/:address/statsDocumentation
Aggregated Token Pair StatsGET https://deep-index.moralis.io/api/v2.2/:token_address/pairs/statsDocumentation

Getting Started with Moralis

  1. Sign up for a Moralis account: https://admin.moralis.com/register
  2. Get your API key: Navigate to the Web3 APIs section in your dashboard
  3. Update your API calls: Replace OKLink endpoints with the corresponding Moralis endpoints
  4. Explore the documentation: https://docs.moralis.com/

Why Choose Moralis?

MIGRATION SUPPORT AVAILABLE - 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.