API - FAQ




Do you charge any additional fee for using your API?

No, there is no additional fee for resellers using our API.


Can I use your API for drop catching?

Unfortunately, we do not allow drop catching using our API.


I want to enable API for my account. Are there any specific requirements?

We have certain requirements for activation to prevent system abuse. In order to have API enabled for your account, you should meet one of the following requirements:

- have at least 20 domains under your account;
- have at least $50 on your account balance;
- have at least $50 spent within the last 2 years.

Still, you are free to test our API through the Sandbox environment at http://www.sandbox.namecheap.com


How accurate is the Sandbox?

The sandbox environment is separate and independent from the production one, thus, domain names registered in real will be shown as available in the Sandbox, unless you register them in the sandbox environment.

The same goes for nameservers. When nameservers are assigned to a domain, they need to be registered in the environment this is done in.

For example, if you would like to use ns1.nameserver.com on example.com, you'll need to register nameserver.com domain in the sandbox first, then register ns1.nameserver.com and only then you can change the DNS for example.com to ns1.nameserver.com.


Are all TLDs supported for the registration via API?

Yes, you can register all the TLDs listed on our pricing page. However, make sure you add the required extended attributes parameters for the API call. You can find the details here.


Where can I find documentation on API?

Our API documentation can be found here.


Is it possible to use port 80?

You can send API calls with http, however we recommend using https, since the calls contain sensitive details.


Can I use Namecheap coupon codes in Sandbox?

Unfortunately, no. Currently, we do not provide any coupon codes for testing in the sandbox environment.


What prices should I set for my customers?

You can resell the domains at your own prices. Your profit is the difference between your buying and selling prices.


I have enabled API for my account and want to resell domains with you. Will I get a special reseller pricing?

The prices are the same using API, however, you can use our monthly coupons for domain registrations. Alternatively, once you get 50+ domains in your account, we can set a special pricing for your account which will be working for renewals as well as new registrations.


Can Namecheap coupons be used with API?

Yes, you can use our coupons for purchases through API as well. Click here for the required parameters.


How fast is Namecheap API?

Domain registrations are real time through the API.


Do you offer language platforms?

Our API works in the background to perform all the operations (i.e., it’s a backend process). You can use any language on your website to sell domains. There is no need for us to offer a language platform as the backend process has got nothing to do with the language used on your website.


Can I add a free WhoisGuard or Positive SSL to my order via API?

Yes, you can add a free WhoisGuard subscription to your domain name registration through API. Necessary parameters can be found here.

A Positive SSL certificate cannot be added if you are registering a domain via API.


I’m using FreeDNS. How can I manage it via API?

API can be used for the domains that are registered with us only. If the domain is using our FreeDNS, you will not be able to manage it via API.


How can I import a bind zone for my domains using API?

Unfortunately, this option is not supported. However, you can use setHosts command for creating records. Alternatively, if you have a bind zone, please contact our support team. We will be able to import it manually for your domains that are using our BasicDNS.


I want to register IDN domains. Shall I use native symbols or Punycode?

For now, API allows searching and registering IDN domains in Punycode only (ex.: xn--sdkhjsdhfkdh.com as mentioned here, as we do not support the native code).


I want to delete domains registered in my Sandbox account

Unfortunately, it is not possible to do that since the sandbox environment works just like the production one: it is linked to the registry testing environment.

In other words, the test domains actually exist in the testing environment on the registry side, too. So, it is not possible to register domain names that are already registered by another user or set nameservers that are not registered in a test environment.

Due to this, we cannot reset or cancel all test domain registrations for a specific user.


I want to sort my domains by categories using API

Unfortunately, at this time, our API does not allow categorizing domain names by client reference or any other parameter.


If you have any questions, feel free to contact our Support Team.

Comments

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.

Need help? We're always here for you.

× Close