The 20dragons Web API lets you automate the same customer actions you can perform in the dashboard: checking your account and credits, listing platform domains, registering and managing subdomains, managing DNS-related settings, and working with support tickets.

Who this is for

Any customer who wants to automate tasks instead of doing them manually in the dashboard — for example, registering subdomains from a script, checking DNS status, or integrating support tickets into your own tools.

Availability

The API is available to ordinary customer accounts. It always acts on your own account and organization — there is no way to access another account's data through it, and staff/admin-only actions are not available through the API.

Base URL

https://www.20dragons.com/api

Every request and response uses JSON. There is no version segment in the URL (no /v1/ or similar) at this time.

Requests and responses

  • Send requests over HTTPS.
  • For POST, PUT, and DELETE requests that need a body, send Content-Type: application/json with a valid JSON body.
  • Every response is JSON with Content-Type: application/json.
  • A successful response always includes "ok": true plus fields specific to that endpoint.
  • A failed response always includes "ok": false and an error object — see API errors.

Next steps