---
title: "Buy an aftermarket domain"
method: POST
path: "/api/domains/{domain}/buy-aftermarket"
tags: ["Domains"]
---

# Buy an aftermarket domain

`POST /api/domains/{domain}/buy-aftermarket`

## Request

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

Buy a taken domain that's listed for sale on an aftermarket (Afternic / Sedo) at its buy-now price, through Domani. The listing price is re-checked live before charging; pass `max_price` to cap what you'll pay. Make-offer-only listings can't be bought here - use the broker (`POST /api/broker`) to negotiate a price instead. Payment works like a registration: card, USDC on Base (x402), or marketplace balance. Requires the `domains:transfer` scope. On success the domain lands in your account (`status: active`, or `provisioning` while a staged transfer finalizes).

## Path parameters

- `domain` string, required

## Request body

- object
  - `max_price` number: Hard price ceiling in USD. Defaults to the listing's buy-now price; the purchase is rejected if the live price exceeds this.
  - `payment_method` 'card' | 'usdc' | 'balance': Payment method: 'card' (default), 'usdc', or 'balance' (marketplace credit).
  - `payment_tx` string: Transaction hash of a USDC payment already sent on-chain.
  - `payment_chain` 'base' | 'ethereum': Chain the USDC payment was sent on.

## Response `201`

Domain purchased

- object
  - `domain` string, required
  - `status` string, required: 'active' when the purchase completed, or 'provisioning' while a staged transfer finalizes.
  - `price` number, required
  - `currency` string, required
  - `payment_method` string, required
  - `payment_tx` string
  - `marketplace` string, required: Aftermarket the domain was bought on (e.g. 'Afternic', 'Sedo').
  - `hint` string
  - `next_steps` string[]

## Other responses

- `400`: Invalid request parameters
- `401`: Missing or invalid API key
- `402`: Payment required
- `404`: Domain 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)
