API

Telegram API

Telegram conta più di 1 miliardo di utenti attivi mensili che condividono messaggi, canali, gruppi, note vocali, bot e media, rendendolo importante per la distribuzione diretta, la gestione delle comunità e audience di notizie in rapido movimento.

API Reference Version: 1.0.0 7 Endpoints Authentication
Telegram

Base URL

https://api.pressmonitor.com

Authentication

All requests use Bearer token authentication.

Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID
GET /bot-info

Informazioni sul Bot

Parameters

Name Type Location Required Description
username string query Yes Nome utente

Code Examples

curl -X GET "https://api.pressmonitor.com/bot-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 Successo
GET /channel-info

Informazioni sul Canale

Parameters

Name Type Location Required Description
username string query Yes Nome utente

Code Examples

curl -X GET "https://api.pressmonitor.com/channel-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 Successo
GET /get-messages

Ottieni Messaggi

Parameters

Name Type Location Required Description
username string query Yes Nome utente
offset string query No Offset

Code Examples

curl -X GET "https://api.pressmonitor.com/get-messages?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 Successo
GET /group-info

Informazioni sul Gruppo

Parameters

Name Type Location Required Description
username string query Yes Nome utente

Code Examples

curl -X GET "https://api.pressmonitor.com/group-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 Successo
GET /search-hashtag

Cerca Hashtag

Parameters

Name Type Location Required Description
hashtag string query Yes Hashtag
offset string query No Offset

Code Examples

curl -X GET "https://api.pressmonitor.com/search-hashtag?hashtag=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 Successo
GET /user-info

Informazioni sull'Utente

Parameters

Name Type Location Required Description
username string query Yes Nome utente

Code Examples

curl -X GET "https://api.pressmonitor.com/user-info?username=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID"

Responses

200 Successo