tags:

views:

1476

answers:

5

Is there a free API or some other way to determine what carrier a cell phone number is registered with?

I'd like my application to broadcast text messages without them picking their carrier from a list.

UPDATE: Interestingly, a coworker found the answer: http://developer.whitepages.com/

UPDATE2: Well the whitepages license agreement is so restrictive that you can't build an app for it. Any other ideas?

+2  A: 

Your biggest problem is that people can now take their numbers with them. So while in the past cell phone carriers had blocks of phone numbers, and probably still do, there's no reliable way to map a specific cell number to a certain carrier.

TravisO
A: 

http://forums.wirelessadvisor.com/general-wireless-discussion/5974-how-can-you-determine-carrier-phone.html

OscarRyz
Let's see here, the number 1 results was my question; imagine that. None of the others had anything at all to do with my question.
Chris Lively
Some of the links on the wirelessadvisor site didn't work. Of the ones that did none handled number portability.
Chris Lively
A: 

What I do is just screenscrape off a website that does a 'whois' on the number

What website do you scrape?
anarkhos
+1  A: 

You should note that the way to figure out which carrier a number belongs to will be country-specific (though, some countries might use the same scheme, but I'm not sure - I've worked with both the norwegian and swedish portability databases and they're quite different api-wize - and require vpn + authentication).

The information is, at least here, not available to the public - I've seen service providers, network operators and information providers (as in yellow pages) that have access.

But otoh, wouldn't a proper sms gateway service do this for you?

Thanks. Although an sms gateway service would work, there is a fee involved...
Chris Lively
+2  A: 

Data24-7 offers an API for looking up the carrier for wireless phone numbers. It also returns the email addresses to send SMS and MMS messages to the phone. It's not free, it's $12 per month and $0.006 per lookup.

The link is: http://www.data24-7.com

Marc
Chris Lively
Yes, if somebody switches their phone service to a new provider, it should be updated in our service within a few hours.
Marc