Master da Web
REST API

A REST API to automate your cloud

Create and manage servers, networks, DNS, serverless apps, databases and files with simple HTTP requests. An OpenAPI spec, scoped tokens and JSON responses.

  • Documented, interactive OpenAPI
  • Scoped, revocable tokens
  • A quote before you order
  • Operations to track long-running work

curl

# your servers$ curl -s https://apiv2.masterdaweb.com/v1/instances \    -H "Authorization: Bearer $MW_TOKEN" # a DNS record, created or replaced$ curl -s -X POST https://apiv2.masterdaweb.com/v1/dns/zones/$ZONE/records \    -H "Authorization: Bearer $MW_TOKEN" \    -H "Content-Type: application/json" \    -d '{"name":"www","type":"A","content":"203.0.113.10"}'
Features

Built to integrate

The same data and the same rules as the console, in a format any language understands.

Complete OpenAPI

Generate clients in any language and try every endpoint in the interactive docs.

Scoped tokens

Give each integration only what it needs, like vm:read or dns:write, and revoke it whenever you want.

Asynchronous operations

Create, resize and restore calls answer 202 with an operation you poll until it finishes.

A quote before you order

Get the price of a configuration before you create it: the order is only placed when you confirm.

Errors that explain themselves

Errors follow the Problem Details standard, with a stable type for your code to handle and an explanation for the person reading it.

Signed webhooks

Receive events, like a failed deployment or a triggered alert, signed with HMAC-SHA256.

Examples

Three requests to get started

Authenticate with your token in the Authorization header and send JSON.

What it costs, before you order

The quote returns the price of the plan, the extra disk and the add-ons for the term you choose.

What it costs, before you order

$ curl -s -X POST https://apiv2.masterdaweb.com/v1/orders/quote \    -H "Authorization: Bearer $MW_TOKEN" \    -H "Content-Type: application/json" \    -d '{"offering_code":"c2m4","term":"MONTHLY",         "image":{"type":"template","code":"ubuntu-24-04"}}'

Power on, power off or reboot

Actions that take a while return an operation; check it to know when it has finished.

Power on, power off or reboot

$ curl -s -X POST https://apiv2.masterdaweb.com/v1/instances/$ID/power \    -H "Authorization: Bearer $MW_TOKEN" \    -H "Content-Type: application/json" \    -d '{"action":"reboot"}' $ curl -s https://apiv2.masterdaweb.com/v1/operations/$OPERATION \    -H "Authorization: Bearer $MW_TOKEN"

Who this token belongs to

The account and scopes of the token in use: the first test of any integration.

Who this token belongs to

$ curl -s https://apiv2.masterdaweb.com/v1/me \    -H "Authorization: Bearer $MW_TOKEN"
Developers

Other tools

Terminal

mw CLI

Everything the console does, in your terminal or pipeline: tables to read and JSON for scripts.

  • Installs with curl, Homebrew, npm, PowerShell or Docker
  • Browser sign-in, no token to copy
  • Asks for confirmation before anything irreversible
Explore the CLI
IaC

Terraform

Declare servers, networks, DNS, apps, databases and buckets in HCL, and version your infrastructure with your code.

  • Official masterdaweb/masterdaweb provider on the Terraform Registry
  • Import what already exists in your account
  • Signed releases
Explore the provider
AI

MCP server

Connect Claude, Cursor or another MCP client and manage your account by chatting.

  • OAuth sign-in with the permissions you choose
  • Destructive or billable actions wait for your confirmation
  • Everything goes into the activity log
Explore the MCP server
FAQ

Frequently asked questions about the API

Automate your infrastructure today

Create your account, generate a token and make your first call in minutes.