Sign In

@bolthub/cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolthub/cli

CLI for the bolthub L402 API marketplace — search, discover, and call paid APIs from the terminal

Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
18
-52.63%
Maintainers
1
Weekly downloads
 
Created
Source

@bolthub/cli

CLI for the BoltHub L402 API marketplace. Search, explore, and call paid APIs from the terminal.

Install

npm install -g @bolthub/cli

Or run directly with npx:

npx @bolthub/cli search weather

Commands

search - Find APIs

bolthub search weather
bolthub search --tag finance
bolthub search                  # list all

info - API details

bolthub info pokemon

Shows all endpoints, pricing models, and usage instructions.

call - Call an endpoint

bolthub call pokemon /v2/pokemon/pikachu
bolthub call ai-text /v1/summarize --method POST --body '{"text":"hello"}'
bolthub call bitcoin-data /v1/prices --max-cost 10
OptionDescription
--method <METHOD>HTTP method (default: GET)
--max-cost <sats>Refuse invoices above this amount
--budget <sats>Total session spending limit
--body <json>JSON request body for POST/PUT/PATCH

Wallet Configuration

The CLI needs a Lightning wallet to pay for API calls. Set one of these environment variable pairs:

VariablesWalletSpeed
PHOENIXD_URL + PHOENIXD_PASSWORDPhoenixd (recommended)<200ms
LND_REST_HOST + LND_MACAROONLND<200ms
LNBITS_URL + LNBITS_ADMIN_KEYLNbits<300ms
NWC_URINWC (requires @getalby/sdk)1-3s

For NWC support, install the Alby SDK: npm install @getalby/sdk.

License

MIT

Keywords

l402

FAQs

Package last updated on 15 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts