Skip to content
scrapeatlas.Dashboard

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.

10 endpointsx-api-keyLemon8 Scraper API overview

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

Base URL · local workerhttp://localhost:3066Public API: https://api.scrapeatlas.com.
Authenticationx-api-keyCustomer key from your account. See Authentication.

Endpoints

GET/v1/lemon8/search

Search 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
GET/v1/lemon8/search-suggestions

Get Lemon8 search suggestions

Get the keywords and creators Lemon8 suggests while someone types a search.

Reference
GET/v1/lemon8/profile

Get 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
GET/v1/lemon8/user-posts

Get 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
GET/v1/lemon8/post

Get 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
GET/v1/lemon8/post-comments

Get 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
GET/v1/lemon8/post-related

Get related Lemon8 posts

Get the posts Lemon8 recommends next to a post, with their text, images, likes and authors.

Reference
GET/v1/lemon8/hashtag

Get 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
GET/v1/lemon8/feed

Get 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
GET/v1/lemon8/place

Get a Lemon8 place

Get a place tagged on Lemon8, with its name and address and posts from there.

Reference

Quick start

Create an API key on your account page, then call the public API. Values below are placeholders.

Terminal
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.
Error codes
12
HTTPfailure.codeMeaning
200partialUsable data with unreadable_posts_skipped, next_page_unavailable or post_limit warnings.
400invalid_requestMissing, duplicate, malformed or unsupported parameters, or a link outside lemon8-app.com.
401unauthorizedMissing or invalid worker API key.
403restricted_pageThe account is private, or Lemon8 blocks the search in that market.
404not_foundUnknown post, account, hashtag or place.
429upstream_rate_limitedLemon8 rate limited the request.
502upstream_challengedLemon8 refused the public request.
502unsupported_pageMalformed or mismatched source data.
502response_too_large payload_too_complexResponse exceeded byte or parsing limits.
502unsafe_redirect request_limit upstream_errorBounded source retrieval could not complete.
503busyAll worker slots and the waiting queue are occupied.
504timeoutThe total deadline was exceeded.