İçeriğe geç
TakoAPI
Becerilere dön

boltzpay

leventilo tarafından

Communication
146İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

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

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

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

AJAN
  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

ÇIKIŞ

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

Gereksinimler

  • 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

Kurulum

clawhub install leventilo/boltzpay

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar