Lemon8 Discover Page Content
https://api.sandbase.ai/v1/api/lemon8/app/discover-tabReturns the main content featured on the Lemon8 discover tab. Retrieve trending recommendations and highlighted posts directly from the app feed.
- Prezzo
- $0.001USD / chiamata
- Metodo
- POST
- Risposta
- JSON
- Parametri
- 0 obbligatori · 0 opzionali
Playground
[
{
"data": {
"data": [],
"has_more": false,
"impr_id": "0",
"session_impr_id": "0"
}
}
]Esempi
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
README API
Lemon8 Discover Page Content API
Returns the content featured on the Lemon8 discover tab as a list in data, plus paging flags and impression IDs. It needs no input parameters.
Use cases
- Pull the current discover feed to see which posts Lemon8 recommends.
- Check the discover tab on a schedule to track which featured content appears over time.
- Collect post entries from the feed, then look up each one with a post details call.
Request
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/discover-tab" \
-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.
{
"data": [],
"has_more": false,
"impr_id": "0",
"session_impr_id": "0"
}
Response fields
| Field | Meaning |
|---|---|
data | List of featured discover tab items. The sample response returns an empty list, so check its length before reading items. |
has_more | Boolean flag that shows whether more items are available after this response. It is false in the sample response. |
impr_id | Impression ID string for this response. The sample value is "0". |
session_impr_id | Impression ID string for the session. The sample value is "0". |
Notes
- The request body is an empty object: send
{}. - The
datalist can come back empty, so handle that case in your code. - To get full details for a post found in the feed, call Lemon8 Post Details.
- For promotional banners on the same page, use Lemon8 Discover Page Banners.
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/discover-tab" \
-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": {
"data": [],
"has_more": false,
"impr_id": "0",
"session_impr_id": "0"
}
}
]Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
Lemon8 Discover Page ContentQuesta 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 Discover Page Content?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/lemon8/app/discover-tab 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 Discover Page Content?
$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 Discover Page Content?
Lemon8 Discover Page Content non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API Lemon8 Discover Page Content?
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 Discover Page Content 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.
