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-apiosk

v0.2.2

Published

N8n node that turns a plain-words job into a paid x402 API call

Downloads

2,259

Readme

n8n-nodes-apiosk

Use any x402 API from one n8n node.

Describe what you want in plain language. Apiosk finds the best available x402 endpoint for the job, fills in the required parameters, pays the provider from your connected wallet, and returns the result.

Your job → Apiosk → Result

No provider selection. No separate integrations. No API key setup for every service.


How it works

Give Apiosk a job such as:

Find the latest news about Nvidia

Or:

Get the current ETH price in USD

Or pass input from another n8n node:

{{ $json.chatInput }}

Apiosk searches the live x402 marketplace at runtime and selects an endpoint that can handle that specific request.

New x402 APIs can become available to your workflow without changing the workflow itself.


Setup

Add the Apiosk node, leave Authentication on Connect My Account, and click Connect my account on the credential. That opens the Apiosk buyer portal, where you pick a wallet, fund it and set the spending limits — and n8n collects the credential itself when you're done.

The token never appears on your screen and never travels through the browser: the portal hands it to the Apiosk gateway, and n8n's server exchanges a one-time code for it (OAuth 2.0 authorization code with PKCE).

The limits you set in the portal are the ones the gateway enforces on every call. This node cannot spend past them.

Already have a token?

Switch Authentication to Connect Token and paste it into an Apiosk API credential. Same result — useful when your n8n can't reach the portal to do the round trip, or when the token came from somewhere else.


Run a job

When the node runs, Apiosk:

  1. Understands your job.
  2. Finds matching x402 APIs.
  3. Selects the best option.
  4. Fills in the required parameters.
  5. Pays the provider.
  6. Calls the API.
  7. Returns the result.

Payment comes from the wallet connected to your Apiosk account.


Outputs

✅ Done

The request succeeded.

The provider response is available at:

json.execution.body

The result can also include:

  • Selected API
  • Selection reason
  • Request parameters
  • Price
  • Transaction hash
  • Wallet used

🚫 Blocked

The request could not be completed.

For example:

  • No suitable API was found.
  • Required information was missing.
  • Your spending limit was reached.
  • The provider returned an error.

The response explains what happened so you can route it to a fallback, retry flow, alert, or AI agent.


More providers = more API supply

The more x402 APIs available, the more jobs the network can serve.

Want to become a managed Apiosk API provider?

Go to dashboard.apiosk.com and start adding your APIs.


Safety

💳 Spending limits

Your spending limits are enforced by the Apiosk gateway, not by the n8n node.

The node cannot spend more than the limits you configure.

🔁 Retry protection

Apiosk uses an idempotency key so n8n retries do not accidentally pay twice for the same request.

🎯 No guessed required parameters

If an API requires information that is missing from your job, Apiosk blocks the request before payment instead of inventing a value.


Install

In n8n, go to:

Settings → Community Nodes → Install

Enter:

n8n-nodes-apiosk

After installation, search for Apiosk in the node picker.


Development

npm install --ignore-scripts
npm run build
npm run lint
npm run verify

Publish

npm version patch
npm publish --access public

One node. One credential. Any x402 API Apiosk can discover.