logo
OpenapiDdns

Claim a free Dynamic DNS hostname

API Docs with browser client
POST
/dns/ddns/free-hostnames/claim

Claim a free hostname under a Namefi-owned parent domain and receive Dynamic DNS credentials for it. No domain ownership, purchase, or wallet is required, and the hostname is NOT minted as a domain. The key is scoped to this one hostname. The secret is returned ONCE in this response and is never recoverable afterwards — store it immediately.

Authorization

headerx-api-key<token>

Request Body

application/json
  1. body
label*string
Length1 <= length <= 63
parentDomain*string
Match^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$
Lengthlength <= 255
name*string
Length1 <= length <= 100

Response Body

OK

Example Request
curl -X POST 'https://example.com/v4/dns/ddns/free-hostnames/claim' \  -H 'Content-Type: application/json' \  -d '{  "label": "string",  "parentDomain": "string",  "name": "string"}'
Example Response
Empty