CLI
The apidly command: launch, stop and watch servers, endpoints, volumes and billing from a terminal.
npm install -g https://apidly.com/downloads/apidly-cli-0.1.35.tgzAnalytics and ad cookies stay off unless you accept. Cookie policy
We would like to use Google Analytics and Microsoft Clarity to understand how the public pages are used, including page views and session recordings, and the Reddit Pixel to measure whether our ads on Reddit lead to visits and sign-ups. You choose here whether they are on. Rejecting changes nothing about how the site works.
For developers
A REST API with an OpenAPI document, a command-line tool that covers every API route, JavaScript and Python SDKs, an MCP server and signed webhooks.
Start with a $10 top-up, no subscription. A new account's first server is checked by a person before it starts; nothing is charged while you wait.
OpenAPI 3.1 description (JSON)MIT-licensed clients for the REST API, in one repository. Create an API key in the console and set APIDLY_API_KEY.
The apidly command: launch, stop and watch servers, endpoints, volumes and billing from a terminal.
npm install -g https://apidly.com/downloads/apidly-cli-0.1.35.tgzLets an AI assistant price, launch and manage servers over stdio. Read-only by default; add --allow-writes and a price cap to let it launch.
npm install -g https://apidly.com/downloads/apidly-mcp-0.1.26.tgzA dependency-free client for the REST API.
npm install https://apidly.com/downloads/apidly-sdk-0.1.35.tgzA Python client for the REST API.
pip install https://apidly.com/downloads/apidly-0.1.35-py3-none-any.whlManage servers, volumes, SSH keys and endpoints as code. Build it from source; see its README.
Pick the one that fits your work. All of them use the same API keys and scopes.
JSON over HTTPS with scoped keys and an OpenAPI 3.1 document.
Find a plan, deploy, connect, read logs and stop, from your terminal.
Typed clients with no dependencies.
Let an AI assistant manage your servers.
Signed events for servers, balance, invoices and more.
Plans, templates, servers, volumes, billing, team and webhooks, all under /api/v1. Send your key as a Bearer token.
# Cheapest plans you can launch now
curl "https://apidly.com/api/v1/plans?availability=available&sort=price&limit=3" \
-H "Authorization: Bearer $APIDLY_API_KEY"
# Request a server (safe to retry with the same Idempotency-Key)
curl -X POST "https://apidly.com/api/v1/servers" \
-H "Authorization: Bearer $APIDLY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"planId":"PLAN_ID","templateId":"TEMPLATE_ID","label":"first-run","diskGb":50}'The apidly command covers every API route, so you can try by hand what you later put in a script.
apidly init
apidly up notebook --hours 2
# Or pick the plan and template yourself
apidly plans --available --sort price --limit 5
apidly deploy --plan PLAN_SLUG --template pytorch-jupyterlab --wait
apidly ssh SERVER_ID
apidly logs SERVER_ID --follow
apidly stop SERVER_ID
apidly destroy SERVER_IDBoth SDKs follow the API one to one, retry safely and walk long lists for you. Download them from this site; they are not on public package registries yet.
import { Apidly } from "@apidly/sdk";
const apidly = new Apidly({ apiKey: process.env.APIDLY_API_KEY });
const { plans } = await apidly.plans.list({ availability: "available", sort: "price", limit: 5 });
const { templates } = await apidly.templates.list();
const { server, deployment } = await apidly.servers.create({
planId: plans[0].id,
templateId: templates[0].id,
label: "first-run",
diskGb: 50,
});
// server is null while the request waits for approval: read deployment.statusimport os
from apidly import Client
client = Client(api_key=os.environ["APIDLY_API_KEY"])
plans = client.plans.list(availability="available", sort="price", limit=5)["plans"]
templates = client.templates.list()["templates"]
result = client.servers.create(
plan_id=plans[0]["id"],
template_id=templates[0]["id"],
label="first-run",
disk_gb=50,
)apidly-mcp runs on your computer and gives an assistant tools to list plans and templates, deploy, start, stop and destroy servers, and read logs, usage and balance.
{
"mcpServers": {
"apidly": {
"command": "apidly-mcp",
"args": ["--read-only"],
"env": { "APIDLY_API_KEY": "paste-your-key-here" }
}
}
}Your HTTPS endpoint gets a POST when a server starts or stops, your balance runs low, an invoice is created and more, so you do not have to poll.
apidly webhooks add https://example.com/apidly --events server.running,balance.low
apidly webhooks test WEBHOOK_IDimport express from "express";
import { verifyWebhook } from "@apidly/sdk";
const app = express();
app.post("/apidly", express.raw({ type: "application/json" }), (req, res) => {
const ok = verifyWebhook(
req.body,
req.get("Apidly-Signature") ?? "",
process.env.APIDLY_WEBHOOK_SECRET
);
if (!ok) return res.sendStatus(400);
const event = JSON.parse(req.body.toString("utf8"));
console.log(event.type, event.id);
res.sendStatus(200);
});Ids, keys and addresses in the samples are placeholders. Every sample is checked against the API description and the command-line tool.
Step-by-step write-ups, and templates that start with the software already installed.
Create an account, add credit and make a key under API keys in the console.