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, andDELETErequests that need a body, sendContent-Type: application/jsonwith a valid JSON body. - Every response is JSON with
Content-Type: application/json. - A successful response always includes
"ok": trueplus fields specific to that endpoint. - A failed response always includes
"ok": falseand anerrorobject — see API errors.
Next steps
- API authentication — how to get and use your API token.
- API quick start — a minimal working example.
- Endpoint reference — every available endpoint.
- API errors — error responses you may encounter.
- API security — keeping your token safe.