Monday, March 24, 2008

Reverse Number Lookup API

Call-x allows you to do reverse lookup for United States, Canada, and Pakistan at this time.

The Pakistan Lookup is only available for PTCL numbers.

The API below can be used as a web service.

The API is SOAP based, so you can use it in any language.


The service has two functions, GetResultByName and GetResultByNumber, and the return type of these functions is array of string type.

1) the function GetResultByName has the following declaration.

GetResultByName(firstname, lastname, city, state) as String()

this function has four parameters, firstname, lastname, city and state. Parameter “lastname” is an essential parameter that must be given. This function returns the address and the phone number of the owner of given details.

2) the function GetResultByNumber has the following declaration.

GetResultByName(num) as String()

this function has only one parameter “num”. This function returns the Name and the address of the owner of given number.

Example 1) GetResultByName(firstname,lastname,city,state) as string
First Name: Sultan [optional]
Last Name: Ahmed [mandatory]

City: [optional]
State: [optional]

the result will be the detail of the owner including the address and the phone number of the owner.

Example 2) GetResultByNumber(num) as string
Number: 7134672333
the result will be the detail of the owner including the address and the phone number of the owner.