Built on Stellar · x402 Protocol · Soroban

Monetize any
API in 60
seconds

A reverse proxy that wraps any HTTP endpoint with x402 micropayments on Stellar. No code changes. No subscriptions. AI agents pay per request in USDC — automatically.

.env
# Wrap any API in 3 env vars

ORIGIN_URL=https://api.weather.com
PRICE_USDC=0.001
SELLER_ADDRESS=G...

# Then run:
$ npm run paywall

Proxy running on :4000
x402 gate active — 0.001 USDC/req
60s
Setup time
0¢
Monthly fee
APIs supported
3s
Settlement

One proxy.
Any API.
Instant paywall.

No SDKs to integrate. No code to modify. Just point PayWall.ai at your origin and set a price.

01

Point & configure

Set ORIGIN_URL to any existing API — weather, search, market data, your own service. Set your USDC price per request.

3 env vars
02

Proxy intercepts

PayWall.ai sits in front of your API. Every request hits the proxy first. Unpaid requests get a 402 challenge with Stellar payment details.

x402 protocol
03
💸

Agent pays & gets data

AI agents sign a Soroban auth entry, pay USDC via OpenZeppelin facilitator, and receive your API response. Fully autonomous.

Stellar USDC
Payment flow
AI Agent
Claude / GPT
HTTP req
PayWall.ai
x402 Proxy
→ 402
OZ Facilitator
Settles USDC
paid req
Origin API
Unchanged
Quick startORIGIN_URL=https://wttr.in PRICE_USDC=0.001 npm run paywall

Any API.
Monetized.

From weather to AI inference — if it responds to HTTP, PayWall.ai can gate it with Stellar micropayments.

🌤
Weather & Environmental
Wrap OpenWeatherMap, wttr.in, or any climate API. Agents pay per forecast query.
~0.001 USDC / request
🔍
Search & Discovery
Monetize Brave Search, DuckDuckGo, or your own search index. Replace monthly API keys.
~0.002 USDC / query
📈
Financial Market Data
Price feeds, trading signals, on-chain analytics. Per-request billing vs subscriptions.
~0.005 USDC / tick
🤖
AI Inference
Gate your own model endpoints. Agents pay per completion, per token, or per image.
~0.001 USDC / call
🗞
News & Content
Pay-per-article access. Publishers monetize without paywalls that break agent workflows.
~0.003 USDC / article
⚙️
Any Internal API
Gate your internal services for cross-team billing. Every microservice becomes revenue.
Custom pricing

Your API.
Your revenue.
Starting now.

One proxy. Any API. Stellar USDC payments. Live in 60 seconds.

GitHub →Stellar Docs