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.
- Giá
- $0.001USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 0 bắt buộc · 0 tùy chọn
Phòng thử nghiệm
[
{
"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"
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README API
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.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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. Xác thực
Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
3. Tham số
Chưa có schema tham số nào được công bố cho API này.
4. Phản hồi
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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"
}
}
]Khám phá thêm
APIs liên quan
| API | Giá | Phản hồi |
|---|---|---|
Lemon8 Discover Page BannersAPI này Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Câu hỏi
FAQ
Làm thế nào để dùng API Lemon8 Discover Page Banners?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/lemon8/app/discover-banners với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
API Lemon8 Discover Page Banners có giá bao nhiêu?
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
API Lemon8 Discover Page Banners chấp nhận những tham số nào?
Lemon8 Discover Page Banners không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.
API Lemon8 Discover Page Banners trả về gì?
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Tôi có cần tài khoản nhà phát triển hoặc API key của Lemon8 không?
Không. Lemon8 Discover Page Banners chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Lemon8.
