WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Domain Host
  • 📝 Update History
  • IDN Language Code
  • Contact
    • Create Contact
      POST
    • Query Contact Info
      GET
    • Modify Contact
      POST
    • Delete Contact
      DELETE
    • Create Contact at Registry
      POST
    • Modify Contact at Local System only
      POST
    • Modify Contact at Registry
      POST
  • Registrant
    • Create Registrant Account
      POST
    • Get Registrant Account List
      GET
    • Send Login Info
      POST
    • Update Registrant User by Domain List
      PUT
    • Modify Registrant Account
      PUT
  • Domain Product
    • Get Extension Price
      POST
    • Get Extensions Promo Pricing
      POST
    • Smart Query by TLDs
      GET
    • Get Domain Extensions
      GET
    • Get Extensions Rule (RG)
      GET
    • Get Extensions Rule (TF)
      GET
    • Get Extensions Rule (GRACE)
      GET
    • Get Extensions Rule (DOC)
      GET
    • Suspend Domain
      POST
    • Get Domain Suspend Status
      GET
  • Domain
    • Check Domain Pattern
    • Query Domain
    • Count Total Domains
    • Get Domain Info
    • Get Universal WHOIS Information
    • Update Domain Status
    • Get WebNIC Default Nameservers
    • Update Domain Nameserver
    • Toggle Whois Privacy
    • Toggle Proxy Subscription
    • Register Domain
    • Renew Domain
    • Restore Domain
    • Delete Domain
    • Resend Domain Verification Email
    • Download Certificate
    • Reset Authorization Information
    • Send Authorization Information
    • Upload Verification Document
    • Get Domain Statistics
    • Get Top Domain Available List
  • Domain Host
    • Check Host
      POST
    • Get Host Info
      GET
    • Modify Host
      POST
    • Get Host List (Pagination)
      POST
    • Create Host By Extension
      POST
    • Delete Host By Extension
      DELETE
    • Get Host Registered Registries
      GET
    • Get Host linked Domain List
      POST
  • Domain DNSSEC
    • Check DNSSEC Supported
    • Get DNSSEC Info
    • Update DNSSEC
    • Delete DNSSEC
  • Domain Transfer
    • Query Transfer Type
    • Submit Reseller Transfer
    • Submit Registrar Transfer In
    • Get Registrar Transfer In Status by Domain Name
    • Get Registrar Transfer In Status by Id
    • Get Registrar Transfer Away Status by Domain Name
    • Get Registrar Transfer Away Status by Id
    • Update Registrar Transfer Away Status
    • Get Reseller Transfer Status by Domain Name
    • Get Reseller Transfer Status by Id
    • Update Reseller Transfer Away Status
  • Pending Order
    • Get Pending Order Info
  • Domain Action Log
    • Get Domain Action Log Info
  • Registry Program
    • Bundle HK Domain
    • Check Free TW Domain Eligibility
  • Domain Broker
    • Initiate Domain Broker
  • Secondhand Domain
    • Insert Secondhand Domain
  • Bulk Request
    • Bulk Domain Registration
    • Bulk Domain Renewal
    • Bulk Replace Contact
    • Get Bulk Report Overview
    • Get Bulk Report Details
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Domain Host

Check Host

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/domain/v2/host/check
Last modified:2024-11-27 07:30:26
This endpoint allows you to check the NS availability.
Response Data
FieldTypeDescription
hostStringHost name
extStringExtension name
availableBooleanIndicates whether the host is available
Related Action
ActionURL
Create Host{{baseUrl}}/domain/v2/host/create

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Header Params

Responses

🟢200OK (Nameserver exist)
application/json
Body

🟢200OK (Nameserver not exist)
🟠400Required Parameter Not Present
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/host/check?nameserver=ns10.testrestreg123.com&ext=com' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - OK (Nameserver exist)
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": {
        "host": "ns10.testrestreg123.com",
        "ext": "com",
        "available": false
    }
}
Modified at 2024-11-27 07:30:26
Previous
Domain Host
Next
Get Host Info
Built with