Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Telegram Batch Channel Info

Documentación de la API
https://api.sandbase.ai/v1/api/telegram/web/batch-channel-info

Returns basic channel profile details including title, description, and verified status for multiple public Telegram channels at once.

Precio
$0.008USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Comma-separated channel usernames, up to 20 per request.
SalidaEjemplo
Respuestaoutputs · 992 B · 27 líneas
[
  {
    "data": {
      "count": 1,
      "results": [
        {
          "channel": "telegram",
          "info": {
            "counters": {
              "links": "378",
              "photos": "16",
              "subscribers": "9.39M",
              "videos": "228"
            },
            "description": "The official Telegram on Telegram. Much recursion. Very Telegram. Wow.",
            "photo": "https://cdn1.telesco.pe/file/uD1p4tMGhImdMimOPmsCryQhp8WC8j3pnTfxcBrqPyqhV_95GMsh3ZN-IZbMSGNCDwOsmS2YdjyFuuPg1WtqRw9O33otBT0nsTmME4s82WyRLr0w_EqwwERoPwqG-auB75gIa6tqlAfk3iCPZ5XuiH8Uw5kbtwRGHjUWwWEznwOfmZVt7UzNBbCYAv5yhv3p4SP34D6LkkzYZJ3mDPAPqDyppw79yOKDqvduzRUG8TAXHkGTfKRhJcIRb9-bAbr1t7GtcwYdquTJLhJdU3AnJBPZdPTFq9_M2AMSyy-K3llQ4RgOImDEQBEGed5aiOrVrDwpbsWAW1KNiUm9zvu6Wg.jpg",
            "subscribers": "9.39M",
            "title": "Telegram News",
            "username": "telegram",
            "verified": true
          },
          "ok": true
        }
      ]
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

Telegram Batch Channel Info API

Returns public profile details for up to 20 Telegram channels in one call. You pass a comma-separated list of channel usernames in channels. Each result holds the title, description, photo, verified flag and subscriber and media counts.

Use cases

  • Check the verified status and subscriber counts of a list of competitor channels in one request.
  • Build a directory of channels with titles, descriptions and profile photos from a list of usernames.
  • Validate a list of channel usernames and spot which ones return no profile data.
  • Track how channel subscriber counts and media totals compare across a group of channels.

Request

curl -X POST "https://api.sandbase.ai/v1/api/telegram/web/batch-channel-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channels": "telegram"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
channelsstringYesComma-separated channel usernames, up to 20 per request.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "count": 1,
  "results": [
    {
      "channel": "telegram",
      "info": {
        "counters": {
          "links": "378",
          "photos": "16",
          "subscribers": "9.2M",
          "videos": "228"
        },
        "description": "The official Telegram on Telegram. Much recursion. Very Telegram. Wow.",
        "photo": "https://cdn1.telesco.pe/file/hnmFZVV6A1_vjW41WnRQI9LiY1404GFwcfT_HbWGXlPkZCJQr6y…",
        "subscribers": "9.2M",
        "title": "Telegram News",
        "username": "telegram",
        "verified": true
      },
      "ok": true
    }
  ]
}

Response fields

FieldMeaning
countNumber of channels in the results list.
results[].channelThe username you asked for, as sent in the request.
results[].oktrue when the lookup for this channel worked.
results[].info.titleDisplay name of the channel.
results[].info.usernameChannel username without the @.
results[].info.descriptionChannel bio text.
results[].info.verifiedtrue when the channel has the verified badge.
results[].info.subscribers / results[].info.counters.subscribersSubscriber count as a short text string, such as 9.2M. It is not an exact number.
results[].info.counters.photos / results[].info.counters.videos / results[].info.counters.linksCounts of photos, videos and links shared in the channel, returned as strings.
results[].info.photoURL of the channel profile picture.

Notes

  • Send usernames without the @, separated by commas, for example telegram,durov. The limit is 20 per request.
  • Check results[].ok for each channel, since results are returned per channel.
  • Counts such as subscribers are abbreviated strings, so parse values like 9.2M before you do math.
  • For one channel, use Telegram Channel Info. To read posts next, call Telegram Channel Posts.

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Telegram$0.008 por llamadaJSON
Telegram$0.001 por llamadaJSON
Telegram$0.001 por llamadaJSON
Telegram$0.001 por llamadaJSON
Telegram$0.001 por llamadaJSON
Telegram$0.001 por llamadaJSON

Guías:Best Telegram API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Telegram Batch Channel Info?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/telegram/web/batch-channel-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Telegram Batch Channel Info?

$0.008 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Telegram Batch Channel Info?

Requeridos: channels (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Telegram Batch Channel Info?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Telegram?

No. Telegram Batch Channel Info funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Telegram por separado.