Identify local-friendly number formats, reduce undelivered messages, and protect from spam and fraud.
curl -XGET "https://lookups.twilio.com/v1/PhoneNumbers/6156?Type=carrier&Type=caller-name" -u "{AccountSid}:{AuthToken}"{
"country_code": "US",
"phone_number": "+14157012311",
"national_format": "(415) 701-2311",
"url": "https://lookups.twilio.com/v1/PhoneNumber/+14157012311",
"caller_name": {
"caller_name": "SAN FRANCISCO TRANSIT - BUS LI",
"caller_type": "BUSINESS",
"error_code": null,
}, "carrier": {
"type": "landline",
"error_code": null,
"mobile_network_code": null,
"mobile_country_code": null,
"name": "Pacific Bell"
}}{
"status": ,
"more_info": "",
"code": ,
"message":
}Format international numbers and catch incorrect numbers
Get the Caller ID Name (CNAM) for a phone number
Know which carrier is connected to a user's number
Determine if a number is a landline, VoIP, or mobile
Systematically identify and adjust international phone numbers into a recognizable format.
Numbers can be written in many formats. For example, 55-115525-6325 also can be written as (11) 5525-6325 (national format) or +551155256325 (E.164 format). Ensure that the number selected is the most recognizable to locals by looking up the national format.

Identify entries in a phone number database that don't follow standard number structure.
When users input their numbers online, it opens the door to erroneous inputs in a database. Check every number before calling and sending messages to numbers that are too short [3032], too long [303-201-20201], and/or include letters or special characters.

Flag numbers from carriers associated with fraud and apply additional identity checks, like validating a user with a security code sent to their phone.
While phone numbers help businesses identify end users, the fact is numbers are very easy to acquire from some carriers. Anyone can obtain multiple phone numbers from a free online provider, enabling them to create fake profiles to defraud or spam a business. To address this challenge, businesses can identify the carrier behind the phone number. This way businesses can require additional identity authentication for carriers associated with higher fraud instances for $0.005 per lookup.

Recognize when to use an alternative delivery method to successfully send communications.
Some number types don't accept all communications. For example, most landline numbers and many VoIP numbers don't accept SMS. Identify which kind of communications users can accept, based on their number type. This allows businesses to optimally decide whether to send voice or text communications for $0.005 per lookup.

Get the name associated with a phone number to set your calls and messages off on the right foot.
Many local phone numbers in the U.S. register with a central Caller ID Name (CNAM) database. This database contains identity information about the business or person associated with the number. Use CNAM Lookup to programmatically return that identity information for each phone number. The calls you make and messages you send are more informed so you don’t get bogged down with upfront questions.

Know details about the person or business behind a phone number to make your calls and messages more effective.
Add-ons for Lookup let you do more with the Lookup API using pre-integrated partner technologies to return information associated with a phone number.
Reduce spam or fraud by retrieving threat scores for phone numbers. Enhance contact records with detailed demographic information about people and businesses. See if the owner of a number has changed before you send a message. Browse the Twilio Marketplace for an Add-on that’s best suited to your use case.

Pay-as-you-go. No contracts or upfront costs.
Use valid, local-friendly numbers.
Optimize delivery and protect from spam/fraud.
Know the name of the person you’re calling or messaging.
Start today with a free trial account and be up and running in less than 5 minutes.