Get Closeout
get_closeoutRetrieve a closeout domain's binding totalPrice, which includes its registration year, before purchase. Pass the returned totalPrice as cost_cents and verify availability.
Instructions
Get one closeout plus totalPrice — the binding amount, which is the closeout price plus the registration year that comes with it. Always call this before buy_closeout: totalPrice is what you must pass as cost_cents, and it cannot be derived from search results because a name already at Porkbun is renewed while anything else is transferred in, and those price differently. available: false means somebody already claimed it. Quote the user totalPrice, never the search price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain offered as a closeout, e.g. `example.com` |