# Beggar Bot Lightning Network Search (Base Mainnet)

> Beggar Bot Lightning Network Search (Base Mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-04).

Searches Lightning Network data on Base mainnet, returning results for a given query, paid via x402 at $0.02 USDC per call.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/lnsearch?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-lightning-network-search-base-mainnet-6332f0d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QKto0oyJLzQCZz5eP9JNm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability beggar-bot-lightning-network-search-base-mainnet-6332f0d2
```

Example prompt: Search the Beggar Bot Lightning Network index on Base mainnet for nodes matching 'ACINQ' and return whatever channel or routing info comes back.

## When to prefer this

Use this endpoint when you need to search or look up Lightning Network node, channel, or routing data on Base mainnet and are willing to pay $0.02 USDC per query via x402. Prefer this over free alternatives when you need indexed, queryable LN data accessible through a simple HTTP GET with micropayment support. Best suited for agents with x402-enabled wallets on Base mainnet.

## Known failure modes

- Payment not received — x402 payment of $0.02 USDC not sent or rejected, returning 402 Payment Required
- Invalid or missing query properties — malformed input schema returns an error response
- Network unavailable — Cloudflare Worker or upstream Lightning data source is down
- Empty results — no Lightning Network entries match the search query
- Rate limiting — excessive calls from the same origin may be throttled

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON object containing Lightning Network search results matching the query, potentially including node details, channel information, routing properties, and other on-chain Lightning data indexed for Base mainnet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-lightning-network-search-base-mainnet-6332f0d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
