{
  "openapi": "3.0.1",
  "info": {
    "title": "Yandex Market Scraper | Парсер Яндекс Маркет · Prices, Reviews",
    "description": "Scrape Yandex Market (Яндекс Маркет) by keyword or any search, category or product link. Get card and regular price, discount, rating, stock, full specs, and the seller's legal entity: INN, OGRN, address. Optional buyer reviews with pros and cons. 16 cities, JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "bzdbgAauZiqzhO41h"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~yandex-market-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-yandex-market-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~yandex-market-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-yandex-market-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~yandex-market-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-yandex-market-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": {
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "What you would type in the Yandex Market search box, one per line. Russian keywords give the most precise results; English ones work too.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Yandex Market links",
            "type": "array",
            "description": "Search links (https://market.yandex.ru/search?text=…), category links (https://market.yandex.ru/category/… or /catalog--…/list?hid=…) and product links (https://market.yandex.ru/card/…/…). Filters, sort and price range in a search or category link are kept.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max products in total",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap on products for the whole run. Free-plan runs return up to 20.",
            "default": 100
          },
          "maxResultsPerSearch": {
            "title": "Max products per keyword or listing",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How deep to go into each keyword search or category. Product links are always scraped.",
            "default": 100
          },
          "includeDetails": {
            "title": "Product page details",
            "type": "boolean",
            "description": "Open each product page for the brand, category path, specifications, description, and the seller's legal entity (INN, OGRN, address). Turn off for a faster price-check row: the card price, the price without the card, the old price, the seller, the delivery promise and how many are in stock.",
            "default": true
          },
          "includeReviews": {
            "title": "Buyer reviews",
            "type": "boolean",
            "description": "Also return buyer reviews as separate rows (type \"review\"): rating, text, pros, cons, date, likes, photos and videos. Each review row is charged as a review. Needs product page details.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most helpful reviews first, as Yandex Market orders them. Free-plan runs return up to 10 per product.",
            "default": 20
          },
          "city": {
            "title": "City",
            "enum": [
              "moscow",
              "saint_petersburg",
              "novosibirsk",
              "yekaterinburg",
              "kazan",
              "nizhny_novgorod",
              "chelyabinsk",
              "samara",
              "omsk",
              "rostov_on_don",
              "ufa",
              "krasnoyarsk",
              "voronezh",
              "perm",
              "volgograd",
              "krasnodar"
            ],
            "type": "string",
            "description": "Prices, sellers and stock as a buyer in this city sees them. Every row says the region Yandex Market priced it for (regionName).",
            "default": "moscow"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "popular",
              "top_rated",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of keyword search results. A link keeps its own sort.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price (RUB)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products from this price, in roubles."
          },
          "maxPrice": {
            "title": "Max price (RUB)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products up to this price, in roubles."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}