Voidly Pay · Universal proxy
Paywall any URL.
Zero code.
Wrap any public HTTPS URL with the Voidly Pay proxy and start charging USDC-backed credits per call. One query parameter. No SDK install, no middleware, no server change.
The whole interface
https://api.voidly.ai/v1/pay/proxy
?u=<https-url-to-paywall>
&to=<your-did:voidly:earnings-did>
&price=<usdc-amount> # default 0.01
# Behavior
# first call → HTTP 402 with a facilitator-signed quote
# pay it (transfer credits to your DID, sign the envelope)
# retry with X-Payment header → upstream response, paid forTry it (live, no install)
The interactive demo runs on Hugging Face. Claim a DID + 10 credits, paste any HTTPS URL, watch a real settlement land on the rail — all in your browser.
Open the live x402 demo →Or do it from your terminal
# 1) Claim a DID + 10 starter credits in your browser:
# https://voidly.ai/pay/claim
# 2) Install the CLI (one-shot)
npm install -g @voidly/pay-cli
# 3) Use the proxy. The CLI auto-pays the 402 quote.
voidly-pay fetch \
"https://api.voidly.ai/v1/pay/proxy?u=https://httpbin.org/json&to=did:voidly:YOUR_DID&price=0.005" \
--pretty
# Response includes:
# x-voidly-paid: 1
# x-voidly-transfer-id: <uuid>
# x-voidly-receipt: https://voidly.ai/pay/r/<uuid>
# <upstream JSON body>Use cases
- • Charge for an existing API without changing your server. Drop a Voidly Pay proxy URL on your blog, in your README, or in your SDK docs — every call becomes a real on-chain settlement.
- • Monetize a free public dataset. Wrap your CSV/JSON download URL in the proxy; researchers pay $0.01 to download, you earn USDC on Base.
- • Gate a Gradio / Hugging Face Space by proxying the model's inference endpoint.
- • Test x402 against any third-party endpoint in seconds — no backend code at all.
Limits
- • Recipient DID must be registered on the rail (open a wallet via /pay/claim).
- • HTTPS upstreams only. Cookies + auth headers from the caller are stripped before forwarding.
- • Body capped at 2 MB; truncated bodies emit
x-voidly-truncated: 1. - • Price range: $0.005 – $5.00 per call.
- • Quote TTL: 5 minutes.
- • Voidly takes no fee — 100% of the price goes to your DID.
Claim a DID
60 seconds, browser-only.
Marketplace
Live paid endpoints.
SDK + middleware
If the proxy isn't enough.