{"uid":"cap_WpjPuE_wOQRHZh8ckn41l","slug":"vpsagent-vps-rental-post-rent-45b95f69","name":"VpsAgent VPS Rental (POST /rent)","description":"Rent a disposable VPS via x402. Pass `sku` from GET /catalog (e.g. server_small_1mo). Pay-on-success: USDC settles only when the box is reachable on TCP :22 (provisioning takes 3–5 min). Failed provisions never settle — the EIP-3009 authorization expires unused, agent pays nothing. Returns {rental_id, ipv4, expires_at, root_token, status}. Renewable via POST /rentals/{id}/renew. Servers: 30-day or 365-day, $12.99–$359.99, 4–8 vCPU / 8–24 GB RAM / 100–300 GB SSD, 200–600 Mbit/s unmetered.","url":"https://vps.phoneagent.xyz/rent","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"sku":{"type":"string"},"ipv4":{"type":["string","null"],"description":"Box IPv4. May be null at first; poll GET /instance/{id}."},"status":{"enum":["pending_settlement"],"type":"string"},"rental_id":{"type":"string"},"expires_at":{"type":"integer","description":"Unix ms."},"root_token":{"type":"string","description":"Bearer for GET /instance/{id} and POST /rentals/{id}/renew. Treat as a credential."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"12.99","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$12.99/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"12.99","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"12.99","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HdO1nMH8bUH1PcMFLlBxq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"12.99","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provisions a disposable VPS server with no signup required, settling payment in USDC only after the box is confirmed reachable on TCP port 22.","exampleAgentPrompt":"Spin up a small disposable VPS for 30 days — use the server_small_1mo SKU in the EU region — and pay with USDC only once it's actually reachable.","exampleUseCases":[{"title":"Temporary automation sandbox with crypto payment","prompt":"I need a quick Linux server to run some batch jobs for the next month. Spin one up using USDC, but only charge me if it actually works — don't want to pay if the provision fails."},{"title":"Disposable compute for agent experiments","prompt":"Set up a small VPS in the US region for 30 days so my agent can test some deployments. Use USDC to pay, and make sure you settle the payment only after the server is live and ready."},{"title":"Quick testing environment without signup","prompt":"Grab me a disposable server for a month with root access — I don't want to create an account anywhere. Pay with stablecoin and only charge me once the box is confirmed running."}],"resultDescription":"Returns a JSON object with rental_id (unique identifier for the rental), ipv4 (the server's IP address, may be null initially), expires_at (Unix timestamp in ms when the rental expires), root_token (bearer credential for managing/renewing the instance), and status (e.g. pending_settlement). Payment settles only after the box is confirmed reachable on TCP port 22.","failureModes":["Provision fails: Contabo fails to spin up the server within the expected 3–5 minutes, EIP-3009 authorization expires unused, no charge incurred","Invalid SKU: SKU not found in catalog returns an error; must call GET /catalog first","Invalid region: unsupported region value returns an error","Payment authorization insufficient: USDC authorization amount too low for selected SKU","Server never becomes reachable on TCP :22: authorization expires, no charge, rental not created"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically provision a real Linux VPS with root access, paying in USDC with no account creation, and wants pay-on-success guarantees so it never pays for a failed provision. Prefer over traditional cloud APIs when crypto-native, signupless, disposable compute is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:10.762Z","isFirstParty":false}