Lemon8 Search

2.07 credits/call
ae_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.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.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.

ParameterTypeRequiredDescriptionDefault
querystringYes搜索关键词/Search keyword—
order_bystringNo搜索排序方式/Search sort type""
max_cursorstringNo翻页参数/Pagination parameter""
search_tabstringNo搜索类型/Search typemain
filter_typestringNo搜索过滤类型/Search filter type""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --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"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "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.