{
  "openapi": "3.0.1",
  "info": {
    "title": "RU Marketplace Seller Intel: Wildberries, Avito, Yandex Market",
    "description": "Get seller and company intelligence across Wildberries, Avito, and Yandex Market in one dataset: legal entity data (INN, OGRN, address), ratings, review counts, and activity signals per seller.",
    "version": "0.2",
    "x-build-id": "2KQhtJB911t7N7LE5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~ru-marketplace-seller-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-ru-marketplace-seller-intel",
        "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/getascraper~ru-marketplace-seller-intel/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-ru-marketplace-seller-intel",
        "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/getascraper~ru-marketplace-seller-intel/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-ru-marketplace-seller-intel",
        "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": {
          "marketplaces": {
            "title": "Marketplaces to query",
            "type": "array",
            "description": "Which marketplace module(s) to run this session. Each one is independent - you can run all three, or just one. Ozon is deliberately not covered (CAPTCHA-walled - out of scope for this Actor).",
            "items": {
              "type": "string",
              "enum": [
                "wildberries",
                "avito",
                "yandex_market"
              ],
              "enumTitles": [
                "Wildberries",
                "Avito",
                "Yandex Market"
              ]
            },
            "default": [
              "wildberries",
              "avito",
              "yandex_market"
            ]
          },
          "wildberriesSupplierIds": {
            "title": "Wildberries supplier IDs",
            "type": "array",
            "description": "Numeric Wildberries seller/supplier IDs (the 'supplierId' field from any product - also visible in a seller page URL like wildberries.ru/seller/15841). Legal-entity dossier only, no proxy needed.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "avitoSellerUrls": {
            "title": "Avito seller profile URLs or slugs",
            "type": "array",
            "description": "Avito seller profile URLs (e.g. 'https://www.avito.ru/brands/greats') or bare slugs/ids (e.g. 'greats'). Find these on any listing page - the seller's storefront link uses this same '/brands/<slug>' shape for both business and individual accounts.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "yandexMarketKeywords": {
            "title": "Yandex Market search keywords",
            "type": "array",
            "description": "Search keywords to run on Yandex Market (e.g. 'наушники'). Yandex Market has no standalone seller-lookup page, so sellers are discovered by aggregating the distinct shops found in each keyword's search results - this dossier is intentionally thinner than Wildberries/Avito (name, rating, review count, a sample product count). Requires the RU residential proxy below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxSellersPerYandexKeyword": {
            "title": "Max sellers per Yandex Market keyword",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Cap on how many distinct shops/sellers to emit per Yandex Market keyword.",
            "default": 10
          },
          "maxActiveListings": {
            "title": "Avito active-listings snapshot size",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "For each Avito seller, how many of their currently-active listings to snapshot (title, price, location, link). Read straight off the profile page that's already fetched, so it costs no extra requests. Set 0 to skip the snapshot.",
            "default": 10
          },
          "maxItems": {
            "title": "Maximum total rows",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hard cap on total dataset rows across all marketplaces combined in this run (0 = unlimited).",
            "default": 500
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Avito (QRATOR TLS/IP-reputation gate) and Yandex Market (SmartCaptcha) both require an RU residential proxy - datacenter or non-RU IPs get hard-blocked. Wildberries' own module ignores this entirely and hits its public supplier CDN directly, no proxy at all. Do not weaken this default unless you only run Wildberries.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "RU"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}