{
  "openapi": "3.0.1",
  "info": {
    "title": "Парсер объявлений Авито / Avito Scraper: телефоны и цены",
    "description": "Парсер объявлений Авито: телефоны продавцов в открытом виде, цены, характеристики, отзывы и координаты. 76 категорий: авто, недвижимость, вакансии, услуги, посуточная аренда и отели.",
    "version": "0.0",
    "x-build-id": "0ylekeyif30WHHY1U"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zen-studio~avito-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zen-studio-avito-listings-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/zen-studio~avito-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zen-studio-avito-listings-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/zen-studio~avito-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zen-studio-avito-listings-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchUrl": {
            "title": "URL поиска (Search URL)",
            "type": "string",
            "description": "Вставьте URL с Avito.ru — поиск, категория или конкретное объявление. Фильтры и сортировка извлекаются автоматически. (Paste any Avito.ru URL — search, category, or listing page. Filters and sort order are extracted automatically.)"
          },
          "listingUrls": {
            "title": "Ссылки на объявления (Listing URLs)",
            "maxItems": 1000,
            "type": "array",
            "description": "Пакетный режим: список прямых ссылок на объявления (или их ID). Возвращает данные по каждому объявлению, оплата за объявление. Фильтры, город и категория игнорируются.<br><br>Batch mode: a list of direct listing URLs (or IDs). Returns each listing's data, billed per listing. Filters, city, and category are ignored.<br><br>Форматы / formats:<br>• <code>avito.ru/city/category/title_1234567890</code><br>• <code>1234567890</code> (прямой ID / direct ID)",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Макс. результатов (Max results)",
            "minimum": 1,
            "type": "integer",
            "description": "Макс. количество объявлений. (Max listings to scrape.)",
            "default": 100
          },
          "query": {
            "title": "Поисковый запрос (Search query)",
            "type": "string",
            "description": "Ключевые слова для поиска. Оставьте пустым, чтобы выгрузить всю категорию. (Search keywords. Leave empty to scrape an entire category.)"
          },
          "location": {
            "title": "Местоположение (Location)",
            "type": "string",
            "description": "Город или регион для поиска. Выберите из списка или введите название. (City or region. Pick from suggestions or type your own.)",
            "default": "Россия"
          },
          "category": {
            "title": "Категория (Category)",
            "enum": [
              "all",
              "transport_all",
              "auto",
              "motorcycles",
              "trucks",
              "boats",
              "spare_parts",
              "tires_wheels",
              "realty_all",
              "apartments",
              "apartments_sale",
              "apartments_new",
              "apartments_secondary",
              "apartments_rent",
              "apartments_rent_long",
              "apartments_daily",
              "rooms",
              "rooms_sale",
              "rooms_rent",
              "houses",
              "houses_sale",
              "houses_rent",
              "land",
              "commercial_realty",
              "garages",
              "foreign_realty",
              "hotels",
              "electronics_all",
              "phones",
              "computers",
              "laptops",
              "tablets_ebooks",
              "audio_video",
              "tvs_projectors",
              "cameras",
              "gaming",
              "computer_parts",
              "office_equipment",
              "home_garden_all",
              "furniture",
              "appliances",
              "dishes",
              "garden",
              "food",
              "renovation",
              "personal_items_all",
              "womens_clothing",
              "mens_clothing",
              "clothing_all",
              "childrens_clothing",
              "kids_goods",
              "watches_jewellery",
              "beauty_health",
              "hobbies_all",
              "books_magazines",
              "sports",
              "bicycles",
              "tickets",
              "musical_instruments",
              "collecting",
              "hunting_fishing",
              "animals_all",
              "cats",
              "dogs",
              "birds",
              "aquarium",
              "other_animals",
              "pet_supplies",
              "lost_found_pets",
              "jobs_all",
              "vacancies",
              "resumes",
              "resumes_beauty",
              "resumes_it",
              "resumes_sales",
              "resumes_transport",
              "resumes_construction",
              "resumes_medicine",
              "resumes_hospitality",
              "resumes_accounting",
              "vacancies_beauty",
              "vacancies_it",
              "vacancies_logistics",
              "vacancies_retail",
              "services",
              "services_repair",
              "services_electrician",
              "services_plumber",
              "services_handyman",
              "services_locksmith",
              "services_ceilings",
              "services_appliance_repair",
              "services_construction",
              "services_moving",
              "services_towing",
              "services_cleaning",
              "services_garden",
              "services_business",
              "services_accounting",
              "business_all",
              "business_equipment",
              "ready_business"
            ],
            "type": "string",
            "description": "Категория объявлений. Можно выгрузить всю категорию без поискового запроса. (Listing category. A category alone is enough, no keywords needed.)",
            "default": "all"
          },
          "categoryPath": {
            "title": "Точная категория (Exact category)",
            "type": "string",
            "description": "Путь категории, если нужной нет в списке выше, например <code>kvartiry/sdam/na_dlitelnyy_srok</code> или <code>vakansii/informacionnye_texnologii</code>. Имеет приоритет над полем «Категория». (Category path, for anything the dropdown above does not list, e.g. <code>kvartiry/sdam/na_dlitelnyy_srok</code>. Takes priority over Category.)"
          },
          "priceMin": {
            "title": "Мин. цена (Min price)",
            "minimum": 0,
            "type": "integer",
            "description": "Минимальная цена в рублях. (Minimum price in RUB.)"
          },
          "priceMax": {
            "title": "Макс. цена (Max price)",
            "minimum": 0,
            "type": "integer",
            "description": "Максимальная цена в рублях. (Maximum price in RUB.)"
          },
          "sort": {
            "title": "Сортировка (Sort)",
            "enum": [
              "relevance",
              "newest",
              "cheapest",
              "expensive"
            ],
            "type": "string",
            "description": "Порядок сортировки результатов. Без поискового запроса применяется сортировка по новизне. (Sort order. Without search keywords, results are sorted by newest.)",
            "default": "relevance"
          },
          "checkIn": {
            "title": "Заезд (Check-in)",
            "type": "string",
            "description": "Дата заезда для посуточной аренды и отелей, в формате ГГГГ-ММ-ДД, не в прошлом. Цена появляется только когда указаны обе даты. В других категориях не применяется. (Check-in date for daily rentals and hotels, YYYY-MM-DD, not in the past. Prices only appear once both dates are set; ignored in other categories.)"
          },
          "checkOut": {
            "title": "Выезд (Check-out)",
            "type": "string",
            "description": "Дата выезда, в формате ГГГГ-ММ-ДД. Указывается вместе с датой заезда, минимум на день позже: проживание считается ночами. (Check-out date, YYYY-MM-DD. Give it together with check-in, at least one day later: stays are priced in nights.)"
          },
          "guests": {
            "title": "Гостей (Guests)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Количество гостей, от 1 до 50. Влияет на цену и на то, какое жильё доступно. (Number of guests, 1 to 50. Affects the price and which places are available.)"
          },
          "childAges": {
            "title": "Возраст детей (Child ages)",
            "type": "array",
            "description": "Возраст каждого ребёнка в годах, 0-17. Отели считают цену и подбирают номера по возрасту детей: двое взрослых с двумя детьми видят меньше номеров и другую цену. (Age of each child in years, 0-17. Hotels price rooms and decide what fits by these ages.)",
            "items": {
              "type": "string"
            }
          },
          "includePhone": {
            "title": "Телефоны продавцов (Seller phones)",
            "type": "boolean",
            "description": "Номера телефонов продавцов. (Seller phone numbers.)",
            "default": false
          },
          "includeDetails": {
            "title": "Полные данные (Full listing details)",
            "type": "boolean",
            "description": "Описание, фото, характеристики, адрес, координаты, продавец, статистика, спецификации товара. Медленнее, но полная информация. (Description, photos, parameters, address, coordinates, seller info, stats, product specs. Slower but complete data.)",
            "default": false
          },
          "includeReviews": {
            "title": "Отзывы покупателей (Product reviews)",
            "type": "boolean",
            "description": "Отзывы о товаре — рейтинг, плюсы, минусы. Автоматически включает полные данные. (Product reviews — rating, pros, cons. Automatically enables full details.)",
            "default": false
          },
          "includeComparables": {
            "title": "Цены на эту же модель (Comparable prices)",
            "type": "boolean",
            "description": "Разброс цен на точно такую же модель: сколько предложений, минимум, медиана, максимум и место этого объявления среди них. Автоматически включает полные данные. (Price spread for the exact same model: offer count, minimum, median, maximum, and where this listing sits among them. Automatically enables full details.)",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}