Catalog Search
Changed onSearch channels in catalog with advanced filters and sorting.
Request
- Base URLhttps://api.tlmtr.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Search phrase in channel name.
Minimum 3 characters (1 for Chinese)
Search in channel description.
term will be searched not only in the channel name but also in the description
Channel country.
List of countries can be obtained here /v1/dictionaries/countries
Channel language.
List of languages can be obtained here /v1/dictionaries/languages
Channel category id.
List of categories can be obtained here /v1/dictionaries/categories Example: mf2MkrwoE
Minimum members count
Maximum members count
Minimum average post views
Maximum average post views
Minimum engagement rate
Maximum engagement rate
Channel privacy type
Channel privacy
Only Telegram verified channels
Catalog sort field
Sort field
Sort direction
Number of results.
Default is 20. Maximum is 100.
Skip results
Response
Catalog search results
Example response
{
"items": [
{
"internal_id": "1B3CMw",
"title": "News Channel",
"members_count": 50000,
"privacy": "Public",
"photo_url": "https://img.telemetr.io/c/1l1EcE/5406980229706134223?w=64&h=64",
"country": "ukraine",
"language": "ua",
"category": "mf2MkrwoE",
"post_views": 25000,
"post_views_24h": 20000,
"er": 5.2,
"ads_index": "A+",
"mentions": {
"all_time": 1234,
"last_7_days": 45,
"last_30_days": 150
}
}
],
"count": 1523,
"audience_count": 15234567
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status - info
added
subschema #2to the response bodyallOflist for the response status
- breaking
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info