x402 Services
Pay-per-use infrastructure. No accounts. No subscriptions.
Just send a payment header and get the thing.
BSVUSDC on BaseHTTP 402
🔒
x402 VPN
Pay-per-hour WireGuard VPN access
100 sats/ $0.10 USDC
per hour
GET /api/vpn/connect💾
x402 Storage
Pay-per-MB file storage (upload & download)
10 sats/ $0.01 USDC
per MB
GET /api/storage⚡
x402 GPU
Pay-per-request GPU inference (image gen, LLM, etc)
500 sats/ $0.50 USDC
per request
GET /api/gpu/run🖥
x402 Compute
Pay-per-execution sandboxed code runner
50 sats/ $0.05 USDC
per execution
GET /api/compute/execute🔄
x402 File Converter
Pay-per-file format conversion (images, docs)
20 sats/ $0.02 USDC
per file
GET /api/convertHow it works
1
Request
Call any endpoint
2
402
Get pricing in response
3
Pay
Add payment header
4
Done
Get your result
Quick start
# 1. Try without payment (get pricing)
curl https://x402-services.vercel.app/api/convert
# 2. Convert an image (with payment header)
curl -X POST \
-H "x-payment: {payment_proof_json}" \
-F "file=@photo.png" \
-F "format=webp" \
https://x402-services.vercel.app/api/convert
# 3. Run code
curl -X POST \
-H "x-payment: {payment_proof_json}" \
-H "Content-Type: application/json" \
-d '{"code": "return Array.from({length:10}, (_,i) => i*i)", "language": "javascript"}' \
https://x402-services.vercel.app/api/compute/execute
# Discovery endpoint
curl https://x402-services.vercel.app/.well-known/x402.json