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/item-idResolves a Lemon8 share URL into its canonical post ID. Accepts both long and short sharing links copied from the web platform or mobile app.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Retrieve a canonical Lemon8 post ID by providing a share link in share_text. It resolves both long and short URLs copied from the Lemon8 mobile app or web interface.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/item-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"share_text": "<share_text>"}'
| 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 and short links copied via the Lemon8 share button.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/item-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'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/item-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 Post 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.