Solscan Pro API Token Search
Function: GET /v2.0/token/search
Solscan’s v2.0 update allows you to query the entire Solana token list with specific filters, making it perfect for building discovery tools, analytics dashboards, or just keeping tabs on specific assets without scraping the chain manually.

Key Capabilities:
- Precision Control: Toggle between
exactmatching (for when you know the specific ticker) orfuzzymatching (for broad discovery). - Spam Filtering: The
exclude_unverified_tokenboolean is a lifesaver for filtering out rug-pulls or copycat tokens that haven't been verified by Solscan. - Smart Sorting: You don't just get a list; you get a ranked list. Sort by
market_cap,volume_24h, orreputation.
Core Parameters:
| Parameter | Type | Required? | Description |
|---|---|---|---|
keyword |
String | Yes | Your search term (e.g., "USDC", "Bonk", or an address). |
search_mode |
String | No | exact or fuzzy. Defaults to broad search if unspecified. |
search_by |
String | No | Scope your search: name, symbol, address, or combination. |
exclude_unverified_token |
Bool | No | Set to true to clean up your results. |
sort_by |
String | No | Rank results by market_cap, volume_24h, etc. |
Example Request (cURL):
`curl -X GET "https://pro-api.solscan.io/v2.0/token/search?keyword=sol&search_mode=fuzzy&sort_by=market_cap&sort_order=desc&exclude_unverified_token=true&page_size=10" \
-H "token: YOUR_API_KEY"`What You Get Back:
A structured JSON object containing verified data points including current price, 24h volume, holder count, market cap rank, and even the "first mint" timestamp.
Sinh Nguyen
Last updated: