Zalo User icon

Zalo User

Read Zalo user information

Search Friends

AI-generated

Summary

Loads up to the configured maximum number of Zalo friends, searches their UID, name, display name, alias, and phone number for the query, then returns up to the configured result limit. Search is case-insensitive and ignores accents; an empty query matches all loaded friends.

Inputs

  • Search Query — Text to find in a friend’s UID, name, display name, alias, or phone number. Accents are ignored. Defaults to empty, which returns the first results without filtering.
  • Max Friends To Load — Maximum friends to load before searching. Defaults to 20,000; minimum 1.
  • Limit — Maximum number of matches to return. Defaults to 50; minimum 1.
  • Zalo API credentials (required) — The node uses the configured Zalo API credentials to log in and retrieve friends.

Output shape

One item per input item, containing a single JSON object with the search results.

The object includes status, search_query, normalized_query, total_friends_loaded, match_count, matches, and cookie_status. Each entry in matches contains normalized friend fields such as uid, user_id, name, display_name, alias, phone_number, avatar, and gender. Friend loading is capped by Max Friends To Load, and matches are sliced to Limit.

Links

Discussion