Data Feeds

Data feeds offer a dynamic way to extract data from WHMCS for use on the pages of your website. They allow you to display information like product names, descriptions, and pricing in real time on the static pages of your site. When you make a change in WHMCS, it will automatically update on your website.

The code samples below are ready to copy and paste into your webpage. You can set the variables in the requests, such as the product IDs and TLDs, as you need them:

Product Names

<script language="javascript" src="feeds/productsinfo.php?pid=1&get=name"></script>

Product Descriptions

<script language="javascript" src="feeds/productsinfo.php?pid=1&get=description"></script>

Product Pricing

<script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly"></script>

Product Pricing and Currency

<script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly&currency=2"></script>

Domain Pricing Table

    <style type="text/css">
    table.domainpricing {
        width: 600px;
        background-color: #ccc;
    }
    table.domainpricing th {
        padding: 3px;
        background-color: #efefef;
        font-weight: bold;
    }
    table.domainpricing td {
        padding: 3px;
        background-color: #fff;
        text-align: center;
    }
    </style>
    <script language="javascript" src="feeds/domainpricing.php"></script>

Individual TLD Pricing

<script language="javascript" src="feeds/domainprice.php?tld=.com&type=register&regperiod=1&format=1"></script>

Domain Checker Form

<script language="javascript" src="feeds/domainchecker.php"></script>

Last modified: May 31, 2024