Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Lemon8 Search

Docs API
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.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 4 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
Search keyword
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 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)
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

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>"
            }
          }
        ]
      }
    ]
  }
}

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Inspect one Lemon8 search page

Send the keyword as query, not keyword. The default search_tab is main, corresponding to Top in the app. It is a comprehensive tab; user, hashtag and article are separate choices and should not be assumed to return the same record shape. Start with an empty max_cursor and keep the selected tab, filter_type and order_by with the saved response.

The main-tab public reference nests article candidates under data.items[].articles. An outer item is not necessarily one post. Read each available articles list before selecting group_id and the source link; do not treat the group's position or a generic wrapper ID as a post identifier. Preserve titles and IDs as returned, and do not silently turn a missing list into a successful empty search.

The schema describes empty order_by as relevance, popular and recent as other choices; filter_type accepts empty for all, video or posts. Do not confuse that posts filter with the article search tab. These settings describe a selected search, not complete platform coverage or measured demand for a topic.

The schema names max_cursor and has_more for continuation, but the shortened reference does not provide a complete next-request token. This guide stops at the first page and does not invent a cursor or follow every candidate. Once you choose an item ID, Post Details is a separate request.

Give your agent one Lemon8 task

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ with Bearer authentication. A connected agent needs one selected endpoint and your query or item_id. Starting a project? Share the setup Skill, Markdown quickstart and the output you want. Ask it to save one response before adding another call.

Validate completed SandBase status and outputs[0].data. Do not read a top-level output fallback or turn a missing payload into an empty success. The search reference shows an inner data object; the saved post-detail example also has message success. Reference excerpts and saved examples are historical evidence, not proof of a fresh call or a guarantee that every optional field appears.

Pricing checked on 2026-11-08: both selected routes list $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility is not a remaining-quota measurement. Check current pricing before executing. This revision made no new business query. See the Lemon8 Python discovery guide for the tested local parsing approach and separately dated provider evidence.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Lemon8 SearchCette API
Lemon8
$0.001 par appelJSON
Lemon8$0.001 par appelJSON
Lemon8$0.001 par appelJSON
Lemon8$0.001 par appelJSON
Lemon8$0.001 par appelJSON
Lemon8$0.001 par appelJSON

Guides :Best Lemon8 API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Lemon8 Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/lemon8/app/search 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 Search ?

$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Lemon8 Search accepte-t-elle ?

Obligatoire : query (string). Facultatif : filter_type (string), max_cursor (string), order_by (string) et search_tab (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Lemon8 Search ?

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 Search 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.

L’entrée de recherche Lemon8 est-elle keyword ou query ?

La route sélectionnée requiert query. Son search_tab par défaut est main (Top) ; user, hashtag et article sont des choix d’onglet distincts. Conservez la query et les filtres sélectionnés avec la réponse plutôt que de supposer que tous les onglets ont la même structure.

Où se trouvent les candidats publications dans la référence de recherche principale ?

La référence publique les imbrique sous data.items[].articles dans la charge utile métier. Un item externe n’est pas nécessairement une publication. Inspectez les articles avant de sélectionner un group_id ; n’utilisez pas la position d’un conteneur comme identifiant de publication.

Le court exemple peut-il fournir un curseur de page suivante vérifié ?

Aucun jeton de continuation complet n’est établi par cet exemple raccourci. Le schéma décrit max_cursor et has_more, mais ce guide s’arrête à la première page et n’invente pas de curseur ni ne prétend avoir testé une continuation.