{
  "openapi": "3.0.1",
  "info": {
    "title": "Avito Scraper | Парсер Авито · Listings, Prices & Sellers",
    "description": "Scrape Avito.ru listings by search words and city or from any Avito link: title, price, address with coordinates, posting date, photos, seller with rating and badges. Opt-in detail adds the full description, every characteristic and view counts. Cars, flats, electronics, jobs. No login.",
    "version": "0.0",
    "x-build-id": "rHEZdnqx6uTtk1Xuc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~avito-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-avito-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/memo23~avito-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-avito-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/memo23~avito-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-avito-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": {
          "searchQueries": {
            "title": "What to search for",
            "type": "array",
            "description": "Words you would type into Avito's search box, one search per line, e.g. iphone 15, toyota camry or 2-к квартира. Each runs in the city below and is paged through, up to 1,500 listings per search (Avito's own limit). Leave empty and pick a category below to list the whole category instead. If the words, the category and the links are all empty, the run searches for iphone 15 in Moscow.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City or region",
            "type": "string",
            "description": "Where the searches above run. A Russian name (Москва, Санкт-Петербург, Казань), an English one (Moscow) or the city part of an Avito link (moskva, sankt-peterburg, ekaterinburg). Leave empty for all of Russia. Pasted links keep their own city."
          },
          "category": {
            "title": "Category",
            "enum": [
              "all",
              "transport",
              "avtomobili",
              "mototsikly_i_mototehnika",
              "gruzoviki_i_spetstehnika",
              "vodnyy_transport",
              "zapchasti_i_aksessuary",
              "nedvizhimost",
              "kvartiry",
              "kommercheskaya_nedvizhimost",
              "zemelnye_uchastki",
              "vakansii",
              "rezume",
              "predlozheniya_uslug",
              "odezhda_obuv_aksessuary",
              "detskaya_odezhda_i_obuv",
              "tovary_dlya_detey_i_igrushki",
              "krasota_i_zdorove",
              "chasy_i_ukrasheniya",
              "remont_i_stroitelstvo",
              "mebel_i_interer",
              "bytovaya_tehnika",
              "produkty_pitaniya",
              "rasteniya",
              "posuda_i_tovary_dlya_kuhni",
              "bytovaya_elektronika",
              "telefony",
              "audio_i_video",
              "tovary_dlya_kompyutera",
              "igry_pristavki_i_programmy",
              "noutbuki",
              "nastolnye_kompyutery",
              "fototehnika",
              "planshety_i_elektronnye_knigi",
              "orgtehnika_i_rashodniki",
              "hobbi_i_otdyh",
              "bilety_i_puteshestviya",
              "velosipedy",
              "knigi_i_zhurnaly",
              "kollektsionirovanie",
              "muzykalnye_instrumenty",
              "ohota_i_rybalka",
              "sport_i_otdyh",
              "zhivotnye",
              "sobaki",
              "koshki",
              "tovary_dlya_zhivotnyh",
              "dlya_biznesa",
              "oborudovanie_dlya_biznesa",
              "gotoviy_biznes"
            ],
            "type": "string",
            "description": "Limit the searches above to one Avito category, e.g. Автомобили (Cars) or Квартиры (Flats). With no search words, the run lists the whole category in the chosen city. Pasted links keep their own category. Default: all categories.",
            "default": "all"
          },
          "startUrls": {
            "title": "Avito links",
            "type": "array",
            "description": "Links copied from avito.ru: a search page (https://www.avito.ru/moskva?q=iphone), a category page (https://www.avito.ru/moskva/kvartiry/prodam) or a single listing. Search and category pages are paged through and get the order and filters below; a listing link returns that listing with its full details.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sortBy": {
            "title": "Result order",
            "enum": [
              "default",
              "date",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "How Avito orders the results of searches and pasted search or category pages.",
            "default": "default"
          },
          "minPrice": {
            "title": "Price from (₽)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in roubles. Empty or 0: no lower limit."
          },
          "maxPrice": {
            "title": "Price up to (₽)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in roubles. Empty or 0: no upper limit."
          },
          "onlyWithDelivery": {
            "title": "Only listings with Avito delivery",
            "type": "boolean",
            "description": "On: only listings the seller ships with Avito Delivery. Off (default): all listings.",
            "default": false
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "private",
              "company"
            ],
            "type": "string",
            "description": "Private sellers only, companies and agencies only, or both (default). Avito applies it to searches and pasted links. In some categories (cars among them) Avito ignores it, so with \"Private sellers only\" the actor also leaves out every listing Avito labels as a company, agency, developer or dealer; those are not billed.",
            "default": "any"
          },
          "onlyLocal": {
            "title": "Only listings in my city",
            "type": "boolean",
            "description": "Avito mixes listings from other regions that ship with Avito Delivery into a city's results. On: those are left out and not billed. Off (default): kept, with inSearchedArea false. Has no effect on all-of-Russia searches.",
            "default": false
          },
          "scrapeDetails": {
            "title": "Open each listing (paid add-on)",
            "type": "boolean",
            "description": "Off (default): each row carries what the search results show: title, price, address with coordinates, posting date, photos, the start of the description and the seller with rating. On: the run also opens every listing for its full description, all characteristics (mileage, rooms, memory, condition...), view counts, nearby metro and the category path. That is one more page per listing, so runs take longer, and each listing opened is billed as an extra \"Listing detail\" event.",
            "default": false
          },
          "includeModelPrices": {
            "title": "Model price range (paid add-on)",
            "type": "boolean",
            "description": "For goods Avito links to a catalog model (phones, laptops, consoles, cameras, appliances...). On: each such listing also gets its exact model, the lowest and highest price Avito shows for it, the median price of its current listings, how many listings it has, and where this listing's price sits among them (0 = cheapest, 100 = dearest). Turns on \"Open each listing\". Billed as one \"Model prices\" event per listing that gets them; listings with no catalog model are not billed. Off (default).",
            "default": false
          },
          "includeModelReviews": {
            "title": "Model reviews (paid add-on)",
            "type": "boolean",
            "description": "On: the first listing of each catalog model also carries that model's buyer reviews (stars, title, text, pros, cons, how long the author used it, variant, date, author) and the star breakdown. Turns on \"Open each listing\". Billed per review attached. Off (default).",
            "default": false
          },
          "maxModelReviews": {
            "title": "Reviews per model",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many reviews to attach per model with \"Model reviews\" on, newest first. 1 to 500. Default 20.",
            "default": 20
          },
          "maxItems": {
            "title": "Listings in total",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops after this many listings. It also stops early at your spending limit, and on the free Apify plan at 100.",
            "default": 1000
          },
          "onlyNew": {
            "title": "Only listings new since the last run",
            "type": "boolean",
            "description": "For scheduled monitoring. On: the run remembers every listing it returns and later runs with the same searches (or the same tracking name) skip those, so you get and pay for new listings only. A run that finds nothing new ends successfully with an empty dataset. The list is kept in a key-value store named avito-scraper-seen in your account. Off (default): every run returns everything it finds.",
            "default": false
          },
          "trackingName": {
            "title": "Tracking name",
            "type": "string",
            "description": "Optional name for the list of listings already seen, e.g. moscow-iphones. Runs that share a name share the list, even if their searches differ. Leave empty to use one list per set of searches. Used only with \"Only listings new since the last run\"."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}