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

Register Domain

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/domain/v2/register
Last modified:2025-08-14 02:55:49
Register a domain name.
When using WebNIC DNS services
After succeed registration, you need to add the domain zone to respective DNS Service with this endpoint:
Add Domain Zone to NS Subscription
For IDN Domains
You can locate this IDN Language Code for the list of acceptable language short code for parameter lang.
Related Endpoints
Query Domain
Get WebNIC Default Nameservers
Create Host By Extension
Create Contact
Get Domain Info
Resend Domain Verification Email
Download Certificate
Upload Verification Document

Request

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

Examples

Responses

🟢200OK
application/json
Body

🟠400Invalid Domain Name
🟠400Domain Extension Not Supported
🟠400Invalid Terms
🟠400Domain Not Available
🟠400Incorrect Domain Type
🟠400Registrant Not Exist
🟠400Registrant Contact Not Found
🟠400Domain Proxy Not Supported
🟠400Required Field Missing
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/register' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "domainName": "webnic-twst.com.cn",
    "term": 1,
    "nameservers": [
        "ns1.web.cc",
        "ns2.web.cc"
    ],
    "registrantContactId": "WNC969630T",
    "administratorContactId": "WNC969630T",
    "technicalContactId": "WNC969630T",
    "billingContactId": "WNC969630T",
    "registrantUserId": "REG100015"
    // ,
    // "addons": {
    //     "proxy": true,
    //     "whoisPrivacy": true
    // }
}'
Response Response Example
200 - Pending Order
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": {
        "pendingOrder": true,
        "pendingOrderId": 2247,
        "dtexpire": "2026-08-12T11:10:24.654002827"
    }
}
Modified at 2025-08-14 02:55:49
Previous
Toggle Proxy Subscription
Next
Renew Domain
Built with