Skip to main content

Search Telegram Posts by Keywords

GET 

/v1/search/messages

Search across all Telegram channel posts for news, trends, or names mentioned in posts. This is the same search functionality available on https://telemetr.io/en/posts-search

Use quotes for exact phrase matching (e.g., "search this phrase"). Filter results by country, category, or specific channel. Exclude words from post text with a comma-separated exclude_terms parameter, for example ?term=bitcoin&exclude_terms=advertisement,casino. Exclusions do not apply to link fields. Keep them unchanged when requesting the next page. Sort by relevance, date, or views count.

Access and limits

Credits API keys receive message search on Advanced and Team. Successful searches count toward overall request usage and consume credits at the configured endpoint price. The search-request and unique-term rows returned by Usage info are informational for Credits keys.

Subscription API keys use their individually configured message-search permission, search-request quota, and unique-term quota. Repeating the same search phrase counts as additional search requests but does not add another unique term.

Request

Responses

Messages

Response Headers
    x-credits-cost

    Milli-credits charged for this successful request. Present for Credits API keys.

    x-credits-remaining

    Remaining milli-credit balance after this request. Present for Credits API keys.