Domains-domainName-privateregistration-:GET
From Hostway API Documentation
GET /domains/privateregistration
Show if private registration is available for the supplied comman delimited tld list
Contents |
Request
GET /domains/privateregistration
Parameters
- tld
- one or more valid tld's separated by comma
Request Headers
None.
Request Body
None.
Request Parameters
- tld - list of strings
- comma separated list of tlds
- for example, tld=com,net.org
Response
Status Code
- 200 OK
- Returns private registration availability.
- 400 Bad Request
- Invalid request
Response Body
List of private registration availability.
Example search for a domain product.
Request
GET /domains/privateregistration?tld=pro,ca,asia,eu,be,nl,co.uk,us,com,net,info,org
Response
200 OK Content-Type: application/json; charset=UTF-8 [ {"privateRegistration": false, "tld": "pro"}, {"privateRegistration": false, "tld": "ca"}, {"privateRegistration": false, "tld": "asia"}, {"privateRegistration": false, "tld": "eu"}, {"privateRegistration": false, "tld": "be"}, {"privateRegistration": false, "tld": "nl"}, {"privateRegistration": false, "tld": "co.uk"}, {"privateRegistration": false, "tld": "us"}, {"privateRegistration": true, "tld": "com"}, {"privateRegistration": true, "tld": "net"}, {"privateRegistration": true, "tld": "info"}, {"privateRegistration": true, "tld": "org"} ]
See also