What this endpoint does
With this API, you can:- Perform a universal search using an input string
- Return results such as token pricing information, holders data, and metadata depending on the result type
- Filter results to specific chains using
filters(JSON) - Sort results using
sortByand control output size withlimit - Use exact symbol match by wrapping the input in double quotes (example:
"W")
What you’ll need
- Basic knowledge of REST APIs
- A token symbol or name to search (example:
eth,parti) - A Mobula API key
Get a free API key: Here Optional:
- DexScreener (to pick real token symbols to test)
When to use Fast Search
Use this endpoint when you want to:- Search tokens quickly by symbol or name
- Build a search bar for tokens, assets, or pairs
- Restrict results to specific chains like Ethereum, Base, Arbitrum, or Solana
- Sort results by metrics like
volume24hormarketCap - Use exact match search for short symbols to reduce noisy results
Walkthrough to Get Fast Search
1. Prepare your query
The Fast Search endpoint requires one parameter:| Parameter | Description |
|---|---|
input | Search query string (example: eth, parti, "W") |
type: Type of results to return:tokens,assets, orpairsfilters: JSON string with filter options likeblockchains(example:filters={"blockchains":"8453,1,42161,10,solana"})sortBy: Sort field (example:volume24h,marketCap,searchScore,trendingScore24h)limit: Maximum number of results (1 to 20, default: 5)excludeBonded: Exclude bonded tokens from results
"W" returns only tokens with symbol W, not WETH or WBTC.
2. Find a token to test with DexScreener
To get a real search term:- Open DexScreener
- Pick a token
- Copy the token symbol or name
input parameter.
3. Fill the API form
Either:- Enter an
inputstring only, or - Enter
inputand settype,filters,sortBy,limit, orexcludeBonded
Reviewing the response
- Search results list: The endpoint returns the top matches for your input query in
data[]. - Result type: Use
typeto control whether you gettokens,assets, orpairs. - Ranking: Results are ranked using
searchScoreby default. You can change ranking usingsortBy(example:volume24h,marketCap). - Filters: Use
filtersto restrict results to specific chains by passing a JSON object or JSON string forblockchains. - Exact match: Wrap your input in double quotes to search for an exact symbol match, useful for short symbols.
- Output size: Use
limitto control how many results are returned (up to 20).
Summary
The Fast Search endpoint helps you:- Search tokens using an input string like a symbol or name
- Filter results by chain using
filtersand sort by key metrics usingsortBy - Use double quotes for exact symbol matches when needed
- Control output size with
limit
Try Mobula for Free
Try our free API today and start building in minutes.Get your free API key: Here