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

@catalogicus-international/n8n-nodes-petrovich

v0.1.1

Published

n8n community node for searching products and reading prices/stock from petrovich.ru

Downloads

39

Readme

n8n-nodes-petrovich

n8n community node for low-volume product lookup on petrovich.ru.

The public storefront is protected by Qrator/captcha, so this package is built around Petrovich JSON API responses instead of scraping HTML. Configure the API base URL, search path, product path, city code, and optional API key in the credential.

Nodes

  • Petrovich — standard workflow node. Resource Product, operations Search, Get Product, and Get Price and Stock.
  • Petrovich Product Card — reads one product by ID, code, path, or URL.
  • Petrovich Tool — the same lookups exposed as an n8n AI Agent tool.

Credentials

Petrovich API stores:

  • Storefront Base URL — defaults to https://petrovich.ru, used for product links.
  • API Base URL — defaults to https://api.petrovich.ru.
  • Search Path — defaults to /catalog/v5/search.
  • Product Path — defaults to /catalog/v5/products/{id}.
  • City Code — defaults to spb, used for regional price/stock lookup.
  • API Key — optional, sent as both Authorization: Bearer ... and X-Api-Key.
  • User Agent — browser-like User-Agent sent with requests.

If Petrovich provides a different endpoint version, update Search Path and Product Path in credentials without changing node code.

Output

Search emits one item per product:

{
  "name": "Цемент М500 50 кг",
  "path": "/catalog/123/123456/",
  "url": "https://petrovich.ru/catalog/123/123456/",
  "productId": "123456",
  "code": "123456",
  "article": "ABC-1",
  "brand": "Петрович",
  "image": "https://petrovich.ru/images/123456.jpg",
  "price": 412.5,
  "priceText": "412.5 RUB",
  "currency": "RUB",
  "availability": "InStock",
  "availabilityText": "В наличии",
  "stock": 12,
  "unit": "шт",
  "raw": {}
}

Get Product adds:

{
  "description": "Портландцемент для строительных работ",
  "properties": [{ "name": "Вес", "value": "50 кг" }]
}

The normalizer accepts several common response shapes: products, items, results, data.products, data.items, result.products, and catalog.products.

Development

pnpm run build
pnpm test
pnpm run lint