share_textstringwymagane
Share link, supports long links and short links, can be obtained and copied from the share button on the web and APP.
https://api.sandbase.ai/v1/api/lemon8/app/user-idReturns a Lemon8 user ID extracted from a user profile share link. Input supports long or short sharing URLs copied from the web or app.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Look up a Lemon8 account identifier using the share_text parameter. This endpoint resolves shared profile links into the underlying user ID.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"share_text": "https://www.lemon8-app.com/lemon8cars?region=us"}'
| Name | Type | Required | Description |
|---|---|---|---|
share_text | string | Yes | Share link, supports long links and short links, can be obtained and copied from the share button on the web and APP. |
share_text parameter accepts both long links and short links copied from the Lemon8 app or web interface.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
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-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"share_text": "https://www.lemon8-app.com/lemon8cars?region=us"
}'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.
share_textstringwymaganeShare link, supports long links and short links, can be obtained and copied from the share button on the web and APP.
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-id 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: share_text (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Lemon8 User ID from Share Link 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.