Mobile Number Locator API
I have search so many times in google but not get the result. Actually i am searching a Free API for mobile number locator for India.
When i pass the mobile number in the API, it should return the "Service Provider" & "Circle".
I am developing a application on it but not get the API. Please help me.
Bad luck their are no free service available to locate mobile number.
But their is an way by which you can find mobile number provider and their circle or state.
You can modify this script according to your platform language.
There can be multiple answers to this question
There is a ready to use free API for looking up indian mobile number . This API takes mobile number and returns operator name and circle ( State ) of the mobile number . Essentially it lookup a DB based on first four digits of number ( [Read more on Wikipedia https://en.wikipedia.org/wiki/Mobile_telephone_numbering_in_India ) . Please note this may not be accurate if a mobile subscriber has changed state and kept same number using mobile number portability.
Source : [https://market.mashape.com/nviror/mobile-number-tracker-india]
You have to create an account on mashape & get the credentials to call API. Send request in following format to API URL
// These code snippets use an open-source library. http://unirest.io/net
Task<HttpResponse<MyClass>> response = Unirest.post("https://mobileinfo.p.mashape.com/")
.header("X-Mashape-Key", "ZGpCbd8tLpmshmlkk1sOVgRuXdHmp1yJ7s3jsnT7z6fQpJ2Sts")
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.body("{"mobile":9999999999}")
.asJson();
You will get a return response as
{
"mobile": 9999999999,
"serie": 9999,
"operator": {
"code": "VF",
"name": "Vodafone",
"company": "Vodafone India Ltd"
},
"circle": {
"code": "DL",
"name": "Delhi Metro Telecom Circle (includes NCR, Faridabad, Ghaziabad, Gurgaon and Noida)"
}
}
链接地址: http://www.djcxy.com/p/35874.html
上一篇: Outlook REST API
下一篇: 移动号码定位器API