---
title: "Get user domains"
method: GET
path: "/user/domains"
tags: ["user"]
---

# Get user domains

`GET /user/domains`

## Request

- Base URL: `https://api.namefi.io/v-next`
- URL: `https://api.namefi.io/v-next/user/domains`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Retrieve all domains owned by the current user. Returns domain details including DNS status, nameservers, and expiration dates.

## Headers

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

## Response `200`

OK

- object[]
  - `normalizedDomainName` string, required
  - `ledgerType` 'nft' | 'email', required: Where ownership is recorded: an NFT on-chain, or a verified email.
  - `holderIdentifier` string, required: eip155:<chainId>:<address> for NFT-held, the lowercased email for email-held.
  - `chainId` number, nullable, required
  - `ownerAddress` string, nullable, required
  - `tokenId` string, nullable, required
  - `expirationDate` string, date-time, nullable, required
  - `dnsStatus` object, required
    - `nameservers` string[], required
    - `isUsingNamefiNameservers` boolean, required
    - `isParkingEnabled` boolean, required
    - `forwardTo` string, nullable, required
    - `hasWebRecords` boolean, required
    - `hasMxRecords` boolean, required
    - `ensRecord` string, nullable, required

## 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)
