categorystringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
categorystringobbligatorioTopic category ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
category_parameterstringobbligatorioCategory parameter ID, can be obtained from the interface `/lemon8/app/fetch_topic_info`
hashtag_namestringobbligatorioHashtag 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.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Lemon8 Topic Post ListQuesta API Lemon8 | $0.001 per chiamata | JSON |
Lemon8 | $0.001 per chiamata | JSON |
Lemon8 | $0.001 per chiamata | JSON |
Lemon8 | $0.001 per chiamata | JSON |
Lemon8 | $0.001 per chiamata | JSON |
Lemon8 | $0.001 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/lemon8/app/topic-post-list con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.001 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.
Richiesti: category (string), category_parameter (string) e hashtag_name (string). Facoltativi: max_behot_time (string) e sort_type (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Lemon8 Topic Post List funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Lemon8.