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.
- Price
- $0.001USD / call
- Method
- POST
- Response
- JSON
- Parameters
- 0 required · 0 optional
Playground
[
{
"data": {
"data": [],
"has_more": false,
"impr_id": "0",
"session_impr_id": "0"
}
}
]Examples
Select an example to load its inputs and result into the playground.
API README
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.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/lemon8/app/discover-tab" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"2. Authentication
Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
3. Parameters
No parameter schema has been published for this API.
4. Response
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"data": [],
"has_more": false,
"impr_id": "0",
"session_impr_id": "0"
}
}
]Explore more
Related APIs
| API | Price | Response |
|---|---|---|
Lemon8 Discover Page ContentThis API Lemon8 | $0.001 per call | JSON |
Lemon8 | $0.001 per call | JSON |
Lemon8 | $0.001 per call | JSON |
Lemon8 | $0.001 per call | JSON |
Lemon8 | $0.001 per call | JSON |
Lemon8 | $0.001 per call | JSON |
Questions
FAQ
How do I use the Lemon8 Discover Page Content API?
Send a POST request to https://api.sandbase.ai/v1/api/lemon8/app/discover-tab with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Lemon8 Discover Page Content API cost?
$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Lemon8 Discover Page Content API accept?
Lemon8 Discover Page Content takes no input parameters; send an empty JSON body.
What does the Lemon8 Discover Page Content API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Lemon8 developer account or API key?
No. Lemon8 Discover Page Content runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Lemon8 API access separately.
