Lemon8 Search

https://api.sandbase.ai/v1/api/lemon8/app/search

Search Lemon8 posts and users by keyword: post titles, content, authors, images and engagement, with Top and other tabs, sorting and filters.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 4 optional
Production route

Try the model

Playground

Open playground
Input
Search filter type, default is an empty string, optional values are as follows: Empty string: All (default using this parameter to search); video: Search only video; posts: Search only posts
Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the `max_cursor` returned by the last request is used for subsequent requests. You can judge whether there is more data by the `has_more` field in the return result.
Search sort type, default is an empty string, optional values are as follows: Empty string: Relevance (default using this parameter to sort); popular: Sort by popularity; recent: Sort from new to old
Search keyword
Search type, default is `main`, optional values are as follows: main: Display as `Top` in the APP (comprehensive search, default using this parameter to search); user: Display as `Accounts` in the APP (search user accounts); hashtag: Display as `Hashtags` in the APP (search hashtags); article: Display as `Posts` in the APP (search articles)
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

query
string · required
filter_type
string · optional
max_cursor
string · optional
order_by
string · optional
search_tab
string · optional

Access

Provider
Lemon8
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/lemon8/app/search
Authentication
Bearer API key

API README

Lemon8 Search API

Search Lemon8 for a keyword and get matching posts and users. Choose the tab with search_tab and paginate with max_cursor.

Use cases

  • Research lifestyle and product trends on Lemon8.
  • Find creators in a niche.
  • Monitor brand mentions.

Request

curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "OpenAI"}'

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword
order_bystringNoSearch sort type, default is an empty string, optional values are as follows: Empty string: Relevance (default using th…
max_cursorstringNoPagination parameter, can be obtained from the return result of the last request.
search_tabstringNoSearch type, default is main, optional values are as follows: main: Display as Top in the APP (comprehensive search…
filter_typestringNoSearch filter type, default is an empty string, optional values are as follows: Empty string: All (default using this p…

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "data": {
    "has_more": true,
    "items": [
      {
        "articles": [
          {
            "group_id": "7661250232746885645",
            "article_class": "Gallery",
            "language": "en",
            "publish_time": 1783774883,
            "read_count": 16,
            "title": "ChatGPT just clocked in. 👀    OpenAI launched Cha…",
            "article_url": "https://www.lemon8-app.com/@itsdebbiedarlin/76612…",
            "author": {
              "name": "<user>"
            }
          }
        ]
      }
    ]
  }
}

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/lemon8/app/search
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# 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/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "query": "OpenAI",
  "order_by": "",
  "max_cursor": "",
  "search_tab": "main",
  "filter_type": ""
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Lemon8$0.0015 per callJSONJul 31, 2026
Lemon8$0.0015 per callJSONJul 31, 2026
Lemon8$0.0015 per callJSONJul 31, 2026
Lemon8$0.0015 per callJSONJul 31, 2026
Lemon8$0.0015 per callJSONJul 31, 2026
Lemon8$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Lemon8 Search API?

Send a POST request to https://api.sandbase.ai/v1/api/lemon8/app/search 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 Search API cost?

$0.0015 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 Search API accept?

Required: query (string). Optional: filter_type (string), max_cursor (string), order_by (string) and search_tab (string). The Parameters table and the Playground on this page list every field.

What does the Lemon8 Search 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 Search 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.