X MCP Сервер
X охватывает около 600 миллионов пользователей в месяц через короткие посты, прямые трансляции, видео и обсуждения новостей, что делает его важным для обмена информацией в реальном времени, медийной видимости и реагирования на репутационные вопросы.
Базовый URL
https://mcp.pressmonitor.com/x/v1 Аутентификация
Вызовы MCP также используют токены Bearer в запросах JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Обнаружить инструменты
Начните с перечисления инструментов, доступных через сервер MCP.
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }) }); console.log(await response.json()); import requests payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'tools/list' } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) autocomplete Автозаполнение
Автозаполнение
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| value | string | Да | Значение |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"autocomplete","arguments":{"value":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "autocomplete", "arguments": { "value": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "autocomplete", "arguments": { "value": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) communityTopics Темы сообществ
Темы сообществ
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"communityTopics","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "communityTopics", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "communityTopics", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) CommunityTweets Твиты сообщества
Твиты сообщества
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| communityId | string | Да | ID сообщества |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"CommunityTweets","arguments":{"communityId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "CommunityTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "CommunityTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) fetchPopularCommunities Получить популярные сообщества
Получить популярные сообщества
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| topicId | string | Да | ID темы |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fetchPopularCommunities","arguments":{"topicId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "fetchPopularCommunities", "arguments": { "topicId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "fetchPopularCommunities", "arguments": { "topicId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followers Подписчики
Подписчики
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followersIDs ID подписчиков
ID подписчиков
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| username | string | Да | Имя пользователя (screen name без символа @, например, 'elonmusk') |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followersIDs","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followersIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followersIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followings Подписки
Подписки
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followings","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followings", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followings", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) followingsIDs ID подписок
ID подписок
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| username | string | Да | Имя пользователя (screen name без символа @, например, 'elonmusk') |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followingsIDs","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followingsIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "followingsIDs", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) getUsers Получить пользователей
Получить пользователей
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| users | string | Да | Пользователи |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getUsers","arguments":{"users":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "getUsers", "arguments": { "users": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "getUsers", "arguments": { "users": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) groupTweets Твиты группы
Твиты группы
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| communityId | string | Да | ID сообщества |
| rankingMode | string | Да | Режим ранжирования |
| searchType | string | Да | Тип поиска |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"groupTweets","arguments":{"communityId":"SOME_STRING_VALUE","rankingMode":"SOME_STRING_VALUE","searchType":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "groupTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "rankingMode": "SOME_STRING_VALUE", "searchType": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "groupTweets", "arguments": { "communityId": "SOME_STRING_VALUE", "rankingMode": "SOME_STRING_VALUE", "searchType": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) highlights Основные моменты
Основные моменты
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"highlights","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "highlights", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "highlights", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) jobsDetails Детали вакансий
Детали вакансий
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| jobId | string | Да | ID вакансии |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsDetails","arguments":{"jobId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsDetails", "arguments": { "jobId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsDetails", "arguments": { "jobId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) jobsLocationsSuggest Рекомендации по местоположению вакансий
Рекомендации по местоположению вакансий
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query | string | Да | Поисковый запрос |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsLocationsSuggest","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsLocationsSuggest", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsLocationsSuggest", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) jobsSearch Поиск вакансий
Поиск вакансий
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| employment_type | string | Да | Тип занятости |
| job_location_id | string | Да | ID местоположения вакансии |
| job_location_type | string | Да | Тип местоположения вакансии |
| keyword | string | Да | Ключевое слово |
| seniority_level | string | Да | Уровень старшинства |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsSearch","arguments":{"employment_type":"SOME_STRING_VALUE","job_location_id":"SOME_STRING_VALUE","job_location_type":"SOME_STRING_VALUE","keyword":"SOME_STRING_VALUE","seniority_level":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsSearch", "arguments": { "employment_type": "SOME_STRING_VALUE", "job_location_id": "SOME_STRING_VALUE", "job_location_type": "SOME_STRING_VALUE", "keyword": "SOME_STRING_VALUE", "seniority_level": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "jobsSearch", "arguments": { "employment_type": "SOME_STRING_VALUE", "job_location_id": "SOME_STRING_VALUE", "job_location_type": "SOME_STRING_VALUE", "keyword": "SOME_STRING_VALUE", "seniority_level": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) likes Лайки
Лайки
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| pid | string | Да | Pid |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"likes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "likes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "likes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) listDetails Детали списка
Детали списка
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| listId | string | Да | ID списка |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listDetails","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listDetails", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listDetails", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) listTimeline Хронология списка
Хронология списка
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| listId | string | Да | ID списка |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listTimeline","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTimeline", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTimeline", "arguments": { "listId": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) listTweets Твиты списка
Твиты списка
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| list_id | string | Да | ID списка |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listTweets","arguments":{"list_id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTweets", "arguments": { "list_id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "listTweets", "arguments": { "list_id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) orgAffiliates Аффилиаты организации
Аффилиаты организации
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"orgAffiliates","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "orgAffiliates", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "orgAffiliates", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) quotes Цитаты
Цитаты
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| pid | string | Да | Pid |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"quotes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "quotes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "quotes", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) retweets Ретвиты
Ретвиты
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| pid | string | Да | Pid |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"retweets","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "retweets", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "retweets", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) search Поиск
Поиск
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query | string | Да | Поисковый запрос |
| type | string | Да | Тип |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"SOME_STRING_VALUE","type":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) searchCommunity Поиск сообщества
Поиск сообщества
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query | string | Да | Поисковый запрос |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchCommunity","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchCommunity", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchCommunity", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) searchLists Поиск списков
Поиск списков
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query | string | Да | Поисковый запрос |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchLists","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchLists", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchLists", "arguments": { "query": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) searchold Старый поиск
Старый поиск
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query | string | Да | Поисковый запрос |
| type | string | Да | Тип |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchold","arguments":{"query":"SOME_STRING_VALUE","type":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchold", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "searchold", "arguments": { "query": "SOME_STRING_VALUE", "type": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) spaces Spaces
Spaces
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| id | string | Да | ID |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"spaces","arguments":{"id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "spaces", "arguments": { "id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "spaces", "arguments": { "id": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) trends Тренды
Тренды
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| woeid | string | Да | Woeid |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trends","arguments":{"woeid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trends", "arguments": { "woeid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trends", "arguments": { "woeid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) trendsLocations Местоположения трендов
Местоположения трендов
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trendsLocations","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trendsLocations", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "trendsLocations", "arguments": { "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tweet Твит
Твит
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| pid | string | Да | Pid |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweet","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweet", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweet", "arguments": { "pid": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tweetByIds Твит по ID
Твит по ID
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| tweetIDs | string | Да | ID твитов |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweetByIds","arguments":{"tweetIDs":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweetByIds", "arguments": { "tweetIDs": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tweetByIds", "arguments": { "tweetIDs": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) user Поиск профиля пользователя по имени. Возвращает детали пользователя, включая числовой ID (rest_id)
Поиск профиля пользователя по имени. Возвращает детали пользователя, включая числовой ID (rest_id)
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| username | string | Да | Имя пользователя (screen name без символа @, например, 'elonmusk') |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "user", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "user", "arguments": { "username": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userLikes Лайки пользователя
Лайки пользователя
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userLikes","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userLikes", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userLikes", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userMedia Медиа пользователя
Медиа пользователя
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| cusor | string | Да | Курсор |
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userMedia","arguments":{"cusor":"SOME_STRING_VALUE","user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userMedia", "arguments": { "cusor": "SOME_STRING_VALUE", "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userMedia", "arguments": { "cusor": "SOME_STRING_VALUE", "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userReplies Ответы пользователя
Ответы пользователя
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userReplies","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userReplies", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userReplies", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userRepliesV2 Ответы пользователя V2
Ответы пользователя V2
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userRepliesV2","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userRepliesV2", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userRepliesV2", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) userTweets Получить твиты пользователя по числовому ID. Чтобы получить твиты по имени пользователя, сначала используйте endpoint 'user' для поиска ID
Получить твиты пользователя по числовому ID. Чтобы получить твиты по имени пользователя, сначала используйте endpoint 'user' для поиска ID
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userTweets","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userTweets", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "userTweets", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) verifiedFollowers Проверенные подписчики
Проверенные подписчики
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| user | string | Да | Числовой ID пользователя (не имя). Используйте endpoint 'user' для получения ID по имени пользователя |
| count | string | Нет | Количество возвращаемых результатов |
| cursor | string | Нет | Курсор пагинации для следующей страницы |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verifiedFollowers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "verifiedFollowers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/x/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "verifiedFollowers", "arguments": { "user": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/x/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())
commentsКомментарии
Комментарии
Аргументы
stringstringstringstringПримеры кода