magnifying-glassSearch

General Search

post

Search for tokens and entities by name, symbol, or contract address. This endpoint provides a unified search experience across all Nansen data.

Use Cases:

  1. Find token addresses: Search by name or symbol to get contract addresses (e.g., "AAVE", "Uniswap")

  2. Discover entities: Find known entities like exchanges, funds, and public figures (e.g., "vitalik", "Binance")

  3. Resolve addresses: Search by contract address to identify tokens

  4. Filter by chain: Narrow down results to specific blockchains

Search Parameters:

  • search_query: Token name, symbol, contract address, or entity name

  • result_type: Filter by "token", "entity", or "any" (default: "any")

  • chain: Optional blockchain filter (e.g., "ethereum", "solana", "base")

  • limit: Maximum results (1-50, default: 25)

Example Request:

{
  "search_query": "AAVE",
  "result_type": "token",
  "chain": "ethereum"
}

Example Response:

Important Notes:

  • Prices may be delayed; use token OHLCV endpoints for real-time prices

  • Results are sorted by relevance/popularity rank

  • Use the chain parameter (not the query string) to filter by blockchain

Authorizations
apiKeystringRequired

API key for authentication

Body

Request model for general search endpoint.

This endpoint searches for tokens and entities by name, symbol, or address.

search_querystring · min: 1 · max: 200Required

Search query - token name, symbol, contract address, or entity name.

Example: AAVE
result_typestring · enumOptional

Type filter - 'token' for tokens only, 'entity' for entities only, 'any' for both.

Default: anyPossible values:
chainany ofOptional

Optional chain filter to narrow down token results (e.g., 'ethereum', 'solana', 'base').

Example: ethereum
stringOptional
limitinteger · min: 1 · max: 50Optional

Maximum number of results to return (default: 25, max: 50).

Default: 25
Responses
chevron-right
200

Search results with tokens and entities

application/json
post
/api/v1/search/general

Last updated

Was this helpful?