How do I search recent Lemon8 videos, and how do search tabs differ?
To search recent Lemon8 videos, call lemon8.app.fetch_search with query, search_tab:"main", filter_type:"video", and order_by:"recent". The search_tab parameter selects the result type: main returns combined content, user returns accounts, and hashtag returns topics. Trending search terms come from a separate action, fetch_hot_search_keywords.
How do I request recent videos only?
lemon8.app.fetch_search requires query, not keyword. Configure the filters as follows:
Do not borrow sort_type from another platform for lemon8.app.fetch_search.
How do accounts, hashtags and trending terms differ?
search_tab:"user": Finds Lemon8 accounts matchingquery.search_tab:"hashtag": Finds Lemon8 topics matchingquery.search_tab:"main": Finds combined content matchingquery.fetch_hot_search_keywords: Returns trending search terms without accepting aquery, so trending keywords do not replace keyword search.- Topic post lists: Require
category,category_parameter, andhashtag_nameobtained fromfetch_topic_info; topic-postsort_typecurrently supports only the string"0", notrecent.
Where does the next search page come from?
- Send the first
lemon8.app.fetch_searchrequest with an emptymax_cursor. - For the next page, pass the
max_cursorreturned by the previous response unchanged and continue only whilehas_moreistrue.max_cursoris not a page number to increment. - Keep
query,search_tab,filter_type, andorder_byunchanged across pages and enforce a page budget.
BeatAPI passes through sanitized search data without imposing a fixed list projection. Save the raw response and the continuation state returned by the response; do not assume a data.items path or a uniform cursor path.
For example, when researching a carry-on packing guide, search "carry on packing" in search_tab:"main" with filter_type:"video" and order_by:"recent" to find current video demonstrations. To identify creators, run a separate lemon8.app.fetch_search call with the same query and search_tab:"user" and archive the account results separately. Review what the shortlisted videos show before deciding which accounts to inspect next.

