npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

daytona-wildberries-typescript-sdk

v2.4.2

Published

Full-featured TypeScript SDK providing type-safe access to all Wildberries marketplace API methods

Readme

Wildberries API TypeScript SDK

CI Documentation Deploy npm version Coverage License: Personal Use

Full-featured TypeScript SDK providing type-safe access to all Wildberries marketplace API methods.

Полнофункциональный TypeScript SDK с полной типизацией для всех методов API маркетплейса Wildberries.


📚 Complete Documentation | Languages: English | Русский (Russian)


🌍 Language / Язык


English Version

Transform 11 OpenAPI specifications into a production-ready SDK with complete type safety, automatic rate limiting, retry mechanisms, and comprehensive error handling. Reduce integration time from weeks to hours.

✨ Features

  • 🔐 Complete Type Safety - Auto-generated TypeScript types from OpenAPI specifications for all 11 API modules
  • ⚡ Automatic Rate Limiting - Built-in enforcement of per-endpoint rate limits with intelligent queuing
  • 🔄 Smart Retry Logic - Exponential backoff retry mechanism for transient failures
  • 🛡️ Rich Error Handling - Typed error hierarchy with detailed recovery guidance
  • 📦 Tree-Shakeable - Dual ESM/CommonJS builds, import only what you need (<100KB gzipped)
  • ✅ Battle-Tested - 98% test coverage with 950+ tests across all modules
  • 🎯 100% API Coverage - All 229 YAML endpoints implemented (v2.2.0)
  • 📚 Comprehensive Documentation - Complete API reference, tutorials, and working examples in English and Russian
  • 🔧 Zero Configuration - Works out of the box with sensible defaults, configurable for advanced use

⚠️ Critical API Update

Wildberries API Deprecation Notice - Four Promotion API methods will be disabled on February 2, 2026:

  • getAutoGetnmtoadd() - List of Product Cards (type 8 campaigns)
  • createAutoUpdatenm() - Update Product Cards (type 8 campaigns)
  • getAutoStatWords() - Statistics by Phrase Clusters (type 8 campaigns)
  • createAutoSetExcluded() - Set/Remove Minus-Phrases (type 8 campaigns)

Action Required: Migrate to type 9 campaign methods before February 2, 2026.

📖 Complete Migration Guide


📦 Installation

npm install daytona-wildberries-typescript-sdk

Requirements

  • Node.js: ≥ 20.0.0
  • TypeScript: ≥ 5.0.0 (for TypeScript projects)
  • Wildberries API Key: Get one here

🚀 Quick Start

import { WildberriesSDK } from 'daytona-wildberries-typescript-sdk';

// Initialize SDK with your API key
const sdk = new WildberriesSDK({
  apiKey: process.env.WB_API_KEY! // Store securely in environment variables
});

// Test connectivity
const pingResponse = await sdk.general.ping();
console.log('Connected:', pingResponse.Status); // 'OK'

// Fetch product categories
const categories = await sdk.products.getParentAll();
console.log('Categories:', categories.data?.length);

// Get new orders
const orders = await sdk.ordersFBS.getNewOrders();
console.log('New orders:', orders.length);

// Check account balance
const balance = await sdk.finances.getBalance();
console.log('Balance:', balance.for_withdraw, balance.currency);

// Get advertising campaigns overview
const campaigns = await sdk.promotion.getPromotionCount();
console.log('Total campaigns:', campaigns.all);

// Get advertising balance
const advBalance = await sdk.promotion.getAdvBalance();
console.log('Ad cabinet balance:', advBalance.net);

// Get customer chat list with last messages (NEW in v2.3.2)
const chats = await sdk.communications.getSellerChats();
console.log('Active chats:', chats.result?.length);
chats.result?.forEach(chat => {
  if (chat.lastMessage) {
    console.log(`${chat.clientName}: "${chat.lastMessage.text}"`);
  }
});

Time to First API Call: <5 minutes 🚀

👉 Complete Quickstart Guide

📚 Documentation

Getting Started

Guides

🎯 Supported API Modules

All 11 Wildberries API modules are fully supported with 100% API coverage:

| Module | Description | |--------|-------------| | General | Ping, news, seller info, connectivity testing | | Products | Categories, CRUD, media, pricing, warehouse, stock | | Orders FBS | Seller fulfillment, order status, shipping, supplies | | Orders FBW | WB warehouse fulfillment, supply planning | | Finances | Balance, transactions, reports, payouts | | Analytics | Sales funnel, search queries, stock history, CSV reports | | Reports | Income reports, sales reports, data exports | | Communications | Customer chat with real-time messaging, product Q&A, reviews and ratings management, chat previews with last messages | | Promotion | Campaigns, promo codes, advertising ⚠️ Migration Required - 4 methods deprecated (Feb 2, 2026) | | Tariffs | Commission rates, fee schedules | | In-Store Pickup | Pickup point orders and management |

📄 License

Personal Use License - Free for personal, educational, and non-commercial use.

Permitted:

  • Personal non-commercial use
  • Educational purposes
  • Open source projects (non-commercial)
  • Learning and skill development

Not Permitted Without Commercial License:

  • Commercial use in business environments
  • Selling or monetizing the SDK
  • Providing paid services based on the SDK
  • Use in commercial products/services

For commercial use, please contact for licensing.

See LICENSE file for complete terms.

🤝 Contributing

We welcome contributions! Whether it's bug reports, feature requests, documentation improvements, or code contributions.

Contributing Guide

📞 Support

⚠️ Disclaimer

This is an unofficial SDK. It is not affiliated with, officially maintained by, or endorsed by Wildberries. Use at your own risk. Always refer to the official Wildberries API documentation for authoritative information.


Русская Версия

Преобразуйте 11 OpenAPI спецификаций в production-готовый SDK с полной типобезопасностью, автоматическими лимитами запросов, механизмами повторных попыток и комплексной обработкой ошибок. Сократите время интеграции с недель до часов.

✨ Возможности

  • 🔐 Полная Типобезопасность - Автоматически генерируемые TypeScript типы из OpenAPI для всех 11 модулей
  • ⚡ Автоматические Лимиты Запросов - Встроенное соблюдение лимитов для каждой конечной точки с умной очередью
  • 🔄 Умная Логика Повторов - Экспоненциальная задержка для временных сбоев
  • 🛡️ Богатая Обработка Ошибок - Типизированная иерархия ошибок с подробными рекомендациями
  • 📦 Tree-Shakeable - Двойная сборка ESM/CommonJS, импортируйте только то, что нужно (<100KB gzip)
  • ✅ Проверено в Бою - 98% покрытие тестами, 950+ тестов для всех модулей
  • 🎯 100% Покрытие API - Все 229 эндпоинтов YAML реализованы (v2.2.0)
  • 📚 Полная Документация - Справочник API, учебные руководства и примеры на английском и русском
  • 🔧 Без Настройки - Работает из коробки с разумными значениями по умолчанию

⚠️ Критическое Обновление API

Уведомление об устаревании API Wildberries - Четыре метода Promotion API будут отключены 2 февраля 2026:

  • getAutoGetnmtoadd() - Список карточек товаров (кампании type 8)
  • createAutoUpdatenm() - Обновление карточек товаров (кампании type 8)
  • getAutoStatWords() - Статистика по кластерам фраз (кампании type 8)
  • createAutoSetExcluded() - Установка/удаление минус-фраз (кампании type 8)

Требуется действие: Перейдите на методы кампаний type 9 до 2 февраля 2026.

📖 Полное Руководство по Миграции


📦 Установка

npm install daytona-wildberries-typescript-sdk

Требования

🚀 Быстрый Старт

import { WildberriesSDK } from 'daytona-wildberries-typescript-sdk';

// Инициализация SDK с вашим API ключом
const sdk = new WildberriesSDK({
  apiKey: process.env.WB_API_KEY! // Храните безопасно в переменных окружения
});

// Проверка подключения
const pingResponse = await sdk.general.ping();
console.log('Подключено:', pingResponse.Status); // 'OK'

// Получение категорий товаров
const categories = await sdk.products.getParentAll();
console.log('Категории:', categories.data?.length);

// Получение новых заказов
const orders = await sdk.ordersFBS.getNewOrders();
console.log('Новые заказы:', orders.length);

// Проверка баланса счета
const balance = await sdk.finances.getBalance();
console.log('Баланс:', balance.for_withdraw, balance.currency);

// Обзор рекламных кампаний
const campaigns = await sdk.promotion.getPromotionCount();
console.log('Всего кампаний:', campaigns.all);

// Баланс рекламного кабинета
const advBalance = await sdk.promotion.getAdvBalance();
console.log('Баланс рекл. кабинета:', advBalance.net);

// Список чатов с клиентами и последними сообщениями (НОВОЕ в v2.3.2)
const chats = await sdk.communications.getSellerChats();
console.log('Активные чаты:', chats.result?.length);
chats.result?.forEach(chat => {
  if (chat.lastMessage) {
    console.log(`${chat.clientName}: "${chat.lastMessage.text}"`);
  }
});

Время до первого API вызова: <5 минут 🚀

👉 Полное Руководство по Быстрому Старту

📚 Документация

Начало Работы

Руководства

🎯 Поддерживаемые Модули API

Все 11 модулей Wildberries API полностью поддерживаются со 100% покрытием API:

| Модуль | Описание | |--------|----------| | General | Ping, новости, информация о продавце, проверка подключения | | Products | Категории, CRUD, медиа, ценообразование, склад, запасы | | Orders FBS | Выполнение продавцом, статус заказа, доставка, поставки | | Orders FBW | Выполнение складом WB, планирование поставок | | Finances | Баланс, транзакции, отчеты, выплаты | | Analytics | Воронка продаж, поисковые запросы, история запасов, CSV отчеты | | Reports | Отчеты о доходах, отчеты о продажах, экспорт данных | | Communications | Чат с клиентами в реальном времени, вопросы-ответы по товарам, управление отзывами и рейтингами, предпросмотр чатов с последними сообщениями | | Promotion | Кампании, промокоды, реклама ⚠️ Требуется Миграция - 4 метода устарели (2 февраля 2026) | | Tariffs | Ставки комиссий, тарифные планы | | In-Store Pickup | Заказы с самовывозом и управление |

📄 Лицензия

Лицензия для Личного Использования - Бесплатно для личного, образовательного и некоммерческого использования.

Разрешено:

  • Личное некоммерческое использование
  • Образовательные цели
  • Open source проекты (некоммерческие)
  • Обучение и развитие навыков

Запрещено Без Коммерческой Лицензии:

  • Коммерческое использование в бизнес-среде
  • Продажа или монетизация SDK
  • Предоставление платных услуг на основе SDK
  • Использование в коммерческих продуктах/сервисах

Для коммерческого использования, пожалуйста, свяжитесь для получения лицензии.

См. файл LICENSE для полных условий.

🤝 Участие в Проекте

Мы приветствуем вклад! Будь то сообщения об ошибках, запросы функций, улучшения документации или код.

Руководство по Участию

📞 Поддержка

⚠️ Отказ от Ответственности

Это неофициальный SDK. Не аффилирован, не поддерживается официально и не одобрен Wildberries. Используйте на свой риск. Всегда обращайтесь к официальной документации Wildberries API за авторитетной информацией.


Made with ❤️ for the Wildberries developer community

Сделано с ❤️ для сообщества разработчиков Wildberries

⬆ Back to top / Наверх