ResellerClub API Integration On PHP

ResellerClub platform powers some of the world’s most popular web hosts, domain resellers, web designers and technology consultant. ResellerClub provides scalable and secure Shared Hosting, Reseller Hosting as well as VPS solutions.

ResellerClub provide us the Reseller Program along with a selling tool like Supersite Storefront, Control Panel, API Integration and Billing Integration. The HTTP API provides a simple way to integrate the functionality of our Reseller platform with your Storefront, Control Panel or Application. You can leverage existing HTTP libraries available in almost all programming languages and try out or test the API easily using your favorite browser.

Check Domain Availability and Suggestions Using Reseller club API

ResellerClub API Integration On PHP needs the reseller id and API key. Here are the some of the steps to obtain,

Reseller ID

Get Reseller ID from profile details, Refere the attached screenshot to obtain Reseller ID form our account.
Reseller--Club---Reseller-Id

API Key

To Get the API Key from our account, We need to navigate Settings -> API. Then, By clicking on View API Key you will get the API key. Simultaneously you need to add your IP address to Whitelist your IP Addresses

Note : You must whitelist the IP addresses from where your calls will be made

Reseller-Club-API-Key

After you got API Key and Reseller ID then configure on our code. Configuration can be done on functions.php as seen on the below code snippet.

// Configuration Of Reseller Club API
public $api_user_id = "XXX";
public $api_key = "YYY";

Click on the below link to download and view demo. Thanks again for reading this post with patience.

Download/Demo:

Demo Download

Update:

April 15, 2017 : Fixed warning and null value error.
May 8, 2017 : Improved Domain Suggestion (Included new API for domain suggestions)

31 thoughts on “ResellerClub API Integration On PHP

  1. Hey!!!

    I have some trouble with code when I configured all code (i.e. API Key, API user id, and also added white list ip) but when I checked any domain it show Not Available with all the domain I search

    please help me

    1. Hi Buchi,

      It’s similar to the code, Which we are using here. But, It will various depends on your use like shortcode, page template or similar.

      Thanks,
      Siva

  2. Verry nice, a question if i want this to work on my wordpress site that is clean on just a empty page. What do i need to do?

    Best regards
    Daniel

  3. Hello Siva Sankar Sir,

    This demo work only your code, I was Download the code and run then search it’s generate below error..

    Notice: Undefined variable: data in E:\xampp\htdocs\azhar\resellerclub-api-master\php\functions.php on line 29

    Fatal error: Maximum execution time of 30 seconds exceeded in E:\xampp\htdocs\azhar\resellerclub-api-master\php\functions.php on line 34

    I want search domain and its availability on my site’s same page so what can i do…?

    my project site is single page, and i want same page search and get result below the “Search textbox”.

    Thanks in Advance…!
    Azhar Deraiya

        1. Yeah, Something wrong, Its showing “Not Available” for all domain.
          Will check and update the code, Seems their may REST API change on resellerclub

          Thanks,
          Siva

      1. i added my ip to wishlist on ResellerClub,but not work ,and when i removed my local ip and add it again ,also not work now why ? !! what can i do ?

Leave a Reply

Your email address will not be published. Required fields are marked *