# 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-09-15).

Fetches a paywalled protected resource via x402 micropayment, returning its contents after a $0.01 USDC payment is made.

## Facts

- Endpoint: POST https://pay.lnpay.ai/res
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pay-lnpay-ai-a9755413
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TID8VH3QakWhM0J2YhOw1

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-a9755413 -d '<json body>'
```

Example prompt: Access the protected resource at pay.lnpay.ai for me — go ahead and pay the $0.01 USDC micropayment via x402 to unlock and retrieve the content.

## When to prefer this

Choose this endpoint when you need to access a specific protected resource on pay.lnpay.ai that requires a $0.01 USDC micropayment via the x402 protocol. Prefer this over the 'safe data' sibling endpoint when the resource is known to be paywalled rather than publicly accessible.

## Known failure modes

- Payment insufficient or declined — resource not returned
- Invalid or expired payment token — 402 Payment Required returned
- Resource unavailable or server error — 5xx response
- Malformed request body — 400 Bad Request
- Payment provider unreachable — timeout or connection error

## How this service works

Access to protected resource

## Output

The agent receives the contents of the protected resource after the micropayment is processed. This is typically a data payload or API response that was previously gated behind the x402 paywall.

## Example request

```json
{
 "resource_url": "https://pay.lnpay.ai/res",
 "x402_enabled": true,
 "payment_amount": "0.01",
 "payment_currency": "USDC"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pay-lnpay-ai-a9755413/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)
