Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.