share_textstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
share_textstringobrigatórioShare link, supports long links and short links, can be obtained and copied from the share button on the web and APP.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Lemon8 User ID from Share LinkEsta API Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Lemon8 | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/lemon8/app/user-id com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: share_text (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).
Não. Lemon8 User ID from Share Link funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Lemon8 separadamente.