Vm Create
by Hyrule Cloud in Developer tools
Hyrule Cloud is pay-per-use infrastructure for AI agents on AS215932: IPv6-native compute, outbound requests over Direct, Tor, I2P, or Yggdrasil, BGP/routing intelligence, IP/ASN intelligence, DNS diagnostics, blocklist membership checks, filtering evidence, RDAP/WHOIS registry lookups, web and deep TLS checks, mail deliverability, outside-in port reachability, NAT port-forward checks, VoIP/SIP diagnostics. Calls settle in USDC via x402. This endpoint: Provision a bare VM with SSH access.
https://cloud.hyrule.host/v1/vm/create- Price
- $2.80
- per call in USDC
- Uptime
- 82.8%
- last 30 days
- Response time
- 1.5 s
- 2.2 s slowest 5%
- Last check
- Failed
- 10 h ago, next in 14 h
Reliability
Latest check failed 10 h ago: Timed out
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://cloud.hyrule.host/v1/vm/create
Each call costs $2.80 in USDC on Polygon, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://cloud.hyrule.host/v1/vm/create
content-type: application/json
{
"domain_mode": "auto",
"duration_days": 7,
"open_ports": [
80,
443
],
"os": "debian-13",
"size": "sm",
"ssh_pubkey": "ssh-ed25519 AAAA…"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string or null | No | Domain to register (required when domain_mode=custom) Default: null. |
domain_mode | string | No | One of: auto, custom. Default: "auto". |
duration_days | integer | Yes | Hosting duration in days |
open_ports | array of integer | No | Inbound TCP ports to allow (22 always included) |
os | string | No | OS template name Default: "debian-13". |
quote_id | string or null | No | Optional durable quote id from POST /v1/vm/quote. When set, the server provisions the spec stored on the quote at the quote-locked price; the rest of this body must match that stored spec. Omit for the legacy compute-price-from-body flow. Default: null. |
resources | object or null | No | Optional exact final resources. New orders support 1-4 vCPU, 1-8 GiB RAM, and 10-40 GB SSD. The server selects the cheapest compatible base profile. Default: null. |
setup_script | string or null | No | Optional shell script to execute after boot via cloud-init Default: null. |
size | string | No | VM size tier One of: xs, sm, md, lg. Default: "xs". |
ssh_pubkey | string | Yes | SSH public key for root access (ed25519 or rsa) |
Example response
The provider's example. We can't check it without paying.
{
"status": "provisioning",
"status_url": "/v1/vm/vm_a1b2c3d4e5f6/status",
"vm_id": "vm_a1b2c3d4e5f6"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $2.8.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://cloud.hyrule.host/v1/vm/create' \
-H 'content-type: application/json' \
--data-raw '{"domain_mode":"auto","duration_days":7,"open_ports":[80,443],"os":"debian-13","size":"sm","ssh_pubkey":"ssh-ed25519 AAAA\u2026"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://cloud.hyrule.host/v1/vm/create' \
-H 'content-type: application/json' \
--data-raw '{"domain_mode":"auto","duration_days":7,"open_ports":[80,443],"os":"debian-13","size":"sm","ssh_pubkey":"ssh-ed25519 AAAA\u2026"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $2.8 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$2.8" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $2.8 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcloud.hyrule.host%2Fv1%2Fvm%2Fcreate&method=POST
const res = await pay("https://cloud.hyrule.host/v1/vm/create", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"domain_mode": "auto",
"duration_days": 7,
"open_ports": [
80,
443
],
"os": "debian-13",
"size": "sm",
"ssh_pubkey": "ssh-ed25519 AAAA\u2026"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $2.8 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$2.8"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://cloud.hyrule.host/v1/vm/create",
json={
"domain_mode": "auto",
"duration_days": 7,
"open_ports": [
80,
443,
],
"os": "debian-13",
"size": "sm",
"ssh_pubkey": "ssh-ed25519 AAAA\u2026",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 h ago | Timed out | - | - | - |
| 4 days ago | Expected HTTP 402, got 503 | 503 | 1.8 s | - |
| 5 days ago | Expected HTTP 402, got 503 | 503 | 1.5 s | - |
| 6 days ago | Expected HTTP 402, got 503 | 503 | 767 ms | - |
| 8 days ago | Expected HTTP 402, got 503 | 503 | 1.1 s | - |
Show 10 older checks
| 8 days ago | Expected HTTP 402, got 503 | 503 | 1.5 s | - |
| 8 days ago | Expected HTTP 402, got 503 | 503 | 384 ms | - |
| 8 days ago | Connection failed (ENETUNREACH) | - | - | - |
| 9 days ago | Expected HTTP 402, got 503 | 503 | 1.8 s | - |
| 9 days ago | Passed | 402 | 1.8 s | $2.80 |
| 9 days ago | Passed | 402 | 1.2 s | $2.80 |
| 10 days ago | Passed | 402 | 1.1 s | $2.80 |
| 10 days ago | Passed | 402 | 1.6 s | $2.80 |
| 10 days ago | Passed | 402 | 888 ms | $2.80 |
| 10 days ago | Passed | 402 | 1.9 s | $2.80 |