Skip to content
scrapeatlas.Dashboard

Get a Lemon8 hashtag

Try in Playground

Get a Lemon8 hashtag’s views and followers with its popular or most recent posts. Look it up by name, hashtag id or link.

GET/v1/lemon8/hashtagx-api-keyLemon8 Scraper API overview
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
6
namestringquery

Hashtag name, with or without #.

max 101 chars

Exampleskincare
idstringquery

Hashtag id, as in a post’s hashtags.

urlstringquery

A https://www.lemon8-app.com/topic/… link. Provide name, id or url.

max 600 chars

sortenumquery

popular (default) or recent.

one of: popular, recent

regionenumquery

Lemon8 market: us (default), gb, au, ca, nz, sg, my, id, th, vn or jp.

one of: us, gb, au, ca, nz, sg, my, id, th, vn, jp

cursorstringquery

nextCursor from the previous page; needs sort=recent.

Response fields
69
requestIdstring

Request correlation UUID.

Upstream requests, decoded response bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

True when usable data is returned; inspect status and coverage for omissions.

statusenum

success, partial, failed or challenged. HTTP 200 can be partial.

one of: success, partial

sourceUrlstring

Lemon8 public page data URL the answer was read from.

absolute HTTPS URL

fetchedAtstring

UTC retrieval time.

unreadable_posts_skipped (partial) when a post could not be read; next_page_unavailable when Lemon8 gave no cursor. order is ranked for popular and newest_first for recent.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

coverage.orderenum

Always included.

one of: newest_first, oldest_first, ranked, relevance, source_order

Optional.

coverage.window.sincestringoptional

Optional.

coverage.window.untilstringoptional

Optional.

The hashtag: id, name, description, views_count, follower_count, talk_count and hashtagUrl. Null on later pages.

hashtag.idstring

Always included.

hashtag.namestring

Always included.

hashtag.descriptionstringoptional

Optional.

hashtag.views_countintegeroptional

Optional.

hashtag.follower_countintegeroptional

Optional.

hashtag.talk_countintegeroptional

Optional.

hashtag.hashtagUrlstring

Always included.

About ten posts per page: groupId (the post id), articleClass (Video, Gallery or Article), articleRegion, title, shortContent, diggCount (likes), largeImage and imageList (image URLs with sizes), author (userId, linkName, nickName, avatar, profileUrl), createdAt (creation time) and postUrl.

up to 100 items

posts.groupIdstring

Always included.

posts.articleClassstringoptional

Optional.

posts.articleRegionstringoptional

Optional.

posts.titlestringoptional

Optional.

posts.shortContentstringoptional

Optional.

posts.contentstringoptional

Optional.

posts.publishTimeintegeroptional

Optional.

posts.modifyTimeintegeroptional

Optional.

posts.readCountintegeroptional

Optional.

posts.diggCountintegeroptional

Optional.

posts.favoriteCountintegeroptional

Optional.

posts.commentCountintegeroptional

Optional.

Optional.

posts.largeImage.urlstring

Always included.

posts.largeImage.widthnumberoptional

Optional.

posts.largeImage.heightnumberoptional

Optional.

Optional.

up to 100 items

posts.imageList.urlstring

Always included.

posts.imageList.widthnumberoptional

Optional.

posts.imageList.heightnumberoptional

Optional.

Optional.

posts.video.urlstringoptional

Optional.

posts.video.widthnumberoptional

Optional.

posts.video.heightnumberoptional

Optional.

posts.video.durationnumberoptional

Optional.

Optional.

posts.locationInfo.poiIdstringoptional

Optional.

posts.locationInfo.poiNamestringoptional

Optional.

Optional.

posts.author.userIdstringoptional

Optional.

posts.author.linkNamestringoptional

Optional.

posts.author.nickNamestringoptional

Optional.

posts.author.avatarstringoptional

Optional.

posts.author.followerCountintegeroptional

Optional.

posts.author.profileUrlstringoptional

Optional.

posts.textstringoptional

Optional.

Optional.

up to 100 items

posts.hashtags.idstring

Always included.

posts.hashtags.namestring

Always included.

posts.ocrTextstring[]optional

Optional.

up to 500 items

posts.createdAtstring

Always included.

posts.postUrlstring

Always included.

nextCursorstringnullable

Cursor for the next page of recent posts, or null.

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

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.