Avito icon

Avito

Взаимодействие с API Авито для бизнеса

Overview

This node integrates with the Avito API to retrieve detailed information about listings based on their IDs extracted from an autoload XML file. Specifically, the operation "🔍 Поиск: Статус По ID Из Файла" (Search: Status by ID From File) allows users to query up to 100 listing IDs at once to obtain current status, errors, warnings, billing info, and direct links to the listings on Avito.

Practical scenarios include:

  • Monitoring the status of multiple listings uploaded via an autoload XML file.
  • Quickly identifying which listings are active, expired, or have errors.
  • Automating reporting workflows that track listing performance or issues.
  • Integrating Avito listing status checks into larger business processes without manual lookup.

Properties

Name Meaning
ID Объявлений Из Файла Comma-separated or pipe-separated list of listing IDs (from 1 to 100) extracted from the <ID> parameter in the autoload XML file. Used to specify which listings to query for detailed status information.
🔍 Поиск объявлений по ID из файла

📋 Назначение:
• Получение подробной информации об объявлениях
• По ID из XML файла автозагрузки
• Текущий статус, ошибки, ссылки на Авито

📝 Формат ID:
• ID из параметра <ID> в XML файле
• От 1 до 100 ID за запрос
• Разделители: запятая (,) или символ (
)

📊 Что получите:
• Статус объявления на Авито
• Дата окончания размещения
• Информация о списаниях
• Ошибки и предупреждения
• Ссылка на объявление

Output

The output is a JSON object containing detailed information about each requested listing ID, including but not limited to:

  • Current status of the listing on Avito (e.g., active, expired).
  • Expiration date of the listing.
  • Billing or deduction information related to the listing.
  • Any errors or warnings associated with the listing.
  • Direct URL link to the listing on Avito.

Each item in the output corresponds to one input listing ID and includes these details structured as JSON fields.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Avito API.
  • The node depends on internal routing utilities to handle different resource operations.
  • No additional external dependencies beyond the Avito API and n8n's standard environment.

Troubleshooting

  • Common Issues:

    • Providing more than 100 IDs in the input string will likely cause errors or be rejected by the API.
    • Incorrectly formatted IDs (not matching those in the autoload XML file) may result in empty or error responses.
    • Network or authentication failures can prevent successful API calls.
  • Error Messages:

    • "Unknown resource: ..." — indicates the resource parameter is invalid or unsupported.
    • API errors returned from Avito (e.g., rate limits, invalid credentials) will be passed through as error messages.
  • Resolutions:

    • Ensure the ID list contains between 1 and 100 valid IDs separated by commas or pipes.
    • Verify that the API key credential is correctly configured and has necessary permissions.
    • Use the node's "Continue On Fail" option to handle partial failures gracefully.

Links and References

Discussion