Search code examples
apismsrestful-urltelecommunication

is it possible to identify telecom provider by mobile or phone number?


There are ulimited online bulk sms provider supporting Restful API. Mainly I look into Nexmo, Tropo, Twilio pricing in different countries.

Let take an example sms to Brazil.

[ TROPO ]

2¢ / msg

[ Nexmo ]

3.63¢ / msg

[ Twilio ] Twilo offers based on providers. see the pricing.

Vivo    8.3¢ / msg
Claro   8.6¢ / msg
TIM     1.2¢ / msg
Oi      8.3¢ / msg

So, What I want is before sending SMS, I want to identify the Provider. See the example sending sms to TIM is cheaper in Twilio but others Tropo and Nexmo are cheaper. If there is a way to identify the telecom provider then I can program which API to use before sending sms. I don't know this question should be posted here or not. Is there a way or api available to identify this? Thank you.


Solution

  • I didn't see ready solutions, except databases in billings (in most cases they are detailed as needed for concrete needs)

    The "number one" source is ITU. Link to docs - http://www.itu.int/oth/T0202.aspx?parent=T0202 It's official source, but it isn't ready to consume database. You must spend much time to manually create database.

    There are some preparsed databases, as http://en.allworldsms.com/html/phone_codes.php ... it's ugly, but it contains logos. And it's not downloadable in one file, but it's still easy to consume.