categorystringआवश्यक
Topic category ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
https://api.sandbase.ai/v1/api/lemon8/app/topic-post-listReturns posts under a specific topic or hashtag on Lemon8. Requires the topic category ID, category parameter, and hashtag name.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
lemon8christmas.digg_count and comment_count across posts to find the strongest content in a topic.author objects.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.
| Name | Type | Required | Description |
|---|---|---|---|
category | string | Yes | Topic category ID, can be obtained from the interface /lemon8/app/fetch_topic_info |
category_parameter | string | Yes | Category parameter ID, can be obtained from the interface /lemon8/app/fetch_topic_info |
hashtag_name | string | Yes | Hashtag name, can be obtained from the interface /lemon8/app/fetch_topic_info |
max_behot_time | string | No | 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 | string | No | Sort type, 0 for default sort, currently only support default sort, please do not pass other values. |
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"
}
| Field | Meaning |
|---|---|
data.items[].item_id / data.items[].group_id | Numeric ID of the post. Both fields hold the same value in the sample. Pass it to other post APIs. |
data.items[].article_url | Public Lemon8 web link to the post. |
data.items[].article_class | Type of post. The sample value is Gallery, an image post. |
data.items[].author.author_id / data.items[].author.name | ID and display name of the creator who published the post. |
data.items[].author.description | The creator's profile bio text. |
data.items[].digg_count / comment_count / favorite_count | Counts 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_description | Caption text of the post as HTML. Not every post includes these fields. |
data.items[].gallery[].image.thumb_url_list[].url | Thumbnail image URLs for each image in the post. |
data.items[].image_list[].image_multi_gears[].url_list[].url | Larger image URLs for each image, with the size named in gear (for example 1080P). |
data.items[].behot_time / display_time | Timestamps of the post as Unix seconds with decimals. |
data.has_more | Tells you whether more posts are available after this page. |
category, category_parameter, and hashtag_name from Lemon8 Topic Information.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.0 for sort_type or leave it out. Other values are not supported.item_id to get more on one post.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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",
"hashtag_name": "lemon8christmas"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
categorystringआवश्यकTopic category ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
category_parameterstringआवश्यकCategory parameter ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
hashtag_namestringआवश्यकHashtag name, can be obtained from the interface `/lemon8/app/fetch_topic_info`
max_behot_timestringPagination 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_typestringSort type, 0 for default sort, currently only support default sort, please do not pass other values.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Lemon8 Topic Post Listयह API Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/lemon8/app/topic-post-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: category (string), category_parameter (string) और hashtag_name (string)। वैकल्पिक: max_behot_time (string) और sort_type (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Lemon8 Topic Post List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Lemon8 API access के लिए आवेदन करने की आवश्यकता नहीं है।