✓ Verified 📱 Social Media ✓ Enhanced Data

Boltzpay

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

Rating
4.7 (330 reviews)
Downloads
22,380 downloads
Version
1.0.0

Overview

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

Complete Documentation

View Source →

BoltzPay — Paid API Access for AI Agents

BoltzPay lets AI agents pay for API data automatically. It supports multiple payment protocols (x402 and L402) and multiple blockchains (Base and Solana), paying with USDC or Bitcoin Lightning. Agents can discover, evaluate, and purchase API data in a single workflow.

Quick Start

Fetch data from a paid API endpoint:

text
npx @boltzpay/cli fetch https://invy.bot/api

Commands

CommandDescriptionCredentials Needed
npx @boltzpay/cli fetch Fetch and pay for API dataYes
npx @boltzpay/cli check Check if URL requires paymentNo
npx @boltzpay/cli quote Get a price quoteNo
npx @boltzpay/cli discoverBrowse compatible APIsNo
npx @boltzpay/cli budgetCheck spending budgetNo
npx @boltzpay/cli historyView payment historyNo
npx @boltzpay/cli walletCheck wallet address and balanceNo
npx @boltzpay/cli demoInteractive demo walkthroughNo

Setup

Set the following environment variables for paid API access:

  • 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
  • BOLTZPAY_DAILY_BUDGET — Daily spending limit in USD (optional, default: unlimited)
Get your Coinbase CDP keys at portal.cdp.coinbase.com.

Examples

1. Discover available APIs

text
npx @boltzpay/cli discover

Browse the directory of paid APIs compatible with BoltzPay. No credentials needed.

2. Check price before paying

text
npx @boltzpay/cli check https://invy.bot/api

See the payment protocol, amount, and chain options without spending anything.

3. Fetch paid data

text
npx @boltzpay/cli fetch https://invy.bot/api

Automatically detects the payment protocol, pays with USDC, and returns the API response.

No Credentials?

Seven of the eight commands work without any Coinbase credentials:

  • check — see if a URL requires payment
  • quote — get detailed pricing
  • discover — browse the API directory
  • budget — check spending limits
  • history — view past transactions
  • wallet — check wallet address and balance
  • demo — interactive demo walkthrough
Only fetch requires credentials (it makes actual payments).

Links

Installation

Terminal bash

openclaw install boltzpay
    
Copied!

💻Code Examples

npx @boltzpay/cli fetch https://invy.bot/api

npx-boltzpaycli-fetch-httpsinvybotapi.txt
## Commands

| Command | Description | Credentials Needed |
|---------|-------------|--------------------|
| `npx @boltzpay/cli fetch <url>` | Fetch and pay for API data | Yes |
| `npx @boltzpay/cli check <url>` | Check if URL requires payment | No |
| `npx @boltzpay/cli quote <url>` | Get a price quote | No |
| `npx @boltzpay/cli discover` | Browse compatible APIs | 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 |
| `npx @boltzpay/cli demo` | Interactive demo walkthrough | No |

## Setup

Set the following environment variables for paid API access:

- `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
- `BOLTZPAY_DAILY_BUDGET` — Daily spending limit in USD (optional, default: unlimited)

Get your Coinbase CDP keys at [portal.cdp.coinbase.com](https://portal.cdp.coinbase.com).

## Examples

### 1. Discover available APIs

npx @boltzpay/cli discover

npx-boltzpaycli-discover.txt
Browse the directory of paid APIs compatible with BoltzPay. No credentials needed.

### 2. Check price before paying

npx @boltzpay/cli check https://invy.bot/api

npx-boltzpaycli-check-httpsinvybotapi.txt
See the payment protocol, amount, and chain options without spending anything.

### 3. Fetch paid data

Tags

#communication #api #data

Quick Info

Category Social Media
Model Claude 3.5
Complexity One-Click
Author leventilo
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install boltzpay