Lemon8 Hot Search Keywords
https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywordsReturns trending search keywords and topics currently popular on Lemon8. Call this endpoint to track real-time user discovery trends across the app.
- Cena
- $0.001USD / wywołanie
- Metoda
- POST
- Odpowiedź
- JSON
- Parametry
- 0 wymaganych · 0 opcjonalnych
Playground
[
{
"data": {
"code": 0,
"data": {
"guess_hit_id": "",
"hot_random_words": null,
"hot_word_search_type": 2,
"hot_words": [
{
"extra": "{\"recall_score\":{\"personalized_viking_recall\":\"-4.388337\"},\"recall_position\":{\"personalized_viking_recall\":1573},\"roughsort_score\":0.03871828317642212,\"predict_ctr_score\":0.00045123687596060336,\"model_pred:_CTR\":-7.703066825866699,\"model_pred:_CTR:pred_recommend_ctr\":-7.030240535736084,\"model_pred:_CTR:pred_rs_ctr\":-4.774655342102051,\"model_pred:_CTR:pred_sar_ctr\":-5.579335689544678,\"model_pred:_CTR:pred_sug_ctr\":-7.703066825866699,\"model_pred:roughsort_score\":0.03871828317642212,\"model_pred:utility\":0.00045123687596060336,\"slot_utility_scores\":[],\"predict_utility_score\":0.0008839369402267039,…",
"group_id": "1500007779437957668",
"query": "New KATSEYE single",
"recall_source": "personalized_viking_recall",
"source": "preset_words_organic",
"type": "plain"
},
{
"extra": "{\"recall_score\":{\"bert_viking_two_hop_recall\":\"0.000000\"},\"recall_position\":{\"bert_viking_two_hop_recall\":9},\"roughsort_score\":0.03871828317642212,\"predict_ctr_score\":0.018098412081599236,\"model_pred:_CTR\":-3.993666887283325,\"model_pred:_CTR:pred_recommend_ctr\":-6.1192803382873535,\"model_pred:_CTR:pred_rs_ctr\":-4.794894218444824,\"model_pred:_CTR:pred_sar_ctr\":-3.9972198009490967,\"model_pred:_CTR:pred_sug_ctr\":-3.993666887283325,\"model_pred:roughsort_score\":0.03871828317642212,\"model_pred:utility\":0.018098412081599236,\"slot_utility_scores\":[],\"predict_utility_score\":0.0021952090319246054,\"ranki…",
"group_id": "1977623035274293832",
"query": "adidas spezial originals",
"query_labels": [
{
"label_priority": 3,
"label_type": "hot",
"query_type": "hot"
}
],
"recall_source": "bert_viking_two_hop_recall",
"source": "hot_recom",
"type": "plain"
},
{
"extra": "{\"recall_score\":{\"bg_search_history_recall\":\"85.000000\"},\"recall_position\":{\"bg_search_history_recall\":122},\"roughsort_score\":0.03871828317642212,\"predict_ctr_score\":0.05719682574272156,\"model_pred:_CTR\":-2.802359104156494,\"model_pred:_CTR:pred_recommend_ctr\":-6.042870998382568,\"model_pred:_CTR:pred_rs_ctr\":-4.024166584014893,\"model_pred:_CTR:pred_sar_ctr\":-4.332452774047852,\"model_pred:_CTR:pred_sug_ctr\":-2.802359104156494,\"model_pred:roughsort_score\":0.03871828317642212,\"model_pred:utility\":0.05719682574272156,\"slot_utility_scores\":[],\"predict_utility_score\":0.002369105350226164,\"ranking_rul…",
"group_id": "3343723411880254870",
"query": "camping",
"query_labels": [
{
"label_priority": 2,
"label_type": "searched",
"query_type": "searched"
}
],
"recall_source": "bg_search_history_recall",
"source": "recom_search",
"type": "plain"
},
"… 7 more items in the full response"
],
"impr_id": "20260929140925E911321309BEA91F1A0F"
},
"message": "success",
"result_status": 0,
"server_time": "1790690966.19"
}
}
]Przykłady
Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
README API
Lemon8 Hot Search Keywords API
Returns the list of trending search keywords currently shown in Lemon8 search. It needs no input: send an empty JSON object {}.
Use cases
- Collect the current hot search queries on Lemon8 to see which topics users look for.
- Pick keywords for Lemon8 post titles and tags from the terms in
data.hot_words[].query. - Store the list on a schedule to compare which queries appear or drop out over time.
- Feed a returned
queryinto Lemon8 search to see the posts that match a trending term.
Request
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"guess_hit_id": "",
"hot_random_words": null,
"hot_word_search_type": 2,
"hot_words": [
{
"extra": "{\"recall_score\":{\"bert_viking_two_hop_recall\":\"0.000000\"},\"recall_position\":{\"be…",
"group_id": "7590746814001978624",
"query": "football catching tips",
"recall_source": "bert_viking_two_hop_recall",
"source": "recom_search",
"type": "plain"
}
],
"impr_id": "202611030736318E8A0C01D997AA17A64C"
},
"message": "success",
"result_status": 0,
"server_time": "1793691391.95"
}
Response fields
| Field | Meaning |
|---|---|
data.hot_words[].query | The trending search keyword text, for example christmas. |
data.hot_words[].group_id | ID string attached to the keyword entry. |
data.hot_words[].type | Kind of keyword entry. The sample shows plain. |
data.hot_words[].source | Where the keyword comes from. The sample shows recom_search. |
data.hot_words[].recall_source | Name of the recall method that selected this keyword, for example bert_viking_two_hop_recall. |
data.hot_words[].extra | A JSON string with ranking details such as recall_score, recall_position and roughsort_score. Parse it as JSON before use. |
data.hot_random_words | Extra random keywords. It is null in the sample response. |
data.hot_word_search_type | Numeric search type code for the list. The sample shows 2. |
data.impr_id | ID string for this response. |
code / message / result_status | Call status. code 0 and message success mean the call worked. |
Notes
- The endpoint takes no parameters and returns the keyword list in a single response, with no pagination.
server_timeis a Unix timestamp in seconds, returned as a string with decimals.- To see posts for a keyword, pass its
queryto Lemon8 Search. - To browse more of the app's discovery content, call Lemon8 Discover Page Content.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Wyślij pierwsze żądanie
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Uwierzytelnianie
Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
3. Parametry
Nie opublikowano schematu parametrów dla tego API.
4. Odpowiedź
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"code": 0,
"data": {
"guess_hit_id": "",
"hot_random_words": null,
"hot_word_search_type": 2,
"hot_words": [
{
"extra": "{\"recall_score\":{\"personalized_viking_recall\":\"-4.388337\"},\"recall_position\":{\"personalized_viking_recall\":1573},\"roughsort_score\":0.03871828317642212,\"predict_ctr_score\":0.00045123687596060336,\"model_pred:_CTR\":-7.703066825866699,\"model_pred:_CTR:pred_recommend_ctr\":-7.030240535736084,\"model_pred:_CTR:pred_rs_ctr\":-4.774655342102051,\"model_pred:_CTR:pred_sar_ctr\":-5.579335689544678,\"model_pred:_CTR:pred_sug_ctr\":-7.703066825866699,\"model_pred:roughsort_score\":0.03871828317642212,\"model_pred:utility\":0.00045123687596060336,\"slot_utility_scores\":[],\"predict_utility_score\":0.0008839369402267039,…",
"group_id": "1500007779437957668",
"query": "New KATSEYE single",
"recall_source": "personalized_viking_recall",
"source": "preset_words_organic",
"type": "plain"
},
{
"extra": "{\"recall_score\":{\"bert_viking_two_hop_recall\":\"0.000000\"},\"recall_position\":{\"bert_viking_two_hop_recall\":9},\"roughsort_score\":0.03871828317642212,\"predict_ctr_score\":0.018098412081599236,\"model_pred:_CTR\":-3.993666887283325,\"model_pred:_CTR:pred_recommend_ctr\":-6.1192803382873535,\"model_pred:_CTR:pred_rs_ctr\":-4.794894218444824,\"model_pred:_CTR:pred_sar_ctr\":-3.9972198009490967,\"model_pred:_CTR:pred_sug_ctr\":-3.993666887283325,\"model_pred:roughsort_score\":0.03871828317642212,\"model_pred:utility\":0.018098412081599236,\"slot_utility_scores\":[],\"predict_utility_score\":0.0021952090319246054,\"ranki…",
"group_id": "1977623035274293832",
"query": "adidas spezial originals",
"query_labels": [
{
"label_priority": 3,
"label_type": "hot",
"query_type": "hot"
}
],
"recall_source": "bert_viking_two_hop_recall",
"source": "hot_recom",
"type": "plain"
},
{
"extra": "{\"recall_score\":{\"bg_search_history_recall\":\"85.000000\"},\"recall_position\":{\"bg_search_history_recall\":122},\"roughsort_score\":0.03871828317642212,\"predict_ctr_score\":0.05719682574272156,\"model_pred:_CTR\":-2.802359104156494,\"model_pred:_CTR:pred_recommend_ctr\":-6.042870998382568,\"model_pred:_CTR:pred_rs_ctr\":-4.024166584014893,\"model_pred:_CTR:pred_sar_ctr\":-4.332452774047852,\"model_pred:_CTR:pred_sug_ctr\":-2.802359104156494,\"model_pred:roughsort_score\":0.03871828317642212,\"model_pred:utility\":0.05719682574272156,\"slot_utility_scores\":[],\"predict_utility_score\":0.002369105350226164,\"ranking_rul…",
"group_id": "3343723411880254870",
"query": "camping",
"query_labels": [
{
"label_priority": 2,
"label_type": "searched",
"query_type": "searched"
}
],
"recall_source": "bg_search_history_recall",
"source": "recom_search",
"type": "plain"
},
"… 7 more items in the full response"
],
"impr_id": "20260929140925E911321309BEA91F1A0F"
},
"message": "success",
"result_status": 0,
"server_time": "1790690966.19"
}
}
]Odkryj więcej
Powiązane APIs
| API | Cena | Odpowiedź |
|---|---|---|
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Przewodniki:Best Lemon8 API in 2026: Pricing Compared
Pytania
FAQ
Jak używać API Lemon8 Hot Search Keywords?
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywords z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Ile kosztuje API Lemon8 Hot Search Keywords?
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Jakie parametry przyjmuje API Lemon8 Hot Search Keywords?
Lemon8 Hot Search Keywords nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.
Co zwraca API Lemon8 Hot Search Keywords?
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Czy potrzebuję konta deweloperskiego Lemon8 lub klucza API?
Nie. Lemon8 Hot Search Keywords działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Lemon8.
