Need fast, reliable token search for your crypto project? Moralis’ Token Search API handles it all, allowing you to find crypto tokens by name, symbol, token address, or pair address. Experience real-time, verified token search across all major chains, with live indexing, smart ranking, and detailed data. Get lightning-fast token discovery in your DEX, wallet, or dapp – with just one API call.
Excited to see what the Token Search API can do? Here’s an example showing it in action:
import fetch from 'node-fetch'; const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, }; fetch('https://deep-index.moralis.io/api/v2.2/tokens/search?query=pepe&chains=eth', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
Running the script above will give you a list of tokens matching the query parameters. Each token will also feature a real-time price, market cap, price change over time, and more. Here’s a sample response:
{ //... result: [ { "tokenAddress": "0x6982508145454ce325ddbe47a25d4ec3d2311933", "chainId": "0x1", "name": "Pepe", "symbol": "PEPE", "blockNumber": null, "blockTimestamp": 1681483895, "usdPrice": 0.000008732159701029, "marketCap": 3673532264.62589, "experiencedNetBuyers": { "oneDay": 6, "oneWeek": 12 }, "netVolumeUsd": { "oneDay": -308278.47758801375 }, "liquidityChangeUSD": { "oneDay": -109445.76999999955 }, "usdPricePercentChange": { "oneDay": -3.2959040909090422 }, "volumeUsd": { "oneDay": 1570513.1603542287 }, "securityScore": 92, "logo": "https://adds-token-info-29a861f.s3.eu-central-1.amazonaws.com/marketing/evm/0x6982508145454ce325ddbe47a25d4ec3d2311933_icon.png", "isVerifiedContract": true, "fullyDilutedValuation": 3673531388.384607, "totalHolders": 427466 }, //... ] }
All it takes is a single endpoint to power a seamless, accurate token search when using Moralis!
To learn more, join us in today’s tutorial or check out the following YouTube video for a quick introduction to the Token Search API:
If you want to start using the Token Search API immediately, use the button below to sign up for a Moralis account!
Overview
Searching for tokens on crypto platforms – whether it’s a wallet, DEX, or aggregator – can be painful. Results are often broken, flooded with scams, or even missing well-known assets like Pepe. However, this is not strange, as building a reliable token search engine is difficult. It requires real-time indexing, multi-chain support, and smart ranking systems – all of which are hard to build from scratch.
But surely, there has to be a better way, right?
Enter Moralis’ Token Search API, which allows you to easily search for any crypto token by name, symbol, address, or pair address. We take care of all the underlying complexities, enabling you to integrate cross-chain token search functionality into your projects with just one endpoint.
To learn more about how this works, follow along in today’s tutorial as we kick things off by diving straight into Moralis. Let’s go!
Exploring Moralis: The Industry’s #1 Crypto Search API Provider
Moralis is the industry’s top crypto data provider, giving you access to world-class APIs and RPC nodes designed to streamline your developer experience. Search for tokens, get a wallet’s fully decoded history, fetch real-time prices, and much more with a single line of code. Get the tools, insights, and data you need to build sophisticated crypto projects – all in one place!

Let’s explore key reasons why developers choose Moralis as their crypto data provider:
- More Data. Fewer Requests: With outcome-focused API responses, you get more data per call, reducing the number of requests needed to power advanced features.
- Cross-Chain Support: Experience full feature parity across all major chains, allowing you to build projects for the entire Web3 ecosystem using one unified toolkit.
- Enterprise-Grade Security: Moralis is SOC 2 Type 2 certified, ensuring enterprise-grade security and reliability across all tools and services
With an overview of Moralis, let’s dive into the Token Search API!
What is the Token Search API?
The Token Search API delivers real-time, verified token search across the Solana network and all major EVM chains. Search for any token by name, symbol, address, or pair address – with live indexing, detailed metadata, and smart ranking. One API request is all it takes to supercharge your wallet, DEX, analytics platform, or dapp with a better token search experience!

Here are some key features and benefits of the Token Search API:
- Smart Token Discovery: Find tokens by name, symbol, address, or pair address, with verified results ranked first and partial matches.
- Cross-Chain Compatibility: Search for tokens across chains like Solana, Ethereum, Polygon, BSC, Avalanche, PulseChain, and many more networks.
- Comprehensive Payloads: Get complete metadata for all tokens, including prices, total supply, market cap, liquidity changes, holders, and more.
- Filtered Results: Filter by blockchain to ensure fast, seamless, chain-specific searches.
With an overview of this crypto search API, let’s take a closer look at how you can use this industry-leading tool to search for tokens!
Full Tutorial: How to Search for Crypto with the Best Token Search API
Let’s dive into a tutorial on how to search for tokens with the Token Search API. Thanks to its simplicity, you can do it in three simple steps:
- Get an API Key
- Write a Script
- Run the Code
But before we get going, you need to deal with a couple of prerequisites.
Prerequisites
For this brief tutorial, we’ll be using Node.js. So, make sure you have the following installed and ready to go:
- Node.js v14+
- npm/yarn
Step 1: Get an API Key
If you haven’t already, start by signing up for a Moralis account using the button at the top right:

From here, you’ll need to upgrade to either a Business or custom Enterprise plan, as /tokens/search
is a premium endpoint. After upgrading, copy your API key from the “Home” tab in the Moralis admin panel:

Keep the key for now, as you’re going to need it in the following step!
Step 2: Write a Script
Set up a new Node.js project in your preferred IDE and install the following dependencies:
npm install node-fetch --save npm install moralis @moralisweb3/common-evm-utils
Next, add ”type”: ”module” to your ”package.json” file:

Set up a new ”index.js” file and add the following script calling the /tokens/search
endpoint:
import fetch from 'node-fetch'; const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, }; fetch('https://deep-index.moralis.io/api/v2.2/tokens/search?query=pepe&chains=eth', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
From here, you need to change the code slightly. Start by replacing YOUR_API_KEY
with the key you copied during the first step. Next, you can also change the query parameters to fit your preferences. For instance, change the token name, specify more chains, or add the isVerifiedContract
boolean to only get verified tokens:

Step 3: Run the Code
Lastly, all that remains is to run the script. To do so, open a new terminal and run this command in your project’s root folder:
node index.js
Running the script returns an array of tokens matching your query. Each token includes detailed data, such as price, market cap, security score, volume and liquidity changes, logo, and more. Here’s a sample response:
{ //... result: [ { "tokenAddress": "0x6982508145454ce325ddbe47a25d4ec3d2311933", "chainId": "0x1", "name": "Pepe", "symbol": "PEPE", "blockNumber": null, "blockTimestamp": 1681483895, "usdPrice": 0.000008732159701029, "marketCap": 3673532264.62589, "experiencedNetBuyers": { "oneDay": 6, "oneWeek": 12 }, "netVolumeUsd": { "oneDay": -308278.47758801375 }, "liquidityChangeUSD": { "oneDay": -109445.76999999955 }, "usdPricePercentChange": { "oneDay": -3.2959040909090422 }, "volumeUsd": { "oneDay": 1570513.1603542287 }, "securityScore": 92, "logo": "https://adds-token-info-29a861f.s3.eu-central-1.amazonaws.com/marketing/evm/0x6982508145454ce325ddbe47a25d4ec3d2311933_icon.png", "isVerifiedContract": true, "fullyDilutedValuation": 3673531388.384607, "totalHolders": 427466 }, //... ] }
That’s it! It is easy to search for tokens when working with Moralis. From here, you can easily improve your platform’s user experience with comprehensive and seamless crypto search functionality!
Crypto Search API Example: Building a Powerful Token Search with One Endpoint
A smooth and accurate token search experience is something most crypto projects need, including DEXs, wallets, token analytics platforms, etc. Let’s take a look at an example from Moralis.com built using the Token Search API:

The search bar at the top left lets users instantly find any crypto token by name, symbol, address, or pair address. Verified results appear first, with options across all major chains. Additionally, it highlights each token’s price and price percent change in the past 24 hours.
And the best part? It was built using just one endpoint from the Token Search API!
Beyond the Best Token Search API – Exploring Other Tools & Features
The Token Search API only scratches the surface of Moralis’ comprehensive Web3 API suite. As such, we’ll take the following sections to introduce three additional tools you’ll likely find helpful:
- Wallet API
- Token API
- NFT API
To learn more about all our premier development tools, please feel free to visit our Web3 API page for more information!
Wallet API: Get Portfolio Data, Decoded History, & Net Worth
The Wallet API is a top-tier tool that allows you to easily get any wallet’s decoded history, token balances with prices, net worth, profitability, and more with a single line of code. Use this tool to enrich your platform with a comprehensive portfolio view, transaction timelines, and other similar features!

Here are a few prominent endpoints from the Wallet API:
/wallets/:address/history
: Fetch a wallet’s fully decoded transaction history./wallets/:address/tokens
: Get a wallet’s token balances with prices./wallets/:address/defi/positions
: Query the DeFi positions of a wallet./wallets/:address/net-worth
: Get a wallet’s total net worth and individual breakdowns for all chains./wallets/:address/profitability/summary
: Fetch a summary of a wallet’s profitability.
To highlight the power of the Wallet API, we’ll now explore a quick example demonstrating how easy it is to get a wallet’s fully decoded history:
import fetch from 'node-fetch'; const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, }; fetch('https://deep-index.moralis.io/api/v2.2/wallets/0xda74Ac6b69Ff4f1B6796cdDf61fBDd4A5f68525f/history?chain=eth', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
Calling the endpoint above will give you a list of on-chain transactions, enriched with category tags, event summaries, address labels, and more. Here’s a sample response:
{ //... "result": [ { "hash": "0xe153a83ec0e392d4edbccf196ca9ac6cd76d3e332ef3d4ee935dbabfb1386861", "nonce": "2123343", "transaction_index": "52", "from_address_entity": null, "from_address_entity_logo": null, "from_address": "0x7830c87c02e56aff27fa8ab1241711331fa86f43", "from_address_label": null, "to_address_entity": "Coinbase", "to_address_entity_logo": "https://entities-logos.s3.us-east-1.amazonaws.com/coinbase.png", "to_address": "0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43", "to_address_label": "Coinbase: Hot Wallet", "value": "0", "gas": "2000000", "gas_price": "2567061474", "receipt_cumulative_gas_used": "3895360", "receipt_gas_used": "211982", "receipt_contract_address": null, "receipt_status": "1", "block_timestamp": "2025-02-07T16:54:11.000Z", "block_number": "21795951", "block_hash": "0x22de8b12221a7901519ec150466737257519b15403419c0c316f465555c2e205", "transaction_fee": "0.000544170825381468", "method_label": null, "nft_transfers": [], "erc20_transfers": [], "native_transfers": [ { "from_address_entity": "Coinbase", "from_address_entity_logo": "https://entities-logos.s3.us-east-1.amazonaws.com/coinbase.png", "from_address": "0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43", "from_address_label": "Coinbase: Hot Wallet", "to_address_entity": null, "to_address_entity_logo": null, "to_address": "0xcb1c1fde09f811b294172696404e88e658659905", "to_address_label": "reubenrjs.eth", "value": "300000000000000000", "value_formatted": "0.3", "direction": "receive", "internal_transaction": true, "token_symbol": "ETH", "token_logo": "https://cdn.moralis.io/eth/0x.png" } ], "summary": "Received 0.3 ETH from Coinbase: Hot Wallet", "possible_spam": false, "category": "receive" }, //... ] }
Token API: Fetch Real-Time Prices, OHLCV Data, & Swaps
The Token API is a leading tool for fetching any token’s real-time price, OHLCV candlesticks data, swaps, pairs, and much more without breaking a sweat. You can use the Token API to build everything from candlestick charts to advanced token analytics tools with minimal development effort.

Let’s explore some key endpoints of the Token API:
/erc20/:address/price
: Get the price of any token in both USD and the chain’s native currency./erc20/:address/swaps
: Query all swap-related transactions of a token./erc20/:token_address/pairs
: Get all supported pairs of a token./erc20/:token_address/owners
: Fetch a list of a token’s holders with ownership percentages./pairs/:address/snipers
: Query all snipers of any token pair./pairs/:address/ohlcv
: Get OHLCV data for any given pair address.
To show you the accessibility of the Token API, we’ll now look at a brief example of how you can use this interface to get token prices:
import fetch from 'node-fetch'; const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, }; fetch('https://deep-index.moralis.io/api/v2.2/erc20/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0/price?chain=eth&include=percent_change', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
Running the code above gives you the price of the specified token shown in both USD and the chain’s native cryptocurrency. In addition to this, the response also features price changes over time, spam filters, a security score, and much more:
{ tokenName: 'Matic Token', tokenSymbol: 'MATIC', tokenLogo: 'https://logo.moralis.io/0x1_0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0_89c931b3fcf74fe39db7a195bf8a3aa5.png', tokenDecimals: '18', nativePrice: { value: '120155125729897', decimals: 18, name: 'Ether', symbol: 'ETH', address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' }, usdPrice: 0.2781797175413043, usdPriceFormatted: '0.278179717541304328', exchangeName: 'Uniswap v2', exchangeAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', tokenAddress: '0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0', priceLastChangedAtBlock: '21939226', blockTimestamp: '1740678023000', possibleSpam: false, verifiedContract: true, pairAddress: '0x819f3450da6f110ba6ea52195b3beafa246062de', pairTotalLiquidityUsd: '465303.06', '24hrPercentChange': '1.2687099195220788', securityScore: 55 }
NFT API: Query NFT Metadata, Balances, & Prices
With the NFT API, you can seamlessly fetch NFT metadata, balances, prices, and much more across all major EVM chains and the Solana network. Use this top-tier interface to build NFT portfolio views, NFT-Fi analytics tools, and other similar features with minimal effort.

Here are a few NFT API endpoints:
/:address/nft
: Get any wallet’s NFT balance./nft/:address/:token_id
: Fetch the metadata of any NFT./nft/:address/:token_id/floor-price
: Query any NFT’s floor price./:address/nft/transfer
: Fetch a wallet’s NFT transfers./:address/nft/collection
: Get all collections owned by a wallet.
Let’s look at an example of how to fetch the floor price of any NFT to highlight the power of this tool. Here’s a script showing the endpoint in action:
import fetch from 'node-fetch'; const options = { method: 'GET', headers: { accept: 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, }; fetch('https://deep-index.moralis.io/api/v2.2/nft/0xbd3531da5cf5857e7cfaa92426877b022e612cf8/4307/floor-price?chain=eth', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
In return for calling the endpoint above, you’ll get the floor price of the specified NFT, denominated in both USD and the chain’s native currency:
{ address: '0xbd3531da5cf5857e7cfaa92426877b022e612cf8', token_id: '4307', floor_price: '9.444', floor_price_usd: '21965.365', currency: 'eth', marketplace: { name: 'blur', logo: 'https://cdn.moralis.io/marketplaces/blur.png' }, last_updated: '2025-02-27T18:03:39.601Z' }
Please check our API documentation page for more information about the Wallet API, Token API, NFT API, and all our other interfaces!
Summary: Best Crypto Search API 2025 – Exploring the Token Search API
Looking up tokens on wallets, DEXs, and similar platforms can be tedious. Search results are often empty, cluttered with scams, and sometimes even missing popular tokens like Pepe. However, we’re not surprised, as building a reliable token search engine is difficult. You need to index real-time data, integrate cross-chain support, and sort tokens accurately – all of which are difficult and time-consuming to do from scratch.

Fortunately, it’s now possible to streamline the process of building a reliable search feature with Moralis’ Token Search API, allowing you to look up any crypto by name, symbol, address, or pair address. Here are some of the key features of this tool:
- Cross-Chain Support: Search for tokens across Solana and all major EVM chains.
- Smart Token Discovery: Find tokens by name, symbol, address, or pair address, with partial matches and verified assets ranked first.
- Comprehensive Data: Receive comprehensive metadata for all tokens, including price, market cap, holders, and more.
- Filtered Results: Filter by chain to ensure you only get the tokens you’re looking for.
With the Token Search API, you can integrate fast, accurate token search functionality into your crypto project with just one request, giving your users the search experience they deserve!
So, if you want to take your project to the next level using the Token Search API, sign up for a Moralis account today!