Lemon8 Search
Search Lemon8 for content, accounts, or hashtags by keyword. Inputs: - query (required string): Search keyword. - search_tab (optional string, default "main"): "main" for Top/comprehensive search, "user" for Accounts, "hashtag" for Hashtags, or "article" for Posts. - filter_type (optional string, default ""): "" for all content, "video" for videos, or "posts" for posts. - order_by (optional string, default ""): "" for relevance, "popular" for popularity, or "recent" for newest first. - max_cursor (optional string, default ""): Leave empty for the first page. For later pages, use the previous response's max_cursor with the same search criteria. Check has_more to determine whether more results are available. Returns: The requested page of search results in the response's data field, with pagination information used to continue the search. Detailed result-item fields are not specified.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Each pagination request is billed as a separate call.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
query | string | Yes | 搜索关键词/Search keyword | — |
order_by | string | No | 搜索排序方式/Search sort type | "" |
max_cursor | string | No | 翻页参数/Pagination parameter | "" |
search_tab | string | No | 搜索类型/Search type | main |
filter_type | string | No | 搜索过滤类型/Search filter type | "" |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_lemon8_search' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"filter_type": "posts",
"max_cursor": "",
"order_by": "recent",
"query": "INMO",
"search_tab": "article"
}
}'{
"code": 200,
"data": [
{
"code": 0,
"message": "success",
"result_status": 2,
"server_time": "1794153526.77"
}
],
"docs": "https://api.tikhub.io/#/Lemon8-App-API/fetch_search_api_v1_lemon8_app_fetch_search_get",
"message": "Request successful. This request will incur a charge."
}This example shows part of the response. Copied content is valid JSON.

