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

n8n-nodes-x402

v0.2.0

Published

n8n nodes for x402 micropayments — accept payments, send payments, and query the SmartFlow Observatory endpoint catalogue (58k+ endpoints).

Readme

n8n-nodes-x402

npm License: MIT

n8n community nodes for x402 micropayments — accept payments, send payments, and query the SmartFlow Observatory endpoint catalogue (58k+ x402 endpoints) in your n8n workflows without writing code.

Nodes

X402 Trigger

Webhook trigger that accepts x402 micropayments. When a request arrives:

  • Without payment → returns HTTP 402 with payment requirements
  • With valid payment → verifies via facilitator, settles on-chain, passes data to workflow

Use it to monetize any n8n workflow — charge per API call, per automation run, per data request.

X402 Pay

Send x402 payments to protected endpoints. Handles the full payment flow:

  1. Sends request to target URL
  2. Receives 402 payment requirements
  3. Signs payment with your wallet
  4. Resends with payment header
  5. Returns the response

Use it to consume x402-protected APIs from your workflows.

X402 Catalog (new in v0.2.0)

Query the SmartFlow Observatory x402 endpoint catalogue from your workflow. Five operations:

  • Get Catalog Stats — total catalogue size and per-source counts
  • List Endpoints — filter by chain, registry source, HTTP status, strict v2 spec validity, on-chain volume, with pagination
  • Search Endpoints — full-text search across endpoint URLs
  • Get Endpoint Details — full record for a single endpoint by URL
  • Get Active Endpoints — endpoints active in the last N days (1-90, default 7)

Use it to discover x402 services, segment them by quality signal (spec-valid + on-chain-volume + recent-activity), and feed downstream Pay nodes.

Installation

In your n8n instance:

Settings → Community Nodes → Install → n8n-nodes-x402

Or via npm:

npm install n8n-nodes-x402

Configuration

x402 API credential (for X402 Pay + X402 Trigger)

  • Wallet Private Key — for signing payments (Pay node) or receiving (Trigger node)
  • Facilitator URL — payment verification endpoint (default: x402.org)
  • Receiver Address — your wallet address for receiving payments

SmartFlow Mapper API credential (for X402 Catalog, v0.2.0+)

  • API Key — SmartFlow Observatory mapper key. Get one at smartflowproai.com/catalog (Hypersub Insider tier — 15 USDC/mo)
  • Base URL — defaults to https://api.smartflowproai.com

Supported Networks

  • Base (Coinbase L2)
  • Base Sepolia (testnet)
  • Solana
  • Solana Devnet

What is x402?

x402 is an open payment protocol that enables machine-to-machine micropayments via HTTP headers. Built by Coinbase, now a Linux Foundation standard with Google, Microsoft, Visa, Mastercard, and Stripe as founding members.

Links

Author

Tom Smartsmartflowproai.com

License

MIT