{
  "openapi": "3.0.1",
  "info": {
    "title": "Yandex Market Scraper: Prices, Sellers, Reviews & Offers",
    "description": "Scrape Yandex Market (Яндекс Маркет) search, category and product pages: prices, old prices, ratings, sellers, reviews, offers and images. No login.",
    "version": "0.1",
    "x-build-id": "ZMlepDTEveOJ5WboJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~yandex-market-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-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/cliqtomedia~yandex-market-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-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/cliqtomedia~yandex-market-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-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": {
          "searchQueries": {
            "title": "Search queries",
            "maxItems": 100,
            "type": "array",
            "description": "One Yandex Market search per line, in Russian or English. Each query returns the products Market shows for it.",
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category or search links",
            "maxItems": 100,
            "type": "array",
            "description": "Links to market.yandex.ru category or search pages. Filters already set in the link are kept.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product links",
            "maxItems": 1000,
            "type": "array",
            "description": "Links to market.yandex.ru product cards (market.yandex.ru/card/...), or just the number at the end of such a link. Each one gives one detailed product row. Old /product/ links do not open on Market any more.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most products to save in this run, across all queries and links. Each saved product is charged once.",
            "default": 20
          },
          "includeDetails": {
            "title": "Open product cards",
            "type": "boolean",
            "description": "Open each product card for brand, description, specifications, all images, seller and reviews count. Charged as a detailed product instead of a list product. Product links always open the card.",
            "default": false
          },
          "maxReviews": {
            "title": "Reviews per product",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Up to this many reviews per product. 0 skips reviews. Each review is charged. Turns on product cards.",
            "default": 0
          },
          "includeOffers": {
            "title": "Other sellers' offers",
            "type": "boolean",
            "description": "Add the offers of all sellers of the product: price, seller and delivery. Charged once per product with offers. Turns on product cards.",
            "default": false
          },
          "includeSellerInfo": {
            "title": "Seller legal details",
            "type": "boolean",
            "description": "Add the seller's legal form, INN and OGRN from the card. Free. The name of an individual entrepreneur is not saved.",
            "default": false
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "rating",
              "reviews",
              "discount"
            ],
            "type": "string",
            "description": "Order of products in searches and categories.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price, ₽",
            "minimum": 0,
            "type": "integer",
            "description": "Only products from this price in rubles."
          },
          "maxPrice": {
            "title": "Max price, ₽",
            "minimum": 0,
            "type": "integer",
            "description": "Only products up to this price in rubles."
          },
          "minRating": {
            "title": "Min rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only products rated at least this many stars, for example 4.5. Products without a rating are skipped."
          },
          "excludeSponsored": {
            "title": "Skip sponsored products",
            "type": "boolean",
            "description": "Leave out products Market marks as advertising.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitoring",
            "enum": [
              "all",
              "newAndChanged"
            ],
            "type": "string",
            "description": "All saves every product. New and changed saves only products that are new or changed price, availability, rating or reviews count since the last run with the same history name, so a scheduled run charges only for news.",
            "default": "all"
          },
          "stateName": {
            "title": "History name",
            "type": "string",
            "description": "Name of the saved history, so different schedules keep separate histories. Lowercase letters, digits and dashes.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Parallel cards",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many product cards are opened at the same time.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy for list pages",
            "type": "object",
            "description": "Proxy for search, category and offers pages. Leave Apify Proxy (datacenter) as is, pick another datacenter group or add your own proxy URLs. If Market blocks a list page on this proxy, the Actor retries it through its own Russian residential proxy. Product cards and reviews always go through that residential proxy. It is included in the price."
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}