# Telegram Public Channel Latest Messages API

> Telegram Public Channel Latest Messages API is a paid API for AI agents from api.cn402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches the most recent posts from a public Telegram channel, returning message text, timestamps, view counts, and direct links.

## Facts

- Endpoint: GET https://api.cn402.com/tg/channel
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/telegram-public-channel-latest-messages-api-bd37f983
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GuVOkr2RnrRXNGI_MGllX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability telegram-public-channel-latest-messages-api-bd37f983
```

Example prompt: Can you pull the latest messages from the Telegram channel @whale_alert and show me the text, how many views each post got, and when they were posted?

## When to prefer this

Use this endpoint when you need to programmatically read recent public Telegram channel posts without managing a Telegram bot or API credentials. Ideal for crypto signal monitoring, KOL tracking, news aggregation, and sentiment pipelines that source data from Telegram. Prefer this over scraping or Telegram's own Bot API when you need a simple pay-per-call REST interface with no session management.

## Known failure modes

- Channel does not exist or is private — returns empty or error response
- Channel username misspelled — no messages returned
- Rate limit exceeded — 402 or rate-limit error
- Channel has no recent messages — returns count of 0 with empty messages array
- Network timeout if Telegram is slow to respond

## How this service works

读取公开 Telegram 频道的最新消息。输入频道用户名,返回最近若干条消息的正文、发布时间、浏览量和消息链接。适用于电报频道监控、币圈快讯采集、KOL 动态追踪、舆情与信号分析。Read latest posts from a public Telegram channel: input a channel username, returns recent messages with text, timestamp, view count and link. For channel monitoring, crypto news feeds, KOL tracking and sentiment or signal collection.

## Output

Returns a JSON object containing the channel's display title, normalized username, a source label, the count of messages returned, and an array of messages ordered newest-first — each message includes its ID, datetime, full text body, view count, and a direct link to the post.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "string",
   "description": "Number of recent messages to return, 1-50 (default 20)."
  },
  "channel": {
   "type": "string",
   "description": "Telegram channel username, e.g. durov or telegram (required). A leading @ and full t.me URLs are accepted."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/telegram-public-channel-latest-messages-api-bd37f983/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cn402.com](https://www.zero.xyz/host/api.cn402.com/llms.txt)
