---
title: "Claim a free Dynamic DNS hostname"
method: POST
path: "/dns/ddns/free-hostnames/claim"
tags: ["dns", "ddns"]
---

# Claim a free Dynamic DNS hostname

`POST /dns/ddns/free-hostnames/claim`

## Request

- Base URL: `https://api.namefi.io/v-next`
- URL: `https://api.namefi.io/v-next/dns/ddns/free-hostnames/claim`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

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.

## Headers

- `x-namefi-eip7702-account` string
- `x-namefi-eip1271-account` string
- `x-namefi-erc1271-account` string

## Request body

- object
  - `label` string, required
  - `parentDomain` string, required
  - `name` string, required

## Response `200`

OK

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `406`: 406
- `408`: 408
- `409`: 409
- `412`: 412
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/namefi/apis/namefi-api.md) · [All operations](https://skmtc.dev/namefi/apis/namefi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/namefi/apis/namefi-api/revisions/3c7c3ade95c9?raw)
