# NameBright

> Review NameBright domains, registration settings, nameservers, DNS and portfolio transfers.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/namebright

## Actions

### Check domain availability

Check whether a domain is available to register.

**Inputs**

- Domain (`domain`, text, required): Domain.

**Outputs**

- `data` (object): Availability, applicable product, and current pricing for a domain.

**Example output**

```json
{
  "data": {
    "domainName": "example",
    "productTypeName": "example",
    "promotion": {
      "description": "example",
      "discount": 1.0,
      "promotionPrice": 1.0
    },
    "status": "AvailableForRenewal",
    "unitPrice": 1.0
  }
}
```

### Get account

Read account information for the connected NameBright portfolio.

**Inputs**: None.

**Outputs**

- `data` (object): Information about the NameBright account associated with the Api client

**Example output**

```json
{
  "data": {
    "accountBalance": 1.0,
    "wallet": {
      "fundedAccount": {
        "balance": 1.0,
        "fundedBalance": 1.0,
        "withdrawableBalance": 1.0
      }
    }
  }
}
```

### Get domain

Read registration and renewal details for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain to get

**Outputs**

- `data` (object): The response from NameBright.

**Example output**

```json
{
  "data": {
    "autoRenew": false,
    "category": "example",
    "domainName": "example",
    "expirationDate": "example",
    "locked": false,
    "status": "example",
    "upgradedDomain": false,
    "whoIsPrivacy": false
  }
}
```

### Get domain contact

Read a selected contact role for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose contact to get
- Contact type (`contact_type`, text, required): Which contact to get. One of: `Registrant`, `Administrative`, `Technical`.

**Outputs**

- `data` (object): A whois contact on a domain. This is the whole representation: an update replaces the contact rather than merging into it, so a request body has to fill in every required property.

**Example output**

```json
{
  "data": {
    "address1": "example",
    "address2": "example",
    "city": "example",
    "country": "example",
    "email": "example",
    "fax": "example",
    "faxCountry": 1,
    "firstName": "example",
    "lastName": "example",
    "organization": "example",
    "phone": "example",
    "phoneCountry": 1,
    "postalCode": "example",
    "region": "example"
  }
}
```

### Get WHOIS accuracy status

Read WHOIS accuracy status for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain to check

**Outputs**

- `data` (text): The response from NameBright.

**Example output**

```json
{
  "data": "VerificationNotStarted"
}
```

### List A records

Read A DNS records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose A records to get

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List AAAA records

Read AAAA DNS records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose AAAA records to get

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List CNAME records

Read CNAME DNS records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose CNAME records to get

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List completed inbound pushes

Read completed incoming account changes.

**Inputs**

- Page (`page`, number): The page in the result set to retrieve
- Domains per page (`domains_per_page`, number): The number of domains to include per page

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List completed outbound pushes

Read completed outgoing account changes.

**Inputs**

- Page (`page`, number): The page in the result set to retrieve
- Domains per page (`domains_per_page`, number): The number of domains to include per page

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List contact verifications

Check which domain contacts have been verified.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain to get contact verification information for.

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List DNS records

Read all host records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose host records to get

**Outputs**

- `data` (object): The response from NameBright.

**Example output**

```json
{
  "data": {
    "aRecords": [],
    "aaaaRecords": [],
    "cnameRecords": [],
    "domainName": "example",
    "mxRecords": [],
    "srvRecords": [],
    "txtRecords": []
  }
}
```

### List domain contacts

Read registration contact details for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose contacts to get

**Outputs**

- `data` (object): The shape the deprecated contacts/all route answers with. Contacts is what the current endpoints use.

**Example output**

```json
{
  "data": {
    "administrativeContact": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "country": "example",
      "email": "example",
      "fax": "example",
      "faxCountry": 1,
      "firstName": "example",
      "lastName": "example",
      "organization": "example",
      "phone": "example",
      "phoneCountry": 1,
      "postalCode": "example",
      "region": "example"
    },
    "domainName": "example",
    "registrantContact": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "country": "example",
      "email": "example",
      "fax": "example",
      "faxCountry": 1,
      "firstName": "example",
      "lastName": "example",
      "organization": "example",
      "phone": "example",
      "phoneCountry": 1,
      "postalCode": "example",
      "region": "example"
    },
    "technicalContact": {
      "address1": "example",
      "address2": "example",
      "city": "example",
      "country": "example",
      "email": "example",
      "fax": "example",
      "faxCountry": 1,
      "firstName": "example",
      "lastName": "example",
      "organization": "example",
      "phone": "example",
      "phoneCountry": 1,
      "postalCode": "example",
      "region": "example"
    }
  }
}
```

### List domains

Read one page of domains registered in the account.

**Inputs**

- Page (`page`, number): Page. From 1.0 to 1000.0.
- Size (`size`, number): Size. From 1.0 to 1000.0.

**Outputs**

- `data` (object): The page-numbered domain list shape returned by the deprecated GET /domains endpoint. The cursored search endpoint returns SearchResult instead.

**Example output**

```json
{
  "data": {
    "currentPage": 1,
    "domains": [],
    "resultsTotal": 1
  }
}
```

### List MX records

Read MX DNS records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose MX records to get

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List nameservers

Read the nameservers delegated to a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose nameservers to get

**Outputs**

- `data` (object): The nameservers a domain is delegated to.

**Example output**

```json
{
  "data": {
    "domainName": "example",
    "nameServers": []
  }
}
```

### List pending inbound pushes

Read pending incoming account changes.

**Inputs**

- Page (`page`, number): The page in the result set to retrieve
- Domains per page (`domains_per_page`, number): The number of domains to include per page

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List pending outbound pushes

Read pending outgoing account changes.

**Inputs**

- Page (`page`, number): The page in the result set to retrieve
- Domains per page (`domains_per_page`, number): The number of domains to include per page

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List SRV records

Read SRV DNS records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose SRV records to get

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```

### List TXT records

Read TXT DNS records for a domain.

**Inputs**

- Domain (`domain`, text, required): The full name of the domain whose TXT records to get

**Outputs**

- `data` (list): The response from NameBright.

**Example output**

```json
{
  "data": []
}
```
