{
  "openapi": "3.0.1",
  "info": {
    "title": "Avito.ru Парсер / Scraper - Phone Numbers, Reviews & More",
    "description": "Парсер объявлений Авито: телефоны продавцов в открытом виде, отзывы покупателей, характеристики товаров. Все категории. | Avito scraper: seller phones, product reviews, specs & market prices. Cars, real estate, electronics — any listing, any city. Parse by URL or search query.",
    "version": "0.0",
    "x-build-id": "tI5FXPBI3CeXZDCOg"
  },
  "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.)"
          },
          "maxResults": {
            "title": "Макс. результатов (Max results)",
            "minimum": 1,
            "type": "integer",
            "description": "Макс. количество объявлений. (Max listings to scrape.)",
            "default": 100
          },
          "query": {
            "title": "Поисковый запрос (Search query)",
            "type": "string",
            "description": "Ключевые слова для поиска. (Search keywords.)"
          },
          "location": {
            "title": "Местоположение (Location)",
            "type": "string",
            "description": "Город или регион для поиска. Выберите из списка или введите название. (City or region. Pick from suggestions or type your own.)",
            "default": "Россия"
          },
          "category": {
            "title": "Категория (Category)",
            "enum": [
              "all",
              "auto",
              "motorcycles",
              "trucks",
              "boats",
              "spare_parts",
              "tires_wheels",
              "apartments",
              "rooms",
              "houses",
              "land",
              "commercial_realty",
              "garages",
              "phones",
              "computers",
              "laptops",
              "tablets_ebooks",
              "audio_video",
              "tvs_projectors",
              "cameras",
              "gaming",
              "furniture",
              "appliances",
              "renovation",
              "womens_clothing",
              "mens_clothing",
              "childrens_clothing",
              "books_magazines",
              "sports",
              "tickets",
              "musical_instruments",
              "collecting",
              "hunting_fishing",
              "vacancies",
              "resumes",
              "services",
              "business_equipment",
              "ready_business",
              "for_free"
            ],
            "type": "string",
            "description": "Категория объявлений. (Listing category.)",
            "default": "all"
          },
          "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.)",
            "default": "relevance"
          },
          "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
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}