search

Currency Search (Typeahead)

Changed on

Token search for source/destination pickers. Queries shorter than 2 characters return an empty list.

get/search/currencies

Request

Query parameters

qstring required

Search query (symbol, name fragment, or address prefix). Minimum 2 characters.

chain_idsstring

Comma-separated ChainID filter.

limitinteger

Maximum results (default 20, max 50).

Headers

X-API-KEYstring required

API key for authentication

Response

Ranked currency matches (may be empty)

Example response

{
  "currencies": [
    {
      "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "chain_id": 1,
      "decimals": 6,
      "id": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1",
      "name": "USD Coin",
      "price_usd": 1,
      "symbol": "USDC"
    }
  ]
}

Changes

    • warning

      added the new 20000000000002.00 enum value to the // response property for the response status

    • breaking

      the response property // became optional for the status

    • warning

      added the new 4663.00 enum value to the // response property for the response status

    • info

      added the optional property // to the response with the status