← 返回 Skills 市场
thisisevgeniy

Avito Pro

作者 thisisevgeniy · GitHub ↗ · v2026.3.16 · MIT-0
cross-platform ✓ 安全检测通过
196
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install avito-pro
功能描述
Работа с API Авито (Авторизация, Мессенджер, Объявления, Статистика). Позволяет получать токены, читать/отправлять сообщения в чатах Авито и управлять объявл...
使用说明 (SKILL.md)

Avito API Skill

Этот навык предоставляет знания для взаимодействия с API Авито.

Базовые URL

  • API: https://api.avito.ru
  • OAuth (для получения кода): https://avito.ru/oauth
  • Документация: https://developers.avito.ru/

Авторизация (OAuth 2.0)

Авито поддерживает два типа авторизации:

1. Персональная авторизация (Client Credentials)

Используется для работы от своего имени (личный кабинет/бизнес-аккаунт).

  • Endpoint: POST /token
  • Параметры (URL-encoded):
    • grant_type: client_credentials
    • client_id: Ваш Client ID (из личного кабинета)
    • client_secret: Ваш Client Secret
  • Срок действия: 24 часа.

Пример запроса:

curl -X POST 'https://api.avito.ru/token' \
     -H 'Content-Type: application/x-www-form-urlencoded' \
     --data-urlencode 'grant_type=client_credentials' \
     --data-urlencode 'client_id=\x3CCLIENT_ID>' \
     --data-urlencode 'client_secret=\x3CCLIENT_SECRET>'

2. Авторизация для приложений (Authorization Code)

Для работы с данными других пользователей.

  • Шаг 1: Редирект пользователя на https://avito.ru/oauth?response_type=code&client_id=\x3CCLIENT_ID>&scope=\x3CSCOPES>&state=\x3CSTATE>.
  • Шаг 2: Обмен code на токены через POST /token с grant_type=authorization_code.

Мессенджер API (Messenger)

Методы для работы с чатами. Позволяют интегрировать Авито в CRM.

Ключевые эндпоинты:

  • Список чатов: GET /messenger/v2/accounts/{user_id}/chats
  • Сообщения в чате: GET /messenger/v3/accounts/{user_id}/chats/{chat_id}/messages
  • Отправить сообщение: POST /messenger/v1/accounts/{user_id}/chats/{chat_id}/messages
    • Тело: {"message": {"text": "текст"}, "type": "text"}
  • Отправить изображение: POST /messenger/v1/accounts/{user_id}/chats/{chat_id}/messages/image
  • Загрузить изображение: POST /messenger/v1/accounts/{user_id}/uploadImages (multipart/form-data)
  • Прочитать чат: POST /messenger/v1/accounts/{user_id}/chats/{chat_id}/read
  • Голосовые сообщения: GET /messenger/v1/accounts/{user_id}/getVoiceFiles?voice_ids={ids}

Вебхуки (Webhooks):

  • Подписка: POST /messenger/v1/webhook
  • Отписка: POST /messenger/v1/webhook/unsubscribe

Объявления и Статистика (Items & Stats)

  • Получение информации об объявлениях: GET /core/v1/items
  • Статистика объявлений: POST /stats/v1/accounts/{user_id}/items
  • Применение доп. услуг (VAS): POST /vas/v1/accounts/{user_id}/vas

Доступные Scopes:

  • messenger:read, messenger:write
  • items:info, items:apply_vas
  • stats:read
  • user:read, user_balance:read, user_operations:read
  • autoload:reports
  • job:cv, job:vacancy, job:write

Важные примечания:

  1. Для работы API требуется один из платных тарифов («Базовый», «Расширенный» или «Максимальный»).
  2. Все запросы должны содержать заголовок Authorization: Bearer \x3CACCESS_TOKEN>.
  3. Сообщения от чат-ботов имеют type: system и flow_id.
安全使用建议
This skill is an instruction/reference for calling the Avito API and appears coherent. Before using it: (1) do not paste client_id/client_secret or access tokens into public chats — prefer the platform's secure credential storage if available; (2) verify webhook endpoints you register are under your control and use HTTPS; (3) confirm you have the required paid Avito plan and that using an agent to manage messages/ads complies with Avito's terms; (4) if the agent will perform actions on your behalf, consider limiting its scope and rotating tokens regularly.
功能分析
Type: OpenClaw Skill Name: avito-pro Version: 2026.3.16 The skill bundle contains documentation and instructions for interacting with the official Avito API (api.avito.ru). It outlines standard OAuth 2.0 authentication flows, messenger management, and advertisement statistics. No executable code, data exfiltration logic, or malicious prompt injection attempts were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The name/description match the SKILL.md content: it documents Avito API endpoints, OAuth flows, messenger, items and stats. Nothing in the instructions attempts to access unrelated services or system resources. Minor note: the skill describes using client_id/client_secret and access tokens, but the registry metadata does not list any required environment variables or primary credential—this is not necessarily malicious but is a small mismatch in metadata vs. runtime needs.
Instruction Scope
SKILL.md only gives API endpoints, OAuth steps and example curl requests for Avito and mentions webhooks. It does not instruct the agent to read local files, system config, or send data to unexpected endpoints, nor does it grant broad open-ended discretion to collect environment context.
Install Mechanism
No install spec and no code files — instruction-only skill. This is lowest-risk from an install perspective because nothing is written or executed by the skill itself.
Credentials
The documented API usage requires credentials (client_id, client_secret, access tokens) as part of the OAuth flow. The skill metadata lists no required environment variables or primary credential. That omission is explainable for an instruction-only reference, but users should be careful how/where they supply these secrets (do not paste them into chat history unless you trust the environment).
Persistence & Privilege
Flags show normal defaults: always=false, user-invocable=true, disable-model-invocation=false. The skill does not request permanent presence or special privileges and does not attempt to modify other skills or system-wide config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install avito-pro
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /avito-pro 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2026.3.16
- Обновлено описание и инструкции по работе с Avito API: авторизация, мессенджер, объявления и статистика. - Добавлены примеры основных эндпоинтов, тел запроса и вебхуков для интеграции с CRM. - Перечислены необходимые Scope для доступа к разделам API. - Указаны ограничения и условия использования (требование платного тарифа, особенности заголовков). - Структурирован и дополнен раздел по OAuth 2.0 (персональная и клиентская авторизации).
元数据
Slug avito-pro
版本 2026.3.16
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Avito Pro 是什么?

Работа с API Авито (Авторизация, Мессенджер, Объявления, Статистика). Позволяет получать токены, читать/отправлять сообщения в чатах Авито и управлять объявл... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 196 次。

如何安装 Avito Pro?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install avito-pro」即可一键安装,无需额外配置。

Avito Pro 是免费的吗?

是的,Avito Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Avito Pro 支持哪些平台?

Avito Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Avito Pro?

由 thisisevgeniy(@thisisevgeniy)开发并维护,当前版本 v2026.3.16。

💬 留言讨论