← Back to Skills Marketplace
thisisevgeniy

Avito Pro

by thisisevgeniy · GitHub ↗ · v2026.3.16 · MIT-0
cross-platform ✓ Security Clean
196
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install avito-pro
Description
Работа с API Авито (Авторизация, Мессенджер, Объявления, Статистика). Позволяет получать токены, читать/отправлять сообщения в чатах Авито и управлять объявл...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install avito-pro
  3. After installation, invoke the skill by name or use /avito-pro
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2026.3.16
- Обновлено описание и инструкции по работе с Avito API: авторизация, мессенджер, объявления и статистика. - Добавлены примеры основных эндпоинтов, тел запроса и вебхуков для интеграции с CRM. - Перечислены необходимые Scope для доступа к разделам API. - Указаны ограничения и условия использования (требование платного тарифа, особенности заголовков). - Структурирован и дополнен раздел по OAuth 2.0 (персональная и клиентская авторизации).
Metadata
Slug avito-pro
Version 2026.3.16
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Avito Pro?

Работа с API Авито (Авторизация, Мессенджер, Объявления, Статистика). Позволяет получать токены, читать/отправлять сообщения в чатах Авито и управлять объявл... It is an AI Agent Skill for Claude Code / OpenClaw, with 196 downloads so far.

How do I install Avito Pro?

Run "/install avito-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Avito Pro free?

Yes, Avito Pro is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Avito Pro support?

Avito Pro is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Avito Pro?

It is built and maintained by thisisevgeniy (@thisisevgeniy); the current version is v2026.3.16.

💬 Comments