@boltzpay/n8n-nodes-boltzpay
v0.3.2
Published
n8n community node for BoltzPay — pay for API data in your workflows
Maintainers
Keywords
Readme
@boltzpay/n8n-nodes-boltzpay
n8n community node for BoltzPay — pay for API data directly in your workflows via x402 and L402 protocols.
Installation
Via n8n Community Nodes (recommended)
- In n8n, go to Settings > Community Nodes
- Click Install
- Enter
@boltzpay/n8n-nodes-boltzpay - Click Install
Via npm
npm install @boltzpay/n8n-nodes-boltzpayFeatures
- 7 operations — Fetch, Quote, Discover, Diagnose, Budget, History, Wallet
- Credential management — Native n8n credential type for Coinbase CDP keys
- Explore without keys — Quote, Discover, Diagnose, Budget, History, and Wallet work without credentials
- Multi-protocol — x402 (USDC on Base/Solana) and L402 (Lightning)
Credentials
Some operations (like Fetch) require Coinbase CDP credentials to sign payment transactions.
- In n8n, go to Credentials > New
- Search for BoltzPay
- Enter your Coinbase CDP credentials:
- API Key ID — Your Coinbase CDP API Key ID
- API Key Secret — Your Coinbase CDP API Key Secret
- Wallet Secret — Your Coinbase CDP Wallet Secret
Get your keys from the Coinbase Developer Platform.
Note: Only the
Fetchoperation requires credentials to execute payments. All other operations work without credentials.
Operations
| Operation | Description | Requires Credentials | | ------------- | ---------------------------------------------------- | :------------------: | | Fetch | Fetch and pay for API data | Yes | | Quote | Get price quote for URL | No | | Discover | Browse compatible API directory | No | | Diagnose | Diagnose endpoint protocol, health, and latency | No | | Budget | View current spending budget status | No | | History | List recent payments made during session | No | | Wallet | Check wallet connectivity, credentials, and balances | No |
Fetch
Fetches data from a paid API endpoint. Handles payment negotiation automatically.
Parameters:
- URL — The API endpoint URL
- HTTP Method — GET, POST, or PUT (default: GET)
- Chain — Auto, EVM (Base), or SVM (Solana) (default: Auto)
Quote
Gets the price quote for a URL without executing payment.
Discover
Browses the built-in API directory of compatible paid endpoints. Optionally filter by category.
Categories: crypto-data, utilities, demo
Diagnose
Full diagnostic of a URL: DNS resolution, protocol detection (x402/L402), format version, pricing, health status, and latency. Returns a complete report in one call.
Parameters:
- URL — The endpoint URL to diagnose
Budget
View current spending budget status including daily/monthly limits, amount spent, and remaining balance.
History
List recent payments made during the current session, including URLs, amounts, protocols, chains, and timestamps.
Wallet
Check wallet connectivity, credentials, balances, and budget. Tests the CDP connection when credentials are configured.
Usage Examples
Diagnose Before You Pay
- Manual Trigger — Start the workflow
- BoltzPay (Diagnose) — Diagnose
https://invy.bot/api - IF — Branch on
isPaid === true - BoltzPay (Fetch) — Fetch and pay for the data (true branch)
- HTTP Request — Use standard HTTP for free endpoints (false branch)
API Discovery
- Manual Trigger — Start the workflow
- BoltzPay (Discover) — List all APIs (or filter by category)
- Filter — Select APIs matching your criteria
- BoltzPay (Quote) — Get live pricing for each API
Diagnose Before Integrating
- Manual Trigger — Start the workflow
- BoltzPay (Diagnose) — Diagnose
https://api.example.com/endpoint - IF — Branch on
health === "live"andisPaid === true - BoltzPay (Fetch) — Fetch data from healthy paid endpoints
Monitor Budget and Spending
- Schedule Trigger — Run every hour
- BoltzPay (Budget) — Get current budget status
- IF — Check if daily remaining is below threshold
- Slack/Email — Send alert when budget is running low
Audit Payment History
- Manual Trigger — Start the workflow
- BoltzPay (History) — Get all payments from session
- Spreadsheet — Export payment records for accounting
Links
Part of BoltzPay
This package is part of the BoltzPay open-source SDK — giving AI agents the ability to pay for APIs automatically.
License
MIT
