The same things you do in the panel, from your code, your terminal or your AI assistant: names, websites and apps, databases, email, DNS, SMS and billing.
One base address, an API key in a header, JSON in and out. Every endpoint says which permission it needs and what it returns.
https://api.localhost.co.zw
API reference →Create a site from an image or a repository, follow the build, set its settings, read its logs, register names, and act for the clients you manage.
lh create shop --repo you/shop
Every command →Claude, ChatGPT, Claude Code, Cursor and anything else that speaks MCP connects to an account and works within what its owner ticked. Money moves only within an allowance.
https://api.localhost.co.zw/mcp
How it connects →Containers that run on your account: create, deploy an image, start, stop, read logs.
6 endpoints →Environment variables for one site, or shared by every site. Secret values are never returned.
6 endpoints →Sites that build from a repository: connect a source, start builds, follow logs, roll back, previews.
11 endpoints →Check, register, move in, renew and manage names. Paid calls charge the wallet at once.
15 endpoints →The managed databases on the account. Read-only here; credentials stay in the panel.
2 endpoints →Every change lands in the draft; nothing visitors see changes until publish.
15 endpoints →Clients you manage, your book of names and sites, prices, commissions and webhooks.
24 endpoints →Everything is scoped to the account behind the key. Someone else's site, name or invoice looks exactly like one that doesn't exist: a 404. Partners act inside a client's account by adding one header; see Partners.
Paid calls charge the wallet at once and take an Idempotency-Key, so a retry after a timeout never pays twice. Registrations and moves finish in the background and answer 202.
Refusals come in plain words, in detail. The errors page lists every status you'll see and what to do about it.
Machine-readable too: openapi.json describes the whole API for code generators, and the explorer lets you try a call with your key from the browser.