categorystringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
categorystringobligatoireTopic category ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
category_parameterstringobligatoireCategory parameter ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
hashtag_namestringobligatoireHashtag 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.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Lemon8 Topic Post ListCette API Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/lemon8/app/topic-post-list avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : category (string), category_parameter (string) et hashtag_name (string). Facultatif : max_behot_time (string) et sort_type (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Lemon8 Topic Post List fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Lemon8 séparément.