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.
- Prix
- $0.001USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 0 obligatoires · 0 facultatifs
Bac à sable
[
{
"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"
}
}
]Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
README de l'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.
Commencer à construire
Envoyez votre première requête
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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. Authentification
Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
3. Paramètres
Aucun schéma de paramètres n'a été publié pour cette API.
4. Réponse
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"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"
}
}
]Explorer plus
APIs associées
| API | Prix | Réponse |
|---|---|---|
Lemon8 Discover Page BannersCette API Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Questions
FAQ
Comment utiliser l’API Lemon8 Discover Page Banners ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/lemon8/app/discover-banners avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
Combien coûte l’API Lemon8 Discover Page Banners ?
$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API Lemon8 Discover Page Banners accepte-t-elle ?
Lemon8 Discover Page Banners n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.
Que renvoie l’API Lemon8 Discover Page Banners ?
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Ai-je besoin d’un compte développeur ou d’une clé API Lemon8 ?
Non. Lemon8 Discover Page Banners fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Lemon8 séparément.
