Eazita Developers

Lookup API: Network lookup

Find out the network of the number, Its prefix, MNC & MCC.

Request URL

https://api.eazita.com/lookup/carrier/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/carrier/json?api=YOUR_API_KEY&pass=YOUR_PASSWORD&number=TO_NUMBER
curl -X "POST" "https://api.eazita.com/lookup/carrier/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":"carrier",
	"data":[
		{
			"to":"923122699633",
			"code":1,
			"status":"Ok",
			"price":"0.0025",
			"validity":"Valid",
			"location":
				{
					"continent":"AS - Asia",
					"country":"Pakistan",
					"country_iso":"PK",
					"country_code":"92"
				},
			"network":
				{
					"network":"Zong",
					"network_prefix":"312",
					"mobile_network_code":"04",
					"mobile_country_code":"410"
				}
		}
	]
}
			
HTTP/1.1 200 OK
Content-Type: application/json

{
	"code":1,
	"package":"carrier",
	"data":[
		{
			"to":"145",
			"code":-2,
			"status":"Not_Found",
			"error":"Requested data was not found."
		}
	]
}

			

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.