api_scrape_channel
Scrape a Telegram channel via API, specifying URL, optional date range, and maximum post count to get exactly the data you need.
Instructions
Scrape a Telegram channel using the API (fast and efficient)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "api_scrape_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The Telegram channel URL (e.g., https://t.me/channelname) | |
| date_to | No | End date in ISO format (optional) | |
| date_from | No | Start date in ISO format (optional) | |
| max_posts | No | Maximum number of posts to scrape (0 for unlimited) |