TempVPN Stream — Metered WireGuard VPN Session is a paid API for AI agents from TempVPN at registry.tempvpn.xyz, paid per call via MPP, $0.01/call, status healthy (last checked 2026-09-13, last successful call 2026-09-02).
Creates or resumes a node-bound, per-minute-billed WireGuard VPN streaming session with SSE-based lifecycle events and MPP payment integration.
Separate node-bound metered product. The registry is the public payment and control origin; the selected node executes the stream and WireGuard peer. A JSON-body POST returns an MPP Session v2 Challenge when unpaid and an SSE control stream after valid funding. Parse the response as Server-Sent Events (`event:` followed by JSON `data:`), never as a one-shot JSON response. The first `message` event has type `vpn-session` and supplies WireGuard configuration; its following `message` event has type `paid-interval` for the first 60-second unit consumed at open. Further `paid-interval` messages arrive every 60 seconds while live. `payment-need-voucher` pauses access until a higher cumulative voucher or top-up is accepted. `payment-receipt` is the final event for normal expiry or close. All atomic payment amounts are decimal strings. The stream ends after its final receipt or a client disconnect. An authenticated empty POST with the same request fields in its query sends a Session v2 voucher, top-up, resume, or close operation; this is the canonical MPPX Session manager transport. Streaming credentials are not portable fixed-session balances.
On unpaid requests, returns an MPP Session v2 Challenge for payment. After valid funding, returns a Server-Sent Events (SSE) control stream. The first SSE message (type 'vpn-session') delivers WireGuard peer configuration. Subsequent 'paid-interval' events arrive every 60 seconds while the session is live. 'payment-need-voucher' events pause access pending top-up. 'payment-receipt' is the terminal event for normal expiry or explicit close. All payment amounts are decimal strings.
POSThttps://registry.tempvpn.xyz/sessions/streamChoose this endpoint when you need a metered, pay-as-you-go WireGuard VPN stream billed at $0.01 per 60-second interval rather than a fixed prepaid session. Prefer this over the fixed Sessions endpoint when session duration is uncertain or you want fine-grained per-minute cost control. This endpoint is the right choice when you need real-time SSE lifecycle events (vpn-session config, paid-interval, payment-need-voucher, payment-receipt) and MPPX Session v2 voucher/top-up/close management on a specific node.
| Field | Type | Description |
|---|---|---|
| node_idrequired | string | ID of the node that will own this non-portable streaming session. |
| duration_secondsrequired | integer | Safety cap in seconds as a positive multiple of 60. Streaming usage costs $0.01 per minute. |
| client_public_keyrequired | string | Canonical base64-encoded 32-byte WireGuard public key. |
{
"type": "string",
"description": "SSE-framed event stream. Parse each event: and JSON data: field."
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"