Telegram channel posts by username
tikhub.x.telegram-web-fetch-channel-postsTelegram: fetch channel posts (web)
- Price
- $0.001/successプロバイダー原価
- Success rate
- 100%Last 30 days · 1,112 calls
- Latency p50
- 2.7 sp95 12 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.telegram-web-fetch-channel-posts?after=0&limit=5&before=0&channel=durovPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
after | 整数 | 任意 | Newer than this id | 0 |
limit | 整数 | 任意 | Number of posts | 20 |
before | 整数 | 任意 | Older than this id | 0 |
channel | 文字列 | 必須 | Channel username | durov |
- クエリパラメータ
after整数任意Newer than this id
例:
0limit整数任意Number of posts
例:
20before整数任意Older than this id
例:
0channel文字列必須Channel username
例:
durov
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.telegram-web-fetch-channel-posts?after=0&limit=5&before=0&channel=durov' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.telegram-web-fetch-channel-posts?after=0&limit=5&before=0&channel=durov",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.telegram-web-fetch-channel-posts?after=0&limit=5&before=0&channel=durov", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001/success です。サービス料を含みます。