WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Domain
  • 📝 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
    • Get Registrant Account List
    • Send Login Info
    • Update Registrant User by Domain List
    • Modify Registrant Account
  • Domain Product
    • Get Extension Price
    • Get Extensions Promo Pricing
    • Smart Query by TLDs
    • Get Domain Extensions
    • Get Extensions Rule (RG)
    • Get Extensions Rule (TF)
    • Get Extensions Rule (GRACE)
    • Get Extensions Rule (DOC)
    • Suspend Domain
    • Get Domain Suspend Status
  • Domain
    • Check Domain Pattern
      GET
    • Query Domain
      GET
    • Count Total Domains
      GET
    • Get Domain Info
      GET
    • Get Universal WHOIS Information
      GET
    • Update Domain Status
      PUT
    • Get WebNIC Default Nameservers
      GET
    • Update Domain Nameserver
      PUT
    • Toggle Whois Privacy
      PUT
    • Toggle Proxy Subscription
      PUT
    • Register Domain
      POST
    • Renew Domain
      POST
    • Restore Domain
      POST
    • Delete Domain
      DELETE
    • Resend Domain Verification Email
      POST
    • Download Certificate
      GET
    • Reset Authorization Information
      POST
    • Send Authorization Information
      POST
    • Upload Verification Document
      POST
    • Get Domain Statistics
      GET
    • Get Top Domain Available List
      GET
  • Domain Host
    • Check Host
    • Get Host Info
    • Modify Host
    • Get Host List (Pagination)
    • Create Host By Extension
    • Delete Host By Extension
    • Get Host Registered Registries
    • Get Host linked Domain List
  • 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

Query Domain

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
GET
/domain/v2/query
Last modified:2025-10-13 04:29:00
Query a domain name to identify the availability.
bypass token with rescode
There are usecases where not suitable to use JWT token for authentication. Can provide the optional parameter rescode to bypass the use of token.
You still need to add your IP address to allowed list as 2nd Authentication Factor.

Request

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

Responses

🟢200OK (Non premium domain)
application/json
Body

🟢200OK (Premium domain)
🟠400Required Parameter Not Present
🟠400Invalid Domain Name
🟠400Reseller Not Found
🟠400Domain Extension Not Supported For Query
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://oteapi.webnic.cc/domain/v2/query?domainName=git.my' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": {
        "available": false,
        "premium": false,
        "online": true,
        "landrush": false,
        "idn": false,
        "punyCodeDomainName": "example.com"
    }
}
Modified at 2025-10-13 04:29:00
Previous
Check Domain Pattern
Next
Count Total Domains
Built with