Lemon8 Discover Page Banners
https://api.sandbase.ai/v1/api/lemon8/app/discover-bannersReturns the current promotional and featured banners displayed on the Lemon8 discover page. Applications can use this data to inspect active platform campaigns and highlighted topics.
- 價格
- $0.001美元/次呼叫
- 方法
- POST
- 回應
- JSON
- 參數
- 0 個必填 · 0 個選填
Playground
[
{
"data": {
"code": 0,
"data": {
"banners": [
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2F7669839647007689490%3FappType%3Dlemon8_otter%26pid%3D524008451%26otter_uid%3D2876%26magic_source%3Ddiscover_banner",
"banner_image": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/596d5ecb30264afda7edd95d2a46adf1",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/596d5ecb30264afda7edd95d2a46adf1~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=6JdDYs33XfHB5%2BnwkvzaHwGxBZk%3D"
}
],
"width": 1
},
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/d3f68d60a28e4f41bac05f5760bd171d",
"url_list": [
{
"url": "https://p19-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/d3f68d60a28e4f41bac05f5760bd171d~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=Gq%2FuU8JwFuC4xsfjR5yme0xrF58%3D"
}
],
"width": 1
},
"id": "25544",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/706f079b57a74a898c920074bb6a146b",
"url_list": [
{
"url": "https://p19-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/706f079b57a74a898c920074bb6a146b~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=udXt62E8MOteizCkNZC1kjeJRrU%3D"
}
],
"width": 1
},
"title": "Share your favorite Korean makeup with us!"
},
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2F7668824437743651591%3FappType%3Dlemon8_otter%26pid%3D524008451%26otter_uid%3D2876%26magic_source%3Ddiscover_banner",
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/d6c1f4a3a26e46f7806a82aef775f5b6",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/d6c1f4a3a26e46f7806a82aef775f5b6~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=U3VtVArwoQMQSjP71qsysMmyMsc%3D"
}
],
"width": 1
},
"id": "25527",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/af5320843d634d17b331e3303b25f81d",
"url_list": [
{
"url": "https://p19-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/af5320843d634d17b331e3303b25f81d~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=bfZ441vgExLRjZnBuvIMB9yCPXY%3D"
}
],
"width": 1
},
"title": "Share your concert looks + styling tips to win! "
},
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2F7668648298161310482%3FappType%3Dlemon8_otter%26pid%3D524008451%26otter_uid%3D2876%26magic_source%3Ddiscover_banner",
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/5fce1f2a3750435dbff05428394e6445",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/5fce1f2a3750435dbff05428394e6445~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=aKDEwhnpQNULEd7WpAxaJeLQnQM%3D"
}
],
"width": 1
},
"id": "25513",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/37c569b4d3b94913b19ff2e6007c4861",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/37c569b4d3b94913b19ff2e6007c4861~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=B6cP0D1yQ7pj89cK712H2V5y1us%3D"
}
],
"width": 1
},
"title": "Post your body care holy grails!"
},
"… 8 more items in the full response"
]
},
"message": "success",
"result_status": 0,
"server_time": "1786090990.46"
}
}
]範例
選擇一個範例,將其輸入與結果載入 playground。
API README
Lemon8 Discover Page Banners API
Returns the banners currently shown on the Lemon8 discover page. Each banner has a title, a click link, and image URLs. The request takes no input parameters.
Use cases
- Show the current Lemon8 campaign banners in an external dashboard.
- Log banner titles over time to see which campaigns Lemon8 promotes.
- Download banner images to archive how the discover page looked on a given day.
- Extract the campaign page links to find which landing pages Lemon8 is promoting.
Request
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/discover-banners" \
-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": {
"banners": [
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2…",
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/ec242ef821a849909b6fedabb9185281",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/ec242ef…"
}
],
"width": 1
},
"id": "26051",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/0fc8e0e164d94b179c3c431ab60ceddb",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/0fc8e0e…"
}
],
"width": 1
},
"title": "Meet the ingredients behind the glow!"
}
]
},
"message": "success",
"result_status": 0,
"server_time": "1793691389.99"
}
Response fields
| Field | Meaning |
|---|---|
data.banners[] | List of banners on the discover page. Each item is one banner. |
data.banners[].id | Banner ID as a string, such as 26051. |
data.banners[].title | Display title of the banner, for example a campaign or topic headline. |
data.banners[].banner_click_url | Link opened when a user taps the banner. It uses the sslocal://webview?url= format, with the target page URL-encoded inside the url value. |
data.banners[].profile_banner_url | Banner image for the profile placement. Contains url_list[].url, uri, width and height. |
data.banners[].collection_banner_url | Banner image for the collection placement. Has the same structure as profile_banner_url. Some banners do not include it. |
data.banners[].banner_image | Main banner image object with url_list[].url, uri, width and height. Only some banners include it. |
data.banners[].profile_banner_url.url_list[].url | Direct image URL (WebP) for the profile banner. Other image objects use the same url_list[].url path. |
server_time | Server timestamp as a string of Unix seconds with decimals. |
Notes
- The request body is an empty object
{}. No parameters are needed. - Image fields differ between banners. Check that
banner_imageorcollection_banner_urlexists before you read it. One banner returnscollection_banner_urias an empty string instead of an image object. - The
widthandheightvalues in the image objects are1in this response, so do not use them as real image sizes. - For other discover page data, call Lemon8 Discover Page Content or Lemon8 Hot Search Keywords.
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/discover-banners" \
-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 尚未發布參數 Schema。
4. 回應
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"code": 0,
"data": {
"banners": [
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2F7669839647007689490%3FappType%3Dlemon8_otter%26pid%3D524008451%26otter_uid%3D2876%26magic_source%3Ddiscover_banner",
"banner_image": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/596d5ecb30264afda7edd95d2a46adf1",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/596d5ecb30264afda7edd95d2a46adf1~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=6JdDYs33XfHB5%2BnwkvzaHwGxBZk%3D"
}
],
"width": 1
},
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/d3f68d60a28e4f41bac05f5760bd171d",
"url_list": [
{
"url": "https://p19-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/d3f68d60a28e4f41bac05f5760bd171d~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=Gq%2FuU8JwFuC4xsfjR5yme0xrF58%3D"
}
],
"width": 1
},
"id": "25544",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/706f079b57a74a898c920074bb6a146b",
"url_list": [
{
"url": "https://p19-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/706f079b57a74a898c920074bb6a146b~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=udXt62E8MOteizCkNZC1kjeJRrU%3D"
}
],
"width": 1
},
"title": "Share your favorite Korean makeup with us!"
},
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2F7668824437743651591%3FappType%3Dlemon8_otter%26pid%3D524008451%26otter_uid%3D2876%26magic_source%3Ddiscover_banner",
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/d6c1f4a3a26e46f7806a82aef775f5b6",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/d6c1f4a3a26e46f7806a82aef775f5b6~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=U3VtVArwoQMQSjP71qsysMmyMsc%3D"
}
],
"width": 1
},
"id": "25527",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/af5320843d634d17b331e3303b25f81d",
"url_list": [
{
"url": "https://p19-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/af5320843d634d17b331e3303b25f81d~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=bfZ441vgExLRjZnBuvIMB9yCPXY%3D"
}
],
"width": 1
},
"title": "Share your concert looks + styling tips to win! "
},
{
"banner_click_url": "sslocal://webview?url=https%3A%2F%2Fv.lemon8-app.com%2Foxygen%2Fpage%2Frelease%2F7668648298161310482%3FappType%3Dlemon8_otter%26pid%3D524008451%26otter_uid%3D2876%26magic_source%3Ddiscover_banner",
"collection_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/5fce1f2a3750435dbff05428394e6445",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/5fce1f2a3750435dbff05428394e6445~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=aKDEwhnpQNULEd7WpAxaJeLQnQM%3D"
}
],
"width": 1
},
"id": "25513",
"profile_banner_url": {
"height": 1,
"uri": "tos-alisg-i-sdweummd6v-sg/37c569b4d3b94913b19ff2e6007c4861",
"url_list": [
{
"url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-alisg-i-sdweummd6v-sg/37c569b4d3b94913b19ff2e6007c4861~tplv-sdweummd6v-shrinkf:1200:0:q75.webp?lk3s=8f186ca6&source=layer_96&x-expires=1786708800&x-signature=B6cP0D1yQ7pj89cK712H2V5y1us%3D"
}
],
"width": 1
},
"title": "Post your body care holy grails!"
},
"… 8 more items in the full response"
]
},
"message": "success",
"result_status": 0,
"server_time": "1786090990.46"
}
}
]探索更多
相關 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 |
問題
常見問題
我要如何使用 Lemon8 Discover Page Banners API?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/lemon8/app/discover-banners。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
Lemon8 Discover Page Banners API 的費用是多少?
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
Lemon8 Discover Page Banners API 接受哪些參數?
Lemon8 Discover Page Banners 不接受任何輸入參數;請送出空的 JSON 主體。
Lemon8 Discover Page Banners API 會回傳什麼?
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
我需要 Lemon8 開發者帳號或 API 金鑰嗎?
不需要。Lemon8 Discover Page Banners 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Lemon8 API 存取權。
