---
name: pay.lnpay.ai
description: pay.lnpay.ai is a paywall gateway host that unlocks gated HTTP resources by executing one-time USDC payments on the Base blockchain via the x402 payment protocol. Each skill targets a specific protected endpoint and returns the unlocked content alongside an on-chain transaction receipt and Basescan link. All payments are single-shot and exact-amount; no subscriptions or bulk access are supported.
host: pay.lnpay.ai
---

# pay.lnpay.ai

pay.lnpay.ai serves agents that need to programmatically pay for and retrieve crypto-paywalled content on Base. It exposes three distinct paywall endpoints — two at the 0.01 USDC tier (AgentPayWall and LNPAY Resource Gate) and one at the 0.10 USDC tier (MainSafe Vault) — each returning protected content plus verifiable payment proof. The host is narrowly scoped to single-request, exact-amount unlocks and does not handle free resources, streaming, subscriptions, or multi-chain payments.

## When to use this host

Use pay.lnpay.ai when an agent needs to retrieve content from a specific crypto-paywalled endpoint hosted at pay.lnpay.ai and is authorized to spend either 0.01 USDC (AgentPayWall or LNPAY Resource Gate) or 0.10 USDC (MainSafe Vault) per request on Base. Do not use this host for: free or publicly accessible resources; payment amounts other than 0.01 or 0.10 USDC; chains other than Base; recurring subscriptions or streaming access; or bulk/batch retrieval across multiple resources in a single call. If the target resource is not one of the three specific endpoints this host covers, look for a different x402-compatible host that matches the correct endpoint and payment amount. If proof of payment is not required, a simpler HTTP fetch skill may be more appropriate.

## Capabilities

### Low-Tier Paywall Unlock (0.01 USDC)

Unlocks paywall-protected HTTP resources that require exactly 0.01 USDC on Base, returning the protected content and an on-chain transaction receipt as proof of payment.

- **`fetch-agentpaywall-resource`** — Pays 0.01 USDC on Base and retrieves a paywall-protected HTTP resource, returning the protected content and an on-chain transaction receipt.
- **`fetch-lnpay-protected-resource`** — Fetches a paywall-protected HTTP resource after paying 0.01 USDC on Base, returning the protected content and an on-chain transaction receipt.

### High-Tier Vault Unlock (0.10 USDC)

Unlocks the MainSafe vault endpoint by paying 0.10 USDC on Base via x402, returning gated vault content and a Basescan-verifiable transaction receipt.

- **`fetch-mainsafe-vault-content`** — Pays 0.10 USDC on Base via x402 paywall and returns protected MainSafe vault content including a transaction receipt and Basescan link.

## Skill reference

### `fetch-agentpaywall-resource`

**AgentPayWall Access** — Pays 0.01 USDC on Base and retrieves a paywall-protected HTTP resource, returning the protected content and an on-chain transaction receipt.

*Use when:* Use when an agent needs to access a USDC-gated resource at pay.lnpay.ai/res and must pay exactly 0.01 USDC on Base to unlock the protected content.

*Not for:* Do not use for resources requiring payment amounts other than 0.01 USDC, non-Base chain payments, or for streaming/subscription-based access; this is a single-shot exact-amount paywall unlock.

**Returns:** Returns a report object with a success message, the protected content string, the Base transaction hash, and a Basescan verification link.

**Example:** `GET https://pay.lnpay.ai/res`

---

### `fetch-lnpay-protected-resource`

**LNPAY Resource Gate** — Fetches a paywall-protected HTTP resource after paying 0.01 USDC on Base, returning the protected content and an on-chain transaction receipt.

*Use when:* Use when an agent needs to access a crypto-paywalled resource that requires a one-time 0.01 USDC payment on Base to unlock, and the agent needs both the protected content and proof of payment.

*Not for:* Do not use for recurring subscriptions or multi-resource bulk access; this is a single-shot exact-payment gate per request.

**Returns:** Returns a report object with a success message, the protected content string, the Base transaction hash, and a Basescan verification URL.

**Example:** `GET https://pay.lnpay.ai/resource`

---

### `fetch-mainsafe-vault-content`

**MainSafe Vault** — Pays 0.10 USDC on Base via x402 paywall and returns protected MainSafe vault content including a transaction receipt and Basescan link.

*Use when:* Use when an agent needs to retrieve gated MainSafe vault data and is prepared to spend 0.10 USDC on Base to unlock it via an x402 payment flow.

*Not for:* Do not use for free data retrieval or when the agent cannot authorize a 0.10 USDC on-chain payment; not suitable for repeated polling due to per-request cost.

**Returns:** Returns a report object with a success message, the unlocked vault content string, the on-chain transaction hash, and a Basescan verification link.

**Example:** `GET https://pay.lnpay.ai/mainsafe`

---
