$ HTTP 402 Payment Required
Solana Mainnet · USDC

Pay. Proxy. Vanish.

Programmable privacy infrastructure for developers and AI agents. One USDC payment, anonymous proxy and VPN access. No accounts, no logs.

$0.001
Per proxy request
$0.50
24h VPN session
0
Logs collected
x402-demo.sh
$ curl -X POST api.akca.network/x402/proxy/fetch
HTTP/1.1 402 Payment Required X-Payment-Amount: 0.001 X-Payment-Currency: USDC
$ curl -H "X-PAYMENT: 5yN3...tx" \
  api.akca.network/x402/proxy/fetch
✓ Payment verified on Solana ✓ Request proxied via DE exit → Session cookie set (24h) → Cost: 0.001 USDC
$ _
Protocol

How x402 Works

Standard HTTP 402 flow with on-chain USDC verification. No accounts needed.

1
🚀

Send Request

Call any x402 endpoint. No auth headers, no API keys.

POST /x402/proxy/fetch
2
💰

Get 402 Response

Server responds with payment requirements: amount, recipient, network.

402 Payment Required
3

Pay USDC on Solana

Send USDC transfer. SDK does this automatically for you.

SPL Transfer → Confirmed
4
🔒

Access Granted

Retry with X-PAYMENT header. Get a session cookie for future requests.

200 OK + Set-Cookie
Products

Two Products, One Protocol

Anonymous proxy for API calls. WireGuard VPN for full tunnel access.

🌐
Akca x402 Proxy

Anonymous HTTP Proxy

Route any HTTP request through Akca exit nodes. Choose your exit country. Per-request or session pricing.

Per-request: $0.001 USDC
24h session: $1.00 USDC
Multi-country exit nodes
No target URLs logged
POST /x402/proxy/fetch
🛡
AkcaVPN x402

WireGuard VPN Tunnel

Full device VPN via WireGuard/AmneziaWG. Get a config, connect your tunnel. DPI obfuscation included.

24h session: $0.50 USDC
WireGuard + AmneziaWG
No logs, no accounts
POST /x402/vpn/connect
Pricing

Pay Only for What You Use

USDC on Solana. Sub-cent fees. No subscriptions, no commitments.

Proxy
Per Request
0.001 USDC
per HTTP request
Single request proxy
Choose exit country
Session cookie included
VPN
30 Days
6.00 USDC
per 30d session
Everything in 24h
Best value for long-term
7d also available: $2.00
SDK

Three Lines of Code

The SDK handles 402 responses, USDC payments, and session management automatically.

proxy.js
// Anonymous proxy with automatic payment
import { AkcaX402Client } from '@akcanetwork/x402';

const akca = new AkcaX402Client({
  wallet: keypair,
});

// Fetch through German exit node
const result = await akca.fetch(
  'https://api.example.com/data',
  { country: 'DE' }
);

// 402 → auto-pay USDC → 200 OK
console.log(result.body);
vpn.js
// Get WireGuard config with payment
const servers = await akca.getVpnServers();

const vpn = await akca.connectVpn({
  serverId: servers[0].id,
  duration: '24h',
});

// Save WireGuard config to file
fs.writeFileSync(
  'wg0.conf',
  vpn.config
);

// $ wg-quick up ./wg0.conf
// You're anonymous now.
Integrate

Built for Every Stack

npm SDK, MCP server for AI agents, or raw HTTP from any language.

📦

npm SDK

Full-featured JavaScript/TypeScript SDK. Auto-payment, session management, retry logic.

npm install @akcanetwork/x402
🤖

MCP Server

Give Claude and AI agents anonymous web access. Three tools: proxy, VPN, list servers.

npx @akcanetwork/mcp-server
🔌

Raw HTTP

Use from any language. Just send X-PAYMENT header with your Solana TX signature.

curl -H "X-PAYMENT: <tx>" ...

📚 Documentation

Wallet setup, SDK integration, MCP server configuration, VPN auto-install, and complete API reference.

Read the Docs

Start Building with x402

Privacy infrastructure that pays for itself. No API keys, no accounts, no limits.