---
title: "Purchase an available (pre-purchased) domain"
method: POST
path: "/api/v1/domains/available/purchase"
tags: ["Domains"]
---

# Purchase an available (pre-purchased) domain

`POST /api/v1/domains/available/purchase`

Purchase an available domain from the pre-purchased domain pool. Price will be deducted from user's balance.

## Request body

- AvailableDomainPurchaseRequest — Request to purchase an available (pre-purchased) domain.
  - `domainId` integer, required — ID of the available domain to purchase

## Response `201`

Successful Response

- DomainPurchaseResponse — Response after successful domain purchase.
  - `id` string, uuid, required
  - `domain` string, required
  - `status` string, required
  - `pricePaid` string, required
  - `expirationDate` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pwapps/apis/curie-api.md) · [All operations](https://skmtc.dev/pwapps/apis/curie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pwapps/curie-api/revisions/060ef67e573a/schema)
