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.
- Цена
- $0.001USD / вызов
- Метод
- POST
- Ответ
- JSON
- Параметры
- 0 обязательных · 0 необязательных
Песочница
[
{
"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"
}
}
]Примеры
Выберите пример, чтобы загрузить его входные данные и результат в playground.
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.
Начните разработку
Отправьте свой первый запрос
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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. Аутентификация
Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
3. Параметры
Для этого API не опубликована схема параметров.
4. Ответ
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"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"
}
}
]Посмотреть больше
Связанные APIs
| API | Цена | Ответ |
|---|---|---|
Lemon8 Hot Search KeywordsЭтот 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 |
Руководства:Best Lemon8 API in 2026: Pricing Compared
Вопросы
FAQ
Как использовать API Lemon8 Hot Search Keywords?
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywords, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
Сколько стоит API Lemon8 Hot Search Keywords?
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Какие параметры принимает API Lemon8 Hot Search Keywords?
Lemon8 Hot Search Keywords не принимает входных параметров; отправьте пустое тело JSON.
Что возвращает API Lemon8 Hot Search Keywords?
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нужен ли мне аккаунт разработчика Lemon8 или API key?
Нет. Lemon8 Hot Search Keywords работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Lemon8.
