share_textstringобязательно
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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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 '{}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
share_textstringобязательноShare link, supports long links and short links, can be obtained and copied from the share button on the web and APP.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Lemon8 Post ID from Share LinkЭтот API Lemon8 | $0.001 за запрос | JSON |
Lemon8 | $0.001 за запрос | JSON |
Lemon8 | $0.001 за запрос | JSON |
Lemon8 | $0.001 за запрос | JSON |
Lemon8 | $0.001 за запрос | JSON |
Lemon8 | $0.001 за запрос | JSON |
Руководства:Best Lemon8 API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/lemon8/app/item-id, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: share_text (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).
Нет. Lemon8 Post ID from Share Link работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Lemon8.