Domains

Check domains

POST
/v1/domains/check

For buying several at once. A name that is malformed or whose ending is not on offer comes back unavailable, with a null price, as does a premium name or one the registrar could not check.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Request Body

application/json
  1. body
domains*array<>
Items1 <= items <= 100
customerId?string

Also return what this customer pays for a first purchase

coupon?string

Also count the promotion this coupon unlocks, as an order sending it would

Length1 <= length <= 40

Response Body

Success

application/json
  1. response

Success

data*array<>
curl -X POST "https://example.com/v1/domains/check" \  -H "Content-Type: application/json" \  -d '{    "domains": [      "northwind-telecom.com",      "northwind.io"    ]  }'
{  "data": [    {      "domain": "northwind-telecom.com",      "available": true,      "price": 1440,      "premium": true,      "unknown": true,      "transferPrice": null,      "transferAddsYear": null,      "customerPrice": 1799,      "customerCurrency": "USD",      "customerNormalPrice": 1999,      "customerPromotionEndsAt": "2026-12-01T00:00:00.000Z",      "privacyPrice": 499,      "customerPrivacyPrice": 599    }  ]}