Check Domain
check_domainCheck whether a single domain is available for registration and what it costs. Returns availability (avail: yes|no), registration price, renewal price, transfer price, and (for premium domains) extended pricing details.
Instructions
Check whether a single domain is available for registration and what it costs. Returns availability (avail: yes|no), registration price, renewal price, transfer price, and (for premium domains) extended pricing details. Pricing is in USD. An internationalized name (IDN) also returns idnLanguages, the languages its registry accepts; register_domain needs one of them as idn_language. For a domain already in the user's account the result has inYourAccount: true: the top-level price is still the registration price, and the renewal price is additional.renewal.price (use that, or a renew_domain dry run, before renewing). For a domain registered to someone else it adds aftermarketSearch: the name may be for sale, so call search_aftermarket before telling the user it is unavailable. Use this BEFORE register_domain to confirm cost — Porkbun rejects registrations whose cost_cents doesn't match the current quote. Checking more than one name? Use check_domains instead — it takes up to 25 in a single call and draws on a separate, more generous budget (200 domains/minute against 10 checks/10s here), because Porkbun chunks checks per registry and a batch costs less than the same names one at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Fully qualified domain name to check, e.g. `example.com` |