channelstringobrigatório
Channel username.
https://api.sandbase.ai/v1/api/telegram/web/similar-channelsReturns Telegram's official similar channel recommendations based on a specified channel username for channel discovery and audience research.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns Telegram's similar channel recommendations for one channel, using the channel username in channel. The response can also carry an mtproto_required flag and a note when recommendations are not available for the request.
similar.curl -X POST "https://api.sandbase.ai/v1/api/telegram/web/similar-channels" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel": "telegram"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | Channel username. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"channel": "telegram",
"mtproto_required": true,
"note": "相似频道推荐需要在「设置」页启用并登录 MTProto 后端",
"similar": []
}
| Field | Meaning |
|---|---|
channel | The channel username the request was made for. It repeats the channel input. |
similar | List of recommended channels. It is an empty list in the sample response, so check its length before you read items. |
mtproto_required | Boolean flag. When it is true, the response says recommendations need an MTProto backend that is not active for this request. |
note | Short text that explains the mtproto_required flag. In the sample it says similar channel recommendations need MTProto to be enabled and logged in on the Settings page. |
channel, for example telegram.mtproto_required is true and similar is empty, the call returned no recommendations. Read note for the reason.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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/telegram/web/similar-channels" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel": "telegram"
}'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.
channelstringobrigatórioChannel username.
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 |
|---|---|---|
Telegram Similar ChannelsEsta API Telegram | $0.001 por chamada | JSON |
Telegram | $0.008 por chamada | JSON |
Telegram | $0.001 por chamada | JSON |
Telegram | $0.001 por chamada | JSON |
Telegram | $0.001 por chamada | JSON |
Telegram | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/telegram/web/similar-channels 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: channel (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). O README desta página inclui um exemplo de resposta.
Não. Telegram Similar Channels 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 Telegram separadamente.