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

# Get user orders

`GET /user/orders`

## Request

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

Retrieve all order items for the current user. Returns order items sorted by creation date in descending order.

## Headers

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

## Response `200`

OK

- object[]
  - `id` string, required
  - `orderId` string, required
  - `normalizedDomainName` string, required
  - `amountInUSDCents` number, required
  - `durationInYears` number, required
  - `type` 'REGISTER' | 'IMPORT' | 'RENEW', required
  - `registrar` string, required
  - `encryptionKeyId` string, nullable, required
  - `encryptedEppAuthorizationCode` string, nullable, required
  - `metadata` object, nullable
    - `freeClaim` boolean
    - `groupOrCampaignKey` string
    - `claimId` string
    - `mintTransaction` object
      - `txHash` string, required
      - `recordedAt` string, required
    - `requiredAction` 'EPP_UNLOCK_REQUIRED' | 'EPP_AUTH_CODE_UPDATE_REQUIRED' | 'UNDETERMINED'
  - `status` 'CREATED' | 'PROCESSING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED' | 'PARTIALLY_COMPLETED', nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, 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)
