Pick your use case — we'll show you exactly how to get live.
Here's exactly what you'll need to get started.
# 1. Install the SDK npm install @vlexivo/sdk # 2. Protect your route (Express) const vlexivo = require('@vlexivo/sdk'); app.use('/api/premium', vlexivo.protect({ apiKey: process.env.VLEXIVO_API_KEY, price: '0.001', // $0.001 per call — you set this })); # 3. Test — your key is ready after signup curl -H "X-Vlexivo-Token: <user_token>" \ https://yourapi.com/api/premium
<!-- Add to any article page — one tag, done. --> <script src="https://js.vlexivo.dev/v1/paywall.js" data-key="vlx_live_••••••••••••••••" data-price="0.50" data-preview-lines=3 ></script> <!-- That's it. Vlexivo shows a paywall after line 3. Readers pay $0.50 to unlock the full article. -->
// Creator platform integration — generate a 402 challenge const res = await fetch('https://vlexivo.dev/api/v1/challenge', { method: 'POST', headers: { 'Authorization': 'Bearer ' + process.env.VLEXIVO_SEC_KEY, 'Content-Type': 'application/json', }, body: JSON.stringify({ scope: 'per-message', // pay per DM to creator amount: '1.00', // $1.00 per message creator_id: 'creator_abc', tip_enabled: true, // allow fans to tip freely }), }); const { challenge } = await res.json(); // Return 402 to client — widget handles payment UI
# pip install vlexivo from vlexivo import AgentWallet # Your agent gets its own funded wallet wallet = AgentWallet(api_key="vlx_sec_••••••••••••••••") # Pay for any Vlexivo-protected API, headless response = wallet.get("https://api.example.com/premium/data") # Check balance — top up via API, no browser needed print(wallet.balance) # e.g. {'usdc': 10.00, 'reserved': 0.05}
Sign up in 30 seconds — no credit card needed. Your API key, dashboard, and first pricing rule will be ready immediately.
I already have an account