Eazita Developers

Lookup API: User Identity

Find out the name of the person who owns the phone number and other details, This features is currently available for Pakistani numbers only.

Request URL

https://api.eazita.com/lookup/profile/json

Query Parameter

KeyDescriptionDefault
api
REQUIRED | string
Your API keyNone
pass
REQUIRED | string
Your account passwordNone
number
REQUIRED | string
Phone number to lookup.
The numbers must be in international format.
None

Request Example

https://api.eazita.com/lookup/profile/json?api=YOUR_API_KEY&pass=YOUR_PASSWORD&number=TO_NUMBER
curl -X "POST" "https://api.eazita.com/lookup/profile/json" \
  -d "api=YOUR_API_KEY" \
  -d "pass=YOUR_PASSWORD" \
  -d "number=TO_NUMBER"

			//COMING SOON

Response Example

HTTP/1.1 200 OK
Content-Type: application/json

{
    "code": 1,
    "package": "profile",
    "data": [
        {
            "to": "923122699633",
            "code": 1,
            "status": "Ok",
            "price": "0.003",
            "profile": [
                {
                    "id": null,
                    "primary_name": "Hamza Iqbal",
                    "gender": null,
                    "Phone": [
                        {
                            "id": null,
                            "data": "923122699633",
                            "type": "mobile"
                        }
                    ]
                }
            ],
            "validity": "Valid",
            "NumberType": "MOBILE",
            "NumberFormat": {
                "international": "+923122699633",
                "national": "0312 2699633"
            },
            "location": {
                "continent": "AS - Asia",
                "country": "Pakistan",
                "country_iso": "PK",
                "country_code": "+92"
            }
        }
    ]
}			
HTTP/1.1 200 OK
Content-Type: application/json

{
    "code": 1,
    "package": "profile",
    "data": [
        {
            "to": "923121103791",
            "code": -1,
            "status": "NO_DATA_FOUND",
            "price": "0.000",
            "profile": {
                "error": "NO DATA FOUND"
            },
            "validity": "Valid",
            "NumberType": "MOBILE",
            "NumberFormat": {
                "international": "+923121103791",
                "national": "0312 1103791"
            },
            "location": {
                "continent": "AS - Asia",
                "country": "Pakistan",
                "country_iso": "PK",
                "country_code": "+92"
            }
        }
    ]
}			

After submitting the request you will receive a General Error Code in 'code' parameter.

General Error Codes

CodeError
1
No Error.
-1
Your request is incomplete and missing some mandatory parameters.
-2
There was an error processing your request in the Platform.
-3
The credentials you supplied is either invalid or disabled.
-4
The value of one or more parameters is invalid.
-5
You have exceeded the submission capacity of numbers allowed in a single request.
-6
Your account does not have sufficient credit to process this request.