Knowladge Base


This method returns the list of available DID’s in the form of an array. The user is required to give User ID, Password, Country code, Area code as arguments and then get a list of available DID’s for the area of the country for which he’s provided the code. If the user wants available DID’s for the whole country and not just for a particular area, then he should supply ‘-1’ as the Area code. In return, he’ll get the list of available DID’s for the whole country. Now, optionally user can provide a specific Vendor ID to get the DID’s, available for sale by the Vendor (provide ‘-1’ or nothing if there is no defined Vendor ID).


Example URL:


Example Code in PHP:


$curl_handle = curl_init();

$url = "";

curl_setopt($curl_handle, CURLOPT_URL, $url);

curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);

$curl_data = curl_exec($curl_handle);


$response_data = json_decode($curl_data);





Input Fields:

    1. UserID
    2. Password
    3. CountryCode
    4. AreaCode
    5. VendorID
    6. VRatingFrom
    7. VRatingTo
    8. CountryID


Returned Fields:

    1. DIDNumber
    2. OurSetupCost
    3. OurMonthlyCharges
    4. OurPerMinuteCharges
    5. VendorRating
    6. Country
    7. Area


Error Codes:

In case of any incorrect information provided by the user or in case of no matching data, an error code will be returned. Error codes correspond to the following messages:

-1 = User ID does not exist.
-2 = Your Password is Incorrect.
-3 = There are no DID’s for this Area in our record.
-4 = The Area code does not exist.
-5 = There are no DID’s for this country in our record.
-6 = The Country Code does not exist.