> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# How do I search recent Lemon8 videos, and how do search tabs differ?

> Call lemon8.app.fetch_search with query, search_tab: main, filter_type: video, and order_by: recent for recent Lemon8 videos; use user or hashtag tabs for accounts and topics, and paginate with max_cursor while has_more is true.

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:

| Field         | Value                               | Effect                                  |
| ------------- | ----------------------------------- | --------------------------------------- |
| `search_tab`  | `main`                              | combined search                         |
| `filter_type` | `video` / `posts` / empty string    | videos only / posts only / any type     |
| `order_by`    | `recent` / `popular` / empty string | newest first / most popular / relevance |

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 matching `query`.
* **`search_tab:"hashtag"`:** Finds Lemon8 topics matching `query`.
* **`search_tab:"main"`:** Finds combined content matching `query`.
* **`fetch_hot_search_keywords`:** Returns trending search terms without accepting a `query`, so trending keywords do not replace keyword search.
* **Topic post lists:** Require `category`, `category_parameter`, and `hashtag_name` obtained from `fetch_topic_info`; topic-post `sort_type` currently supports only the string `"0"`, not `recent`.

## Where does the next search page come from?

1. Send the first `lemon8.app.fetch_search` request with an empty `max_cursor`.
2. For the next page, pass the `max_cursor` returned by the previous response unchanged and continue only while `has_more` is `true`. `max_cursor` is not a page number to increment.
3. Keep `query`, `search_tab`, `filter_type`, and `order_by` unchanged 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.

[Search and archive workflow](/guides/lemon8-search-archive) · [Post and comment identifiers](/faq/lemon8-links-comments)