Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Dynadot API open to users with regular pricing!

Status
Not open for further replies.

Michael

Level 5
Legacy Platinum Member
Joined
Aug 1, 2007
Messages
421
Reaction score
19
Well, not really... which is why I wrote my own API for you guys to use with Dynadot. Now you don't have to spend $500/year and qualify for bulk pricing to be able to achieve automated registrations.


Instructions:
  1. Go here to view the code.
  2. Create a file called dynadot.php, and copy/paste the code into it.
  3. Edit the username and password to match your Dynadot login credentials.
  4. Save the file and upload to your server.
That's it! Easy, huh?

Usage:
Code:
[URL]http://www.yourdomain.com/dynadot.php?domain=abc.com[/URL]

As the code is, it can register up to 10 domains in a single call like so:

PHP:
http://www.yourdomain.com/dynadot.php?domain=abc.com&domain1=def.com&domain2=ghi.com&domain3=jkl.com

and so on... until you get to domain9.


Requirements:
  • Your server must have PHP installed.
  • Your Dynadot account must have enough credit to perform the registration.
Supported TLDs: com, net, org, info, biz, mobi, tv, co.uk, asia, me, name, ws, us, cn, cc

Notes:
  • If you call the script too many times in one day, Dynadot will show a captcha near the login box and the script will no longer work. Wait 10 minutes or so and it will work again.
  • If you post about this in your blog or on other forums, please give credit where credit is due, and provide a link back to DomainRaiders.com.
  • Please do not remove the copyright notice on top.
  • Please do not sell the script.
Enjoy!
 
Dynadot - Expired Domain Auctions

Credit

Buying CC.com
Legacy Exclusive Member
Joined
Oct 9, 2007
Messages
2,585
Reaction score
19
Wow. Thank you very much sir.
 

Yum

Editor
Legacy Exclusive Member
Joined
May 18, 2005
Messages
1,389
Reaction score
9
Legal or not??
 

Michael

Level 5
Legacy Platinum Member
Joined
Aug 1, 2007
Messages
421
Reaction score
19
Yep, as far as I can tell from their TOS it is only frowned upon if you use it for chain registrations/deletions (i.e. kiting), but people don't do that any more because of the $0.20 fee. The script pretends to be a browser, so Dynadot can't tell it isn't a human doing it anyway.

Not sure how many requests InterNIC lets you do before they ban your IP for the day, but this is an example of how the API could be used in a simple drop-catching script:

drop.php:
PHP:
<?php
$url = "http://reports.internic.net/cgi/whois?whois_nic=" . $_GET['domain'] . "&type=domain";
$result = file_get_contents($url);
 
while(eregi("Domain Name:", $result))
{
 $result = file_get_contents($url);
}
 
if(eregi("No match for domain", $result))
{
 $url = "http://www.yourdomain.com/dynadot.php?domain=" . $_GET['domain'];
 file_get_contents($url);
}
 
?>
Then you would just open your web browser when it gets close to the drop time and type in:

www.yoursite.com/drop.php?domain=abc.com

and it would keep checking until abc.com is available, call the API, and register it for you. This example is extremely simplified and only works on the extensions Internic can check and the API can register (biz, com, info, mobi, name, net, org). It doesn't use proxies or multithreading and is just a very basic example of how it could be used. Hopefully it gives you guys some ideas though.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 2) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom