PeumeAPI

Search & SEO · Telegram

Telegram Search in Channel

Search one public Telegram channel's messages by keyword.

$0.00083 per call

Call it

curl https://api.peume.com/v1/call/telegram-search-in-channel \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "limit": 20,
    "keyword": "your keyword",
    "username": "your username"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: telegram-search-in-channel.

Parameters

page_tokenstring

Page token. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. Each page holds up to 100 messages (`limit`, default 20) and counts as one call; only a page without `next_page_token` is the last one.

limitinteger

Maximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.

Example: 20

keywordRequiredstring

The word or phrase to look for, up to 100 characters.

usernameRequiredstring

The public channel to search in: name, @name, t.me/name or t.me/s/name.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.