Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Re-publish — fix stuck security scan
What This Skill Does
BoltzPay enables AI agents to autonomously pay for API data using x402 and L402 payment protocols across Base and Solana blockchains. Payments are made with USDC or Bitcoin Lightning. Agents can discover available paid APIs, check prices, and fetch data in one workflow.
Handles multi-protocol payment negotiation automatically, so agents do not need separate logic for x402 vs L402 or Base vs Solana.
When to use it
- Fetching real-time financial data from a paid API endpoint
- Checking whether a URL requires payment before committing funds
- Browsing a directory of compatible paid APIs to find data sources
- Setting a daily spending budget cap for automated agent API usage
- Reviewing payment history after a batch of agent-driven API calls
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: fetch data from https://invy.bot/api and return the response
- 1Run `npx @boltzpay/cli check https://invy.bot/api` to confirm payment is required and see the protocol and amount
- 2Run `npx @boltzpay/cli quote https://invy.bot/api` to get exact pricing details
- 3Run `npx @boltzpay/cli fetch https://invy.bot/api` which detects the protocol, pays with USDC, and retrieves the response
- 4Return the API response data to the user
Raw API response from the paid endpoint, with payment completed on-chain
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.