---
title: "Update a domain listing"
method: PATCH
path: "/api/domains/{domain}/for-sale"
tags: ["Domains"]
---

# Update a domain listing

`PATCH /api/domains/{domain}/for-sale`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/domains/{domain}/for-sale`
- Auth: HTTP bearer

Update the price and/or description of an active marketplace listing. At least one field must be provided. Requires `domains:write` scope.

## Path parameters

- `domain` string, required

## Request body

- object
  - `price` number: New sale price in USD
  - `description` string, nullable: New description (null to clear)

## Response `200`

Listing updated

- object
  - `listing` object
    - `id` string
    - `domain` string
    - `price` number
    - `currency` string
    - `description` string, nullable
    - `status` 'active'
    - `created_at` string, date-time
  - `hint` string

## Other responses

- `400`: Invalid request parameters
- `401`: Missing or invalid API key
- `404`: Listing not found
- `429`: Rate limit exceeded - wait and retry

---

[API](https://skmtc.dev/domani/apis/domani-run-api.md) · [All operations](https://skmtc.dev/domani/apis/domani-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domani/apis/domani-run-api/revisions/7679f8159533?raw)
