API

DomainAvailability

Whether a domain name is available, with its products, prices and taxes.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /domain/check load OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

domain_availability, err := client.DomainAvailability(nil).Load(map[string]any{"name": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(domain_availability)

Lua

Construct client as shown in the Lua setup, then call the operations:

local domain_availability, err = client:DomainAvailability():load({ name = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$domain_availability = $client->DomainAvailability()->load(["name" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

domain_availability = client.DomainAvailability().load({"name": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

domain_availability = client.DomainAvailability.load({ "name" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const domain_availability = await client.DomainAvailability().load({ name: "example" })

Fields

Field Type Required Description
currency string Yes Currency
grid string Yes Grid
products array Yes Products
taxes array Yes Taxes

load

GET /domain/check

Operation ID: getDomainCheck.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
name query string Yes
country query string No
currency query string No
duration_unit query string No
extension query string No
grid query string No
lang query string No
max_duration query integer No
period query string No
processes query array of string No
sharing_id query string No

Responses

200: OK

application/json

Property Type Required Description
currency string Yes
grid string Yes
products array of object Yes
products[].name string Yes
products[].periods array of object No
products[].periods[].ends_at string (date-time) No
products[].periods[].name string Yes
products[].periods[].starts_at string (date-time) Yes
products[].prices array of object Yes
products[].prices[].discount boolean No
products[].prices[].duration_unit string Yes
products[].prices[].max_duration integer Yes
products[].prices[].min_duration integer Yes
products[].prices[].normal_price_after_taxes number No
products[].prices[].normal_price_before_taxes number No
products[].prices[].options object No
products[].prices[].options.period string No
products[].prices[].price_after_taxes number Yes
products[].prices[].price_before_taxes number Yes
products[].prices[].type string No
products[].process string No
products[].status string Yes
products[].taxes array of object Yes
products[].taxes[].name string Yes
products[].taxes[].rate number Yes
products[].taxes[].type string Yes
taxes array of object Yes
taxes[].name string Yes
taxes[].rate number Yes
taxes[].type string Yes
401: Unauthorized

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes
403: Forbidden

application/json

Property Type Required Description
cause string Yes
code integer Yes
message string Yes
object string Yes