跳到正文
TakoAPI
返回技能列表

boltzpay

由 leventilo 提供

Communication
146下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: fetch data from https://invy.bot/api and return the response

智能体
  1. 1

    Run npx @boltzpay/cli check https://invy.bot/api to confirm payment is required and see the protocol and amount

  2. 2

    Run npx @boltzpay/cli quote https://invy.bot/api to get exact pricing details

  3. 3

    Run npx @boltzpay/cli fetch https://invy.bot/api which detects the protocol, pays with USDC, and retrieves the response

  4. 4

    Return the API response data to the user

输出

Raw API response from the paid endpoint, with payment completed on-chain

前置要求

  • COINBASE_API_KEY_ID environment variable
  • COINBASE_API_KEY_SECRET environment variable
  • COINBASE_WALLET_SECRET environment variable
  • Coinbase CDP account at portal.cdp.coinbase.com

安装

clawhub install leventilo/boltzpay

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接