# LNPay Protected Resource Access

> LNPay Protected Resource Access is a paid API for AI agents from pay.lnpay.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Retrieves a pay-per-access protected resource via x402 micropayment protocol for $0.01 USDC per call

## Facts

- Endpoint: POST https://pay.lnpay.ai/resource?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pay-lnpay-ai-10b3cfee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P1YanS5xUZCmPpxkIpakC

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 pay-lnpay-ai-10b3cfee -d '<json body>'
```

Example prompt: Can you access the protected resource on lnpay.ai using a micropayment — it costs $0.01 USDC per request via x402?

## When to prefer this

Use this endpoint when you need to access a specific resource gated behind the x402 micropayment protocol on pay.lnpay.ai, and you have a USDC wallet capable of executing $0.01 payments. Prefer this over alternatives when the target content is specifically hosted on lnpay.ai and requires on-chain or Lightning-compatible payment authorization.

## Known failure modes

- Payment insufficient or missing — 402 Payment Required returned
- Invalid or expired payment token — authorization rejected
- Resource temporarily unavailable — 503 or timeout
- Network error reaching pay.lnpay.ai
- USDC wallet balance insufficient to cover $0.01 fee

## How this service works

Access to protected resource

## Output

The protected resource content or data payload returned after successful x402 micropayment authorization; exact content depends on what the provider has placed behind the paywall.

## Example request

```json
{
 "resource": "protected_content",
 "amount_usdc": 0.01
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pay-lnpay-ai-10b3cfee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.lnpay.ai](https://www.zero.xyz/host/pay.lnpay.ai/llms.txt)
