Avito Cpxpromo API

The Cpxpromo API from Avito — 5 operation(s) for cpxpromo.

Operations 5

GET /cpxpromo/1/getBids/{itemId} Получение детализированной информации о действующих и доступных ценах за целевые действия и бюджетах #
POST /cpxpromo/1/getPromotionsByItemIds Получение текущих цен за целевое действие и бюджетов по нескольким объявлениям #
POST /cpxpromo/1/remove Остановка продвижения #
POST /cpxpromo/1/setAuto Применение автоматической настройки #
POST /cpxpromo/1/setManual Применение ручной настройки #

Documentation

📖
Documentation
https://developers.avito.ru/api-catalog/accounts-hierarchy/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/ads/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/auction/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/auth/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/autoload/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/autostrategy/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/autoteka/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/avito-promo/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/calltracking/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/cpa/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/cpxpromo/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/delivery-sandbox/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/item/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/job/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/messenger/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/order-management/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/promotion/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/ratings/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/realty-reports/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/sbc-gateway/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/stock-management/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/str/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/tariff/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/trxpromo/documentation
📖
Documentation
https://developers.avito.ru/api-catalog/user/documentation

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/avito-cpxpromo-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

avito-cpxpromo-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: supportautoload@avito.ru
  description: 'API для взаимодействия с иерархией аккаунтов в Авито

    **Авито API для бизнеса предоставляется согласно [Условиям использования](https://www.avito.ru/legal/pro_tools/public-api).**

    '
  title: Иерархия Аккаунтов Access Cpxpromo API
  version: '1'
servers:
- url: https://api.avito.ru/
tags:
- name: Cpxpromo
paths:
  /cpxpromo/1/getBids/{itemId}:
    get:
      description: 'Метод позволяет получить детализированную информацию о действующих и доступных ценах целевого действия (в копейках), бюджетах (в копейках) и преимуществах перед конкурентами.

        Максимальное количество запросов в минуту - 20

        '
      operationId: getBids
      parameters:
      - $ref: '#/components/parameters/authHeader'
      - in: path
        name: itemId
        required: true
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getBidsOut'
          description: Ok
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tooManyRequestsError'
          description: Превышено допустимое количество запросов
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
        '500':
          $ref: '#/components/responses/internalError'
      security:
      - AuthorizationCode:
        - cpxpromo:read
      - ClientCredentials: []
      summary: Получение детализированной информации о действующих и доступных ценах за целевые действия и бюджетах
      x-rate-limiter:
        default: 20
      tags:
      - Cpxpromo
  /cpxpromo/1/getPromotionsByItemIds:
    post:
      description: 'Метод позволяет получить текущие цены целевого действия (в копейках) и бюджеты (в копейках) по нескольким объявлениям.

        Максимальное количество передаваемых объявлений - 200.

        Максимальное количество запросов в минуту - 400.

        '
      operationId: getPromotionsByItemIds
      parameters:
      - $ref: '#/components/parameters/authHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/getPromotionsByItemIdsIn'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getPromotionsByItemIdsOut'
          description: Ok
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tooManyRequestsError'
          description: Превышено допустимое количество запросов
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
        '500':
          $ref: '#/components/responses/internalError'
      security:
      - AuthorizationCode:
        - cpxpromo:read
      - ClientCredentials: []
      summary: Получение текущих цен за целевое действие и бюджетов по нескольким объявлениям
      x-rate-limiter:
        default: 400
      tags:
      - Cpxpromo
  /cpxpromo/1/remove:
    post:
      description: "Метод позволяет остановить продвижение и переключиться на цены из прайс-листа. \nМаксимальное количество запросов в минуту - 300\n"
      operationId: removePromotion
      parameters:
      - $ref: '#/components/parameters/authHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemovePromotion'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  message:
                    description: Текст сообщения
                    example: Ваше объявление теперь тарифицируется по базовой цене целевого действия
                    type: string
                required:
                - message
                type: object
          description: Ok
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tooManyRequestsError'
          description: Превышено допустимое количество запросов
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
        '500':
          $ref: '#/components/responses/internalError'
      security:
      - AuthorizationCode:
        - cpxpromo:edit
      - ClientCredentials: []
      summary: Остановка продвижения
      x-rate-limiter:
        default: 300
      tags:
      - Cpxpromo
  /cpxpromo/1/setAuto:
    post:
      description: 'Метод позволяет установить бюджет (в копейках) и срок, за который потратится этот бюджет ("1d" — сутки; "7d" — неделя; "30d" — месяц). Бюджет указывать необязательно.


        Автоматическое продвижение пока что нельзя запустить в категории «Транспорт»


        Максимальное количество запросов в минуту - 10.

        '
      operationId: saveAutoBid
      parameters:
      - $ref: '#/components/parameters/authHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutoBid'
        required: true
      responses:
        '200':
          description: Ok
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tooManyRequestsError'
          description: Превышено допустимое количество запросов
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
        '500':
          $ref: '#/components/responses/internalError'
      security:
      - AuthorizationCode:
        - cpxpromo:edit
      - ClientCredentials: []
      summary: Применение автоматической настройки
      x-rate-limiter:
        default: 10
      tags:
      - Cpxpromo
  /cpxpromo/1/setManual:
    post:
      description: 'Метод позволяет установить цену за целевое действие и лимит трат (обе суммы нужно указать в копейках).


        Цена целевого действия должна быть больше минимальной цены (посмотреть минимальную цену можно в ручке получения получения детализированной информации о действующих и доступных ценах за целевые действия и бюджетах). Лимит трат указывать необязательно.


        Максимальное количество запросов в минуту - 20.

        '
      operationId: saveManualBid
      parameters:
      - $ref: '#/components/parameters/authHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManualBid'
        required: true
      responses:
        '200':
          description: Ok
        '400':
          $ref: '#/components/responses/badRequest'
        '401':
          $ref: '#/components/responses/unauthorized'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tooManyRequestsError'
          description: Превышено допустимое количество запросов
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
        '500':
          $ref: '#/components/responses/internalError'
      security:
      - AuthorizationCode:
        - cpxpromo:edit
      - ClientCredentials: []
      summary: Применение ручной настройки
      x-rate-limiter:
        default: 20
      tags:
      - Cpxpromo
components:
  schemas:
    budget:
      properties:
        budgets:
          items:
            $ref: '#/components/schemas/budgetValue'
          maxItems: 200
          minItems: 1
          type: array
        maxLimitPenny:
          description: Максимальный лимит (в копейках)
          type: integer
        minLimitPenny:
          description: Минимальный лимит (в копейках)
          type: integer
        recBudgetPenny:
          description: Рекомендованный лимит (в копейках)
          type: integer
      required:
      - budgets
      - minLimitPenny
      - maxLimitPenny
      - recBudgetPenny
      type: object
    getPromotionsByItemIdsIn:
      properties:
        itemIDs:
          items:
            description: Идентификатор объявления
            example: 1
            type: integer
          maxItems: 200
          minItems: 1
          type: array
      required:
      - itemIDs
      type: object
    manualPromotion:
      properties:
        bidPenny:
          description: Текущая цена за целевое действие в копейках
          type: integer
        limitPenny:
          description: Дневной лимит в копейках
          type:
          - integer
          - 'null'
      required:
      - bidPenny
      type:
      - object
      - 'null'
    getPromotionsByItemIdsOut:
      properties:
        items:
          items:
            properties:
              actionTypeID:
                description: Тип события (1 - звонок | 5 - пакет кликов | 7 - мессенджер, передача контакта в чате)
                type: integer
              autoPromotion:
                $ref: '#/components/schemas/autoPromotion'
              itemID:
                description: Идентификатор объявления
                type: integer
              manualPromotion:
                $ref: '#/components/schemas/manualPromotion'
            required:
            - itemID
            - actionTypeID
            type: object
          maxItems: 200
          minItems: 1
          type: array
      required:
      - items
      type: object
    bid:
      properties:
        compare:
          description: Количество процентных пунктов. (На сколько выше в сравнении с конкурентами)
          type: integer
        maxForecast:
          description: Максимальное кол-во ЦД за цену ЦД
          type: integer
        minForecast:
          description: Минимальное кол-во ЦД за цену ЦД
          type: integer
        valuePenny:
          description: Цена за целевое действие (в копейках)
          type: integer
      required:
      - valuePenny
      - minForecast
      - maxForecast
      - compare
      type: object
    tooManyRequestsError:
      properties:
        error:
          properties:
            code:
              description: Код ошибки
              example: 429
              format: int32
              type: integer
          required:
          - code
          type: object
      type: object
    autoPromotion:
      properties:
        budgetPenny:
          description: Текущий бюджет в копейках
          type: integer
        budgetType:
          description: Тип бюджета ("1d" - дневной | "7d" - недельный | "30d" - месячный)
          type: string
      required:
      - budgetPenny
      - budgetType
      type:
      - object
      - 'null'
    manual:
      properties:
        bidPenny:
          description: Текущая цена за целевое действие (в копейках)
          type:
          - integer
          - 'null'
        bids:
          items:
            $ref: '#/components/schemas/bid'
          maxItems: 200
          minItems: 1
          type: array
        limitPenny:
          description: Дневной лимит (в копейках)
          type:
          - integer
          - 'null'
        maxBidPenny:
          description: Максимальная цена за целевое действие (в копейках)
          type: integer
        maxLimitPenny:
          description: Максимальный дневной лимит (в копейках)
          type: integer
        minBidPenny:
          description: Минимальная цена за целевое действие (в копейках)
          type: integer
        minLimitPenny:
          description: Минимальный дневной лимит (в копейках)
          type: integer
        recBidPenny:
          description: Рекомендуемая цена за целевое действие (в копейках)
          type: integer
      required:
      - recBidPenny
      - minBidPenny
      - maxBidPenny
      - minLimitPenny
      - maxLimitPenny
      - bids
      type:
      - object
      - 'null'
    AutoBid:
      properties:
        actionTypeID:
          description: Тип события (1 - звонок | 5 - пакет кликов | 7 - мессенджер, передача контакта в чате)
          example: 5
          type: integer
        budgetPenny:
          description: Текущий бюджет в копейках
          example: 1400
          type: integer
        budgetType:
          description: Тип бюджета ("1d" - дневной | "7d" - недельный | "30d" - месячный)
          example: 1d
          type: string
        itemID:
          description: Идентификатор объявления
          example: 123456789
          type: integer
      required:
      - itemID
      - budgetPenny
      - budgetType
      - actionTypeID
      type: object
    auto:
      properties:
        budgetPenny:
          description: Текущий бюджет (в копейках)
          type:
          - integer
          - 'null'
        budgetType:
          description: Тип бюджета ("1d" - дневной | "7d" - недельный | "30d" - месячный)
          type:
          - string
          - 'null'
        dailyBudget:
          $ref: '#/components/schemas/budget'
        maxBudgetPenny:
          description: Максимальный бюджет (в копейках)
          type: integer
        minBudgetPenny:
          description: Минимальный бюджет (в копейках)
          type: integer
        monthlyBudget:
          $ref: '#/components/schemas/budget'
        weeklyBudget:
          $ref: '#/components/schemas/budget'
      required:
      - minBudgetPenny
      - maxBudgetPenny
      - dailyBudget
      - weeklyBudget
      - monthlyBudget
      type:
      - object
      - 'null'
    error:
      additionalProperties: false
      properties:
        message:
          description: Текст ошибки
          example: Что-то пошло не так
          type: string
      required:
      - message
      type: object
    RemovePromotion:
      properties:
        itemID:
          description: Идентификатор объявления
          example: 123456789
          type: integer
      required:
      - itemID
      type: object
    getBidsOut:
      properties:
        actionTypeID:
          description: Тип события (1 - звонок | 5 - пакет кликов | 7 - мессенджер, передача контакта в чате)
          type: integer
        auto:
          $ref: '#/components/schemas/auto'
        manual:
          $ref: '#/components/schemas/manual'
        selectedType:
          description: Выбранный тип продвижения ("manual" - ручное продвижение | "auto" - автоматическое продвижение)
          type: string
      required:
      - actionTypeID
      - selectedType
      type: object
    budgetValue:
      properties:
        compare:
          description: Количество процентных пунктов. (На сколько выше в сравнении с конкурентами)
          type: integer
        maxForecast:
          description: Максимальное кол-во ЦД за цену ЦД
          type: integer
        minForecast:
          description: Минимальное кол-во ЦД за цену ЦД
          type: integer
        valuePenny:
          description: Бюджет (в копейках)
          type: integer
      required:
      - valuePenny
      - minForecast
      - maxForecast
      - compare
      type: object
    ManualBid:
      properties:
        actionTypeID:
          description: Тип события (1 - звонок | 5 - пакет кликов | 7 - мессенджер, передача контакта в чате)
          example: 5
          type: integer
        bidPenny:
          description: Текущая цена за целевое действие в копейках
          example: 1400
          type: integer
        itemID:
          description: Идентификатор объявления
          example: 123456789
          type: integer
        limitPenny:
          description: Дневной лимит в копейках
          example: 192400
          type:
          - integer
          - 'null'
      required:
      - itemID
      - bidPenny
      - actionTypeID
      type: object
  headers:
    X-RateLimit-Remaining:
      description: Доступное количество запросов в текущем временном окне
      schema:
        format: int32
        type: integer
    X-RateLimit-Limit:
      description: Количество запросов в минуту
      schema:
        format: int32
        type: integer
  responses:
    internalError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
      description: Internal Error
    badRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
      description: Bad request
    unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
      description: Unauthorized
  parameters:
    authHeader:
      description: Токен для авторизации
      in: header
      name: Authorization
      required: true
      schema:
        example: Bearer ACCESS_TOKEN
        type: string
  securitySchemes:
    AuthorizationCode:
      description: Это API использует OAuth 2 с механизмом authorization_code. Используйте его для доступа к данным других пользователей при разработке стороннего приложения. [Подробнее](/api-catalog/auth/documentation#tag/ApplicationAccess)
      flows:
        authorizationCode:
          authorizationUrl: https://avito.ru/oauth
          scopes:
            ah:access: Взаимодействие с иерархией аккаунтов
          tokenUrl: https://api.avito.ru/token
      type: oauth2
    ClientCredentials:
      description: Это API использует OAuth 2 с механизмом client_credentials. Используйте его для доступа к возможностям своей личной учетной записи. [Подробнее](#tag/Access)
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: https://api.avito.ru/token
      type: oauth2