user_idstringwymagane
User ID, can be obtained from the interface `/lemon8/app/get_user_id`
https://api.sandbase.ai/v1/api/lemon8/app/user-following-listReturns the list of accounts followed by a specified Lemon8 user. Accepts a user identifier and supports cursor-based pagination for browsing results.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns the accounts that a Lemon8 user follows. Each entry has the account's name, handle, avatar, and profile link. The API needs the numeric user_id of the user whose following list you want.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/user-following-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "7428056850216862763"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | User ID, can be obtained from the interface /lemon8/app/get_user_id |
cursor | string | No | Pagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"cursor": 30,
"data": [
{
"description": "",
"hide_follow_button": 0,
"icon_url": "https://p16-lemon8-cross-sign.tiktokcdn-us.com/tos-useast5-i-pyavlv3z7u-tx/deb33…",
"is_canceled": false,
"is_follow_apply": 0,
"is_followed": 0,
"is_following": 0,
"name": "Anna Kate",
"privacy_status": 1,
"share_url": "https://www.lemon8-app.com/@anna.kate832",
"user_auth_info": "{\"auth_type\":0,\"show_auth_symbol\":false}",
"user_id": 7415435863247127594
}
],
"has_more": true
},
"error_code": 0,
"error_message": "",
"message": "success",
"server_time": "1793691395.56"
}
| Field | Meaning |
|---|---|
data.data[].user_id | Numeric ID of the followed account. Use it in other Lemon8 calls that take a user_id. |
data.data[].name | Display name of the followed account. It can contain emoji and special characters. |
data.data[].user_unique_name | Unique handle of the account. It matches the part after @ in share_url. |
data.data[].share_url | Public Lemon8 profile link of the followed account. |
data.data[].icon_url | Avatar image URL, sized 150x150 in the sample. |
data.data[].description | Profile description text. It is an empty string for the sample accounts. |
data.data[].is_following / data.data[].is_followed | Follow-state flags for the account, returned as 0 or 1 numbers. Both are 0 in the sample. |
data.data[].user_auth_info | JSON string with verification details, such as auth_type and show_auth_symbol. |
data.cursor | Cursor value for the next page. The sample returns 30. |
data.has_more | true when more accounts remain after this page. |
user_id from Lemon8 User ID from Share Link if you only have a profile share link.cursor empty on the first call. For the next page, pass the value of data.cursor as cursor, and stop when data.has_more is false.user_id in each list item is a number, while the request parameter user_id is a string.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/user-following-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "7428056850216862763"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
user_idstringwymaganeUser ID, can be obtained from the interface `/lemon8/app/get_user_id`
cursorstringPagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the cursor returned by the last request is used for subsequent requests.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Lemon8 | $0.001 za wywołanie | JSON |
Przewodniki:Best Lemon8 API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/lemon8/app/user-following-list z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: user_id (string). Opcjonalne: cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Lemon8 User Following List działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Lemon8.