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.
- Prezzo
- $0.001USD / chiamata
- Metodo
- POST
- Risposta
- JSON
- Parametri
- 0 obbligatori · 0 opzionali
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"
}
}
]Esempi
Seleziona un esempio per caricare i suoi input e il risultato nel 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.
Inizia a costruire
Invia la tua prima richiesta
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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. Autenticazione
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.
3. Parametri
Non è stato pubblicato alcuno schema dei parametri per questa API.
4. Risposta
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"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"
}
}
]Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
Lemon8 Hot Search KeywordsQuesta 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
FAQ
Come uso l'API Lemon8 Hot Search Keywords?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywords 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.
Quanto costa l'API Lemon8 Hot Search Keywords?
$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Quali parametri accetta l'API Lemon8 Hot Search Keywords?
Lemon8 Hot Search Keywords non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API Lemon8 Hot Search Keywords?
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
Mi serve un account sviluppatore o una chiave API Lemon8?
No. Lemon8 Hot Search Keywords 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.
