Skip to Content
APIHomepage & SearchGet Hot Search Information

Get Hot Search Information

1. Overview & Typical Use

Returns the hot token recommendation list for the search bar, used as the default display in the search box.

  • Typical use: rendering hot token recommendations in the search bar, providing search suggestion data.
  • When not to use: for a complete hot search ranking (including contracts), use “Get Hot Search Info”; for search results, use “Search Token / Contract / Account Info”.

2. Endpoint & Authentication

GET /api/search/bar

For Base URL and authentication, see Common Network & Authentication.

3. Request

No parameters required.

4. Response

The response is a top-level array; each element has the following structure:

FieldTypeRequiredDescription
token_idstringRequiredToken contract address (TRC20) or token ID (TRC10)
vip_tokenbooleanRequiredWhether it is a VIP token
namestringRequiredToken name
iconstringRequiredToken icon URL
typeintegerRequiredToken type: 20 = TRC20, 10 = TRC10
abbrstringRequiredToken abbreviation

5. Errors

For HTTP status codes, see Common Errors. Key points for this endpoint:

  • No parameters, always returns data: an empty result is not an error.
Last updated on: