Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Telegram Batch Channel Info

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.

價格
$0.008美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
Comma-separated channel usernames, up to 20 per request.
輸出範例
回應outputs · 992 B · 27 行
[
  {
    "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
        }
      ]
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Telegram每次呼叫 $0.008JSON
Telegram每次呼叫 $0.001JSON
Telegram每次呼叫 $0.001JSON
Telegram每次呼叫 $0.001JSON
Telegram每次呼叫 $0.001JSON
Telegram每次呼叫 $0.001JSON

指南:Best Telegram API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Telegram Batch Channel Info API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/telegram/web/batch-channel-info。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Telegram Batch Channel Info API 的費用是多少?

每次 $0.008,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Telegram Batch Channel Info API 接受哪些參數?

必要:channels (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Telegram Batch Channel Info API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Telegram 開發者帳號或 API 金鑰嗎?

不需要。Telegram Batch Channel Info 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Telegram API 存取權。