Hostingsurge Domains API

The Domains API from Hostingsurge — 16 operation(s) for domains.

GitHub OpenAPI

Operations 19

GET /projects/{projectId}/domains Domains with required and observed DNS records #
POST /projects/{projectId}/domains Add a custom domain (optionally redirecting to another), or a wildcard domain… #
POST /projects/{projectId}/domains/{hostname}/verify Re-check DNS, ownership (the routing record, or the TXT record when one is… #
POST /projects/{projectId}/domains/{hostname}/dns-setup/cloudflare One-click DNS at Cloudflare: creates the records the domain needs (DNS only)… #
GET /projects/{projectId}/domains/{hostname}/dns-setup One-click DNS setup: a Domain Connect link to the DNS provider of the domain… #
PATCH /projects/{projectId}/domains/{hostname} Set or clear the redirect target and the redirect status code (www ↔ apex) #
DELETE /projects/{projectId}/domains/{hostname} Remove a custom domain #
GET /domains Every domain of the organization's projects you can see, with the project name #
GET /domain-registrations Domains bought through Hostingsurge ("My domains"), the team's orders, its last… #
GET /domain-registrations/search Search a name: availability and price of it under the usual TLDs (mybrand →… #
POST /domain-registrations/orders Buy a name (idempotent per requestId). #
GET /domain-registrations/orders/{orderId} One domain order #
POST /domain-registrations/orders/{orderId}/cancel Cancel an order that is not paid yet (its payment link stops working) #
POST /domain-registrations/transfers Request a transfer of a name you own elsewhere (with its transfer code); our… #
PATCH /domain-registrations/domains/{domainId} Change auto-renew, WHOIS privacy or the project a bought name is connected to… #
POST /domain-registrations/domains/{domainId}/renew Renew a bought name now (idempotent per requestId) #
GET /domain-registrations/domains/{domainId}/dns The DNS records of a bought name at the registrar: the team's own ones, the… #
POST /domain-registrations/domains/{domainId}/dns Add and remove DNS records of a bought name (A, AAAA, CNAME, MX, TXT; or a… #
GET /domain-registrations/domains/{domainId}/dns/presets/{preset} What a DNS preset would add to a bought name, what is already there and what it… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hostingsurge-com:hostingsurge-com-domains-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hostingsurge-com-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostingsurge Platform Domains API
  version: 1.0.0
  description: 'Deploy and operate projects on Hostingsurge: Git/upload/Docker/WordPress projects, deployments, logs, environment variables, domains and databases. Errors are {"error":{"code","message","details?"}}.'
servers:
- url: /api/v1
  description: Same origin as the dashboard, e.g. https://hostingsurge.com/api/v1
security:
- bearerAuth: []
- sessionCookie: []
tags:


# --- truncated at 32 KB (368 KB total) ---
# Full source: https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-domains-api-openapi.yml