Our service applies known standards such as national formats and E.164 to keep your contact lists compliant and up to date.
Find out to which mobile network a number is registered under with country origins information.
Learn whether the interested number is an active or inactive number.
{
"status": 0,
"msgid": "MSGID10507102706000011.0001",
"to": "60123456789",
"current_carrier": {
"country": "MY",
"name": "U Mobile",
"network_code": 50218,
"mcc": "502",
"mnc": "18"
},
"original_carrier": {
"country": "MY",
"name": "Maxis Mobile",
"network_code": 50212,
"mcc": "502",
"mnc": "12"
},
"ported": "ported"
}
It is as simple as sending an SMS.
from moceansdk import Client, Basic, Transmitter
mocean = Client(
Basic("YOUR_API_KEY", "YOUR_API_SECRET")
)
res = mocean.number_lookup.inquiry({
'mocean-to': '60123456789'
})
print(res)
require 'moceansdk'
mocean = Moceansdk::Client.new(
Moceansdk::Auth::Basic.new('YOUR_API_KEY', 'YOUR_API_SECRET')
)
res = mocean.number_lookup.inquiry('mocean-to': '60123456789')
print res
$mocean = new \Mocean\Client(
new \Mocean\Client\Credentials\Basic('YOUR_API_KEY', 'YOUR_API_SECRET')
);
$result = $mocean->numberLookup()->inquiry([
'mocean-to' => '60123456789',
'mocean-resp-format' => 'json'
]);
echo $result;
const moceansdk = require('mocean-sdk');
const mocean = new moceansdk.Mocean(
new moceansdk.Client('YOUR_API_KEY', 'YOUR_API_SECRET')
);
mocean.number_lookup()
.inquiry({
'mocean-to': '60123456789'
}, function (err, res) {
console.log(res);
});
try {
Mocean mocean = new Mocean(
new Basic("YOUR_API_KEY", "YOUR_API_SECRET")
);
NumberLookupResponse res = mocean
.numberLookup()
.setTo("60123456789")
.inquiry();
System.out.println(res);
} catch (MoceanErrorException e) {
System.out.println(e.getErrorResponse().getErrMsg());
}
Get your Application to send Number Lookup within 5 minutes!
If you did not have an account yet, go register an account for yourself and start integrating Number Lookup into your Application.
Free API KeyChoose a language of your choice and start develop Messaging solution on top of your Application with our production ready SDK tools.
DocumentationSample codes are ready to be used, and we're all set to connect the world.
Send Number Lookup