WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Secondhand 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
      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
      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
      POST
  • 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. Secondhand Domain

Insert Secondhand Domain

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/domain/v2/secondhand-domain/insert
Last modified:2024-11-27 07:30:26
Register a previously registered domains that are now available for purchase again with new ownership details and update its associated nameservers.
Request Body
FieldTypeDescription
domainNameString(Required) Domain name
regidString(Required) Registrant contact ID
admidString(Required) Administrator contact ID
tecidString(Required) Technical contact ID
bilidString(Required) Billing contact ID
nameserversString[](Required) Nameserver list
Response Data
FieldTypeDescription
eligibleBooleanIndicates whether the domain is eligible
notEligibleReasonStringReason for domain not being eligible
domainStringDomain name
deductSoaRescodeStringReseller code for the deduct SOA
regidStringRegistrant contact ID
admidStringAdministrator contact ID
tecidStringTechnical contact ID
bilidStringBilling contact ID
currentRescodeStringCurrent reseller code
nameserversString[]Nameserver list

Request

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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟢200Domain Cannot Be Null
🟢200Invalid Domain
🟢200Domain Not Found
🟢200Secondhand Domain Already Existed
🟢200Domain Cannot Be Reserved
🟢200Domain Not Under Expired Status
🟢200Domain Expired Less Than 15 Days
🟢200Invalid Registrant Contact
🟢200Invalid Administrator Contact
🟢200Invalid Technical Contact
🟢200Invalid Billing Contact
🟢200Nameserver Amount Exceeded
🟢200Required Minimum 2 Nameserver
🟢200Current Reseller Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/secondhand-domain/insert' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "domainName": "jimtestmodifyns.com",
        "regid": "WNC968080T",
        "admid": "WNC968081T",
        "tecid": "WNC968082T",
        "bilid": "WNC968083T",
        "nameservers": [
            "ns3.web.cc",
            "ns5.web.cc"
        ]
    }
]'
Response Response Example
200 - OK - OK
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": [
        {
            "eligible": true,
            "domain": "jimtestmodifyns.com",
            "deductSoaRescode": "WEBCC",
            "regid": "WNC968080T",
            "admid": "WNC968081T",
            "tecid": "WNC968082T",
            "bilid": "WNC968083T",
            "currentRescode": "WEBCC",
            "nameservers": [
                "ns3.web.cc",
                "ns5.web.cc"
            ]
        }
    ]
}
Modified at 2024-11-27 07:30:26
Previous
Initiate Domain Broker
Next
Bulk Domain Registration
Built with