Social networks
Lemon8 API reference
Search Lemon8 posts and read posts with comments and related posts, creator profiles and their posts, hashtags, category feeds and places.
Ten endpoints read public Lemon8 data in 11 markets: keyword search and suggestions, full posts with text, media and counts, comments and replies, related posts, creator profiles and their posts, hashtags, category feeds and places.
API availability: Available
http://localhost:3066Public API: https://api.scrapeatlas.com.Endpoints
/v1/lemon8/searchSearch Lemon8 posts
Search Lemon8 posts by keyword in one of 11 markets. Each post returns its text, images, author, likes and creation time, and posts found directly also return views, saves, comment counts and the video.
Reference/v1/lemon8/search-suggestionsGet Lemon8 search suggestions
Get the keywords and creators Lemon8 suggests while someone types a search.
Reference/v1/lemon8/profileGet a Lemon8 profile
Get a Lemon8 creator’s public profile: name, bio, avatar, followers, following, posts, likes and saves received, and linked Instagram, YouTube or other accounts. Look it up by username, profile link or user id.
Reference/v1/lemon8/user-postsGet a Lemon8 user’s posts
Get a creator’s Lemon8 posts, newest first, up to 100 per page. Each post returns its title, text, images, likes and creation time. Use since and until to select a date range.
Reference/v1/lemon8/postGet a Lemon8 post
Get a Lemon8 post with its full text, hashtags, images or video, views, likes, saves, comment count, location, author and the text Lemon8 read from its images or video.
Reference/v1/lemon8/post-commentsGet Lemon8 post comments
Get the comments on a Lemon8 post, or the replies to one comment, with text, likes, reply counts, time and author.
Reference/v1/lemon8/post-relatedGet related Lemon8 posts
Get the posts Lemon8 recommends next to a post, with their text, images, likes and authors.
Reference/v1/lemon8/hashtagGet a Lemon8 hashtag
Get a Lemon8 hashtag’s views and followers with its popular or most recent posts. Look it up by name, hashtag id or link.
Reference/v1/lemon8/feedGet a Lemon8 category feed
Get the posts Lemon8 currently recommends in a category such as beauty, food, fashion, travel or home, for one of 11 markets.
Reference/v1/lemon8/placeGet a Lemon8 place
Get a place tagged on Lemon8, with its name and address and posts from there.
ReferenceQuick start
Create an API key on your account page, then call the public API. Values below are placeholders.
curl "https://api.scrapeatlas.com/v1/lemon8/search?query=skincare+routine" \
-H "x-api-key: YOUR_API_KEY"Coverage & limits
- Independent, stateless worker: eight concurrent operations, with up to 16 more waiting at most 8 seconds for a slot; 30-second total deadline, including the wait; at most 16 upstream HTTP requests per operation, five at a time. Each read is retried once on a network failure or HTTP 5xx. HTTP 429 is never retried by the worker.
- Fixed public HTTPS origin www.lemon8-app.com. No login, browser, outbound link visits, media downloads or result storage. The service API key is never forwarded.
- At most 8 MiB decoded data per operation, depth 64 and 400,000 parsed nodes.
- Page sizes: 100 user posts (default 20), 20 comments (default 10), up to 100 search results, about ten hashtag, feed or place posts.
- Post creation times (createdAt, since, until) come from the post id.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with unreadable_posts_skipped, next_page_unavailable or post_limit warnings. |
| 400 | invalid_request | Missing, duplicate, malformed or unsupported parameters, or a link outside lemon8-app.com. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 403 | restricted_page | The account is private, or Lemon8 blocks the search in that market. |
| 404 | not_found | Unknown post, account, hashtag or place. |
| 429 | upstream_rate_limited | Lemon8 rate limited the request. |
| 502 | upstream_challenged | Lemon8 refused the public request. |
| 502 | unsupported_page | Malformed or mismatched source data. |
| 502 | response_too_large payload_too_complex | Response exceeded byte or parsing limits. |
| 502 | unsafe_redirect request_limit upstream_error | Bounded source retrieval could not complete. |
| 503 | busy | All worker slots and the waiting queue are occupied. |
| 504 | timeout | The total deadline was exceeded. |