Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Lemon8 Topic Post List

API 文件
https://api.sandbase.ai/v1/api/lemon8/app/topic-post-list

Returns posts under a specific topic or hashtag on Lemon8. Requires the topic category ID, category parameter, and hashtag name.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
3 個必填 · 2 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Topic category ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
Category parameter ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
Hashtag name, can be obtained from the interface `/lemon8/app/fetch_topic_info`
Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_behot_time returned by the last request is used for subsequent requests.
Sort type, 0 for default sort, currently only support default sort, please do not pass other values.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Lemon8 Topic Post List API

Returns a page of Lemon8 posts under one topic hashtag. Each post includes its author, engagement counts, link, and images. You need the topic category, category_parameter, and hashtag_name values.

Use cases

  • Track which posts and creators appear under a seasonal hashtag such as lemon8christmas.
  • Compare digg_count and comment_count across posts to find the strongest content in a topic.
  • Collect image URLs and captions from a hashtag for content research.
  • Build a list of active creators in a topic from the author objects.

Request

curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/topic-post-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category": "590", "category_parameter": "7174447913778593798", "hashtag_name": "lemon8christmas"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
categorystringYesTopic category ID, can be obtained from the interface /lemon8/app/fetch_topic_info
category_parameterstringYesCategory parameter ID, can be obtained from the interface /lemon8/app/fetch_topic_info
hashtag_namestringYesHashtag name, can be obtained from the interface /lemon8/app/fetch_topic_info
max_behot_timestringNoPagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the max_behot_time returned by the last request is used for subsequent requests.
sort_typestringNoSort type, 0 for default sort, currently only support default sort, please do not pass other values.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "duration": 2,
    "has_more": true,
    "items": [
      {
        "activity_forum_list": [],
        "app_transcode_rule": {},
        "article_class": "Gallery",
        "article_selected": false,
        "article_sub_class": "normal",
        "article_tag_list": [],
        "article_type": 0,
        "article_url": "https://www.lemon8-app.com/@lemon8_us/7578989388068946487?user_id=72623449159366…",
        "author": {
          "author_id": 7233310269842719790,
          "avatar": {
            "height": 1,
            "log_extra": "{\"channel_id\":590,\"image_index\":0,\"image_type\":\"avatar\",\"impression_index\":0,\"mi…",
            "main_color": "",
            "mimetype": "",
            "origin_uri": "user-avatar-musically/af9910a9b88477e9a051741b7cc737f6",
            "thumb_uri": "thumb/user-avatar-musically/af9910a9b88477e9a051741b7cc737f6",
            "thumb_url_list": [],
            "uri": "https://p16-lemon8-va-sign.tiktokcdn-us.com/user-avatar-musically/af9910a9b88477…"
          },
          "description": "Lemon8 official account🍋\nNew Feature Notes is LIVE 🔥🍋",
          "link": "sslocal://user_profile?user_id=7233310269842719790",
          "name": "Lemon8 US",
          "rec_reason": "",
          "relation": 0,
          "user_auth_info": "{\"auth_type\":102,\"show_auth_symbol\":true}"
        },
        "avatar_clickable": false,
        "ban_comment": 0,
        "behot_time": 1793691394.999
      }
    ],
    "latency_info": {
      "gostream": 953685,
      "loader": 417090,
      "planner": 23,
      "provider": 525246,
      "stream_api": 1229507
    },
    "login_status": 1,
    "module_offset": 20,
    "session_impr_id": 7703845882646497549,
    "tip": "10 stories from TopBuzz",
    "total_number": 10
  },
  "message": "success",
  "server_time": "1793691395.48"
}

Response fields

FieldMeaning
data.items[].item_id / data.items[].group_idNumeric ID of the post. Both fields hold the same value in the sample. Pass it to other post APIs.
data.items[].article_urlPublic Lemon8 web link to the post.
data.items[].article_classType of post. The sample value is Gallery, an image post.
data.items[].author.author_id / data.items[].author.nameID and display name of the creator who published the post.
data.items[].author.descriptionThe creator's profile bio text.
data.items[].digg_count / comment_count / favorite_countCounts of likes, comments, and saves for the post. Likes is the usual reading of digg_count, and saves of favorite_count.
data.items[].abstract / article_descriptionCaption text of the post as HTML. Not every post includes these fields.
data.items[].gallery[].image.thumb_url_list[].urlThumbnail image URLs for each image in the post.
data.items[].image_list[].image_multi_gears[].url_list[].urlLarger image URLs for each image, with the size named in gear (for example 1080P).
data.items[].behot_time / display_timeTimestamps of the post as Unix seconds with decimals.
data.has_moreTells you whether more posts are available after this page.

Notes

  • Get category, category_parameter, and hashtag_name from Lemon8 Topic Information.
  • Leave max_behot_time empty on the first call. For the next page, pass the max_behot_time value from the previous response, and stop when data.has_more is false.
  • Pass 0 for sort_type or leave it out. Other values are not supported.
  • Use Lemon8 Post Details or Lemon8 Post Comments List with an item_id to get more on one post.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Lemon8每次呼叫 $0.001JSON
Lemon8每次呼叫 $0.001JSON
Lemon8每次呼叫 $0.001JSON
Lemon8每次呼叫 $0.001JSON
Lemon8每次呼叫 $0.001JSON
Lemon8每次呼叫 $0.001JSON

指南:Best Lemon8 API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Lemon8 Topic Post List API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/lemon8/app/topic-post-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Lemon8 Topic Post List API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Lemon8 Topic Post List API 接受哪些參數?

必要:category (string), category_parameter (string) 和 hashtag_name (string)。 選填:max_behot_time (string) 和 sort_type (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Lemon8 Topic Post List API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Lemon8 開發者帳號或 API 金鑰嗎?

不需要。Lemon8 Topic Post List 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Lemon8 API 存取權。