返回顶部
b

boltzpay

Pay for API data automatically — multi-protocol (x402 + L402 + MPP), multi-chain, streaming sessions

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.3.2
安全检测
已通过
347
下载量
0
收藏
概述
安装方式
版本历史

boltzpay

# BoltzPay — Paid API Access for AI Agents BoltzPay lets AI agents pay for API data automatically. It supports three payment protocols (x402, L402, and MPP) across multiple chains (Base, Solana, Tempo), paying with USDC, Bitcoin Lightning, or Stripe. Agents can discover 5,700+ scored endpoints from the live registry, evaluate pricing, open streaming sessions, and purchase API data in a single workflow. ## Quick Start Fetch data from a paid API endpoint: ``` npx @boltzpay/cli fetch https://invy.bot/api ``` ## Commands | Command | Description | Credentials Needed | |---------|-------------|--------------------| | `npx @boltzpay/cli fetch <url>` | Fetch and pay for API data | Yes | | `npx @boltzpay/cli quote <url>` | Get a price quote | No | | `npx @boltzpay/cli discover` | Browse the BoltzPay registry (5,700+ endpoints) | No | | `npx @boltzpay/cli discover --protocol mpp --min-score 70` | Filter by protocol and trust score | No | | `npx @boltzpay/cli discover --query weather` | Search endpoints by name or URL | No | | `npx @boltzpay/cli diagnose <url>` | Full diagnostic — DNS, protocol detection (x402/L402/MPP), pricing, health, latency | No | | `npx @boltzpay/cli budget` | Check spending budget | No | | `npx @boltzpay/cli history` | View payment history | No | | `npx @boltzpay/cli wallet` | Check wallet address and balance | No | ## Setup Set the following environment variables for paid API access: ### x402 (USDC on Base) - `COINBASE_API_KEY_ID` — Your Coinbase CDP API key ID - `COINBASE_API_KEY_SECRET` — Your Coinbase CDP API key secret - `COINBASE_WALLET_SECRET` — Your Coinbase CDP wallet secret Get your Coinbase CDP keys at [portal.cdp.coinbase.com](https://portal.cdp.coinbase.com). ### MPP (Tempo payment channels) - `TEMPO_PRIVATE_KEY` — Tempo wallet private key (hex). Enables MPP one-shot payments and streaming sessions. ### Optional - `NWC_CONNECTION_STRING` — NWC connection string for L402 (Lightning) payments - `STRIPE_SECRET_KEY` — Stripe secret key for Stripe MPP payments - `BOLTZPAY_DAILY_BUDGET` — Daily spending limit in USD (default: unlimited) ## Examples ### 1. Discover APIs from the registry ``` npx @boltzpay/cli discover ``` Browse 5,700+ scored and verified paid APIs from the BoltzPay registry. Filter by protocol, category, score, or free-text search. No credentials needed. ``` npx @boltzpay/cli discover --protocol x402 --min-score 80 --category crypto-data ``` ### 2. Get a price quote ``` npx @boltzpay/cli quote https://invy.bot/api ``` See the payment protocol, amount, and chain options without spending anything. ### 3. Fetch paid data ``` npx @boltzpay/cli fetch https://invy.bot/api ``` Automatically detects the payment protocol (x402, L402, or MPP), pays, and returns the API response. ### 4. Diagnose an endpoint ``` npx @boltzpay/cli diagnose https://invy.bot/api ``` Full diagnostic: DNS resolution, protocol detection, format version, pricing, health classification, and latency. ## No Credentials? Six of the seven commands work without any credentials: - `quote` — get detailed pricing - `discover` — browse the registry with filters (protocol, score, category, search) - `diagnose` — full endpoint diagnostic (DNS, protocol, pricing, health, latency) - `budget` — check spending limits - `history` — view past transactions - `wallet` — check wallet address and balance Only `fetch` requires credentials (it makes actual payments). ## Links - [GitHub](https://github.com/leventilo/boltzpay) - [npm](https://www.npmjs.com/package/@boltzpay/sdk) - [Documentation](https://boltzpay.ai) - [Registry](https://status.boltzpay.ai)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 boltzpay-1776419958 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 boltzpay-1776419958 技能

通过命令行安装

skillhub install boltzpay-1776419958

下载 Zip 包

⬇ 下载 boltzpay v0.3.2

文件大小: 3.27 KB | 发布时间: 2026-4-17 20:01

v0.3.2 最新 2026-4-17 20:01
Release v0.3.2

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部