API Documentation

Everything you must know in one place

IMPORTANT: Our privacy service provider recently changed to WithheldforPrivacy. We want to avoid service interruption for our API users, so please note that in some cases, you may still see Whoisguard in the API parameter names.


Gets the list of domain privacy protection.

Example Request


Request Parameters

Global parameters are not shown here for clarity, but should be present in all requests

Name Type MaxLength Required? Description
ListType String 10 No Possible values are ALL, ALLOTED, FREE, DISCARD. Default Value: ALL
Page Number 10 No Page to return
Default Value: 1
Number 20 No Number of domain privacy subscriptions to be listed on a page. Minimum value: 2; Maximum value: 100

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<ApiResponse xmlns="http://api.namecheap.com/xml.response" Status="OK">
  <Errors />
  <Warnings />
  <CommandResponse Type="namecheap.whoisguard.getList">
      <Whoisguard ID="38495" DomainName="" Created="05/13/2014" Expires="" Status="unused" />
      <Whoisguard ID="34301" DomainName="" Created="12/18/2013" Expires="12/18/2014" Status="unused" />
      <Whoisguard ID="34400" DomainName="" Created="12/26/2013" Expires="12/26/2014" Status="unused" />
      <Whoisguard ID="34442" DomainName="" Created="01/03/2014" Expires="01/03/2015" Status="unused" />
      <Whoisguard ID="34479" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34483" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34490" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34493" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34497" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34498" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34504" DomainName="" Created="01/07/2014" Expires="01/07/2015" Status="unused" />
      <Whoisguard ID="34509" DomainName="" Created="01/08/2014" Expires="01/08/2015" Status="unused" />
      <Whoisguard ID="34537" DomainName="" Created="01/10/2014" Expires="01/10/2015" Status="unused" />
      <Whoisguard ID="34538" DomainName="" Created="01/10/2014" Expires="01/10/2015" Status="unused" />
      <Whoisguard ID="34539" DomainName="" Created="01/10/2014" Expires="01/10/2015" Status="unused" />
      <Whoisguard ID="34547" DomainName="" Created="01/10/2014" Expires="01/10/2015" Status="unused" />
      <Whoisguard ID="34561" DomainName="" Created="01/11/2014" Expires="01/11/2015" Status="unused" />
      <Whoisguard ID="34562" DomainName="" Created="01/11/2014" Expires="01/11/2015" Status="unused" />
      <Whoisguard ID="34563" DomainName="" Created="01/11/2014" Expires="01/11/2015" Status="unused" />
      <Whoisguard ID="34600" DomainName="" Created="01/13/2014" Expires="01/13/2015" Status="unused" />

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011272 ListType is not Valid


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Response Parameters

Name Description
Whoisguard ID A unique integer value that represents the domain privacy subscription.
Domainname The domain name associated with the subscription.
Created Domain privacy creation date
Expires Domain privacy expiry date
Status Indicates the current status of domain privacy subscription.

Need help? We're always here for you.

× Close