Get Lemon8 search suggestions
Get the keywords and creators Lemon8 suggests while someone types a search.
Headers
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Typed text, up to 100 characters. The same text is returned as query.
min 1 chars · max 100 chars
makeupLemon8 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
Request correlation UUID.
Upstream requests, decoded response bytes and elapsed milliseconds.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
True when usable data is returned; inspect status and coverage for omissions.
success, partial, failed or challenged. HTTP 200 can be partial.
one of: success, partial
Lemon8 public page data URL the answer was read from.
absolute HTTPS URL
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.
Always included.
Always included.
Always included.
Always included.
one of: newest_first, oldest_first, ranked, relevance, source_order
Optional.
Optional.
Optional.
Typed text, up to 100 characters. The same text is returned as query.
Suggestions in Lemon8’s order: type (keyword or user) and text; a user suggestion also has userId, which Profile accepts, and avatar.
up to 50 items
Always included.
one of: keyword, user
Always included.
Optional.
Optional.
No fields match.
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.
| 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. |