Skip to main content
GET
/
telegram
/
channel
/
{channelId}
/
search
curl -X GET "https://scrape.st/telegram/channel/@durov/search?q=update&limit=20" \
  -H "x-api-key: YOUR_API_KEY"
{
  "messages": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.scrape.st/llms.txt

Use this file to discover all available pages before exploring further.

Search for messages matching a specific query within a given Telegram channel or group.

Path Parameters

channelId
string
required
The Telegram channel username (e.g. @durov) or numeric ID

Query Parameters

q
string
Search query string (1-1000 characters). Optional. You can also use query instead of q. If omitted, fetches recent messages.
limit
number
default:"20"
Number of results to return (1-100)

Response

messages
array
Array of message objects from the channel
curl -X GET "https://scrape.st/telegram/channel/@durov/search?q=update&limit=20" \
  -H "x-api-key: YOUR_API_KEY"