# Beggar Bot Lightning Channel Lookup (Base mainnet)

> Beggar Bot Lightning Channel Lookup (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-23).

Looks up details for a Lightning Network channel by channel ID or short channel ID on Base mainnet, paid via x402 at $0.02 USDC per call.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/lnchannel?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-lightning-channel-lookup-base-mainnet-503951c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Eu2hAfdW6Kggv67HP8D_a

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-channel-lookup-base-mainnet-503951c8
```

Example prompt: Can you look up the Lightning Network channel with short channel ID 811984x2037x0 and tell me its details?

## When to prefer this

Use this endpoint when you need to look up details about a specific Lightning Network channel by its channel ID or short channel ID on Base mainnet. It is distinct from general blockchain explorers because it is Lightning-Network-specific and uses the x402 micropayment protocol. Prefer this when building agents that need to programmatically inspect LN channels without manual explorer lookups.

## Known failure modes

- Missing or invalid channel ID returns an error response
- Channel ID not found on the network returns a not-found or empty result
- Payment not included or insufficient USDC causes x402 payment failure (402 response)
- Network parameter mismatch (e.g. wrong network for the channel ID) may return no results
- Malformed short channel ID format causes a validation error

## 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

Returns JSON with Lightning Network channel details for the given channel ID or short channel ID, including channel metadata such as capacity, status, and peer information as available from the Base mainnet data source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string",
       "description": "channel id or short id e.g. 811984x2037x0"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-lightning-channel-lookup-base-mainnet-503951c8/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)
