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"
}
}
]उदाहरण
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
API README
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.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"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 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
Lemon8 | $0.001 प्रति कॉल | JSON |
प्रश्न
FAQ
Lemon8 Hot Search Keywords API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/lemon8/app/hot-search-keywords पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Lemon8 Hot Search Keywords API की लागत कितनी है?
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Lemon8 Hot Search Keywords API कौन-से parameters स्वीकार करती है?
Lemon8 Hot Search Keywords कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
Lemon8 Hot Search Keywords API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Lemon8 developer account या API key चाहिए?
नहीं। Lemon8 Hot Search Keywords SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Lemon8 API access के लिए आवेदन करने की आवश्यकता नहीं है।
