← 返回
开发者工具 Key 中文

BoltzPay

Pay for API data automatically — multi-protocol (x402 + L402 + MPP), multi-chain, streaming sessions
自动为API数据支付 — 多协议(x402 + L402 + MPP)、多链、流式会话
leventilo
开发者工具 clawhub v0.3.2 2 版本 100000 Key: 需要
★ 0
Stars
📥 877
下载
💾 6
安装
2
版本
#latest

概述

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

CommandDescriptionCredentials Needed
------------------------------------------
npx @boltzpay/cli fetch Fetch and pay for API dataYes
npx @boltzpay/cli quote Get a price quoteNo
npx @boltzpay/cli discoverBrowse the BoltzPay registry (5,700+ endpoints)No
npx @boltzpay/cli discover --protocol mpp --min-score 70Filter by protocol and trust scoreNo
npx @boltzpay/cli discover --query weatherSearch endpoints by name or URLNo
npx @boltzpay/cli diagnose Full diagnostic — DNS, protocol detection (x402/L402/MPP), pricing, health, latencyNo
npx @boltzpay/cli budgetCheck spending budgetNo
npx @boltzpay/cli historyView payment historyNo
npx @boltzpay/cli walletCheck wallet address and balanceNo

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.

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

版本历史

共 2 个版本

  • v0.3.2 当前
    2026-05-03 03:44 安全 安全
  • v0.1.2
    2026-03-30 12:30 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,843
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,021