
Twilio CNAM lookup is a powerful tool for businesses to identify and verify caller information. It allows you to look up the name associated with a phone number, helping you to make informed decisions about incoming calls.
Twilio's CNAM lookup service is particularly useful for businesses that receive a high volume of calls, as it can help them to identify and block spam or unwanted calls. With this service, you can also verify the authenticity of calls and reduce the risk of phishing or other types of scams.
By using Twilio's CNAM lookup service, you can gain valuable insights into the identity of your callers and make more informed decisions about how to handle their calls.
For another approach, see: Twilio Verify Alternatives
Twilio CNAM Lookup Basics
Twilio's Lookup feature is a powerful tool for retrieving caller information.
You can use Twilio Marketplace Add-ons with Lookup to retrieve information from a multitude of 3rd party data sources.
To add Lookup supported Add-ons, visit the Twilio Console and enable the Add-on. Make sure 'Lookups' is selected in its configuration.
Lookup Add-ons can be used to pass additional parameters to the Add-on at request time.
You can pass additional data to the Add-on using the format AddOns.addon_name.param_name.
Some Add-ons may require additional parameters, so be sure to check the Add-on documentation in the Twilio Console for more information.
A fresh viewpoint: Twilio Data Breach
Caller Information
Caller Information is sourced through CNAM, a database that provides caller name information for phone numbers owned by carriers in the US. This means that not all phone numbers will have available caller name information.
The CNAM database returns additional properties if you request caller name in your GET request, including the owner's name, whether the caller is a business or consumer, and an error code if any.
Here are the specific properties returned by the CNAM database:
Caller name lookups for US numbers are billed per lookup, even if data is not available.
Query Parameters
Query Parameters are used to specify the phone number you want information about and the types of information you'd like.
You can specify the ISO country code of the phone number to fetch, especially if the phone number is provided in a national format.
The type of information to return can be carrier or caller-name, and you can specify both by adding the parameter twice.
You can also invoke multiple Add-ons by specifying their unique_name, and each Add-on can have its own data specific to its invocation.
The name of the phone number's owner is an optional parameter, and if it's null, it means the information was not available.
Curious to learn more? Check out: Twilio Verify Phone Number
Caller Name Information
Caller Name Information is sourced through CNAM and only available for phone numbers owned by carriers in the US. This means if you're looking up a number from outside the US, you won't get any caller name information.
The additional properties returned when requesting caller name information include the caller's name and type. The caller's name is a string indicating the name of the owner of the phone number, while the caller type is a string indicating whether the caller is a business or consumer.
Here are the possible values for the caller type:
Caller name lookups for US numbers are billed per lookup, even if data is not available. Requesting caller name lookups for non-US numbers will return null values and will not be billed.
Expand your knowledge: Twilio Test Numbers
Carrier and Marketplace Information
To access carrier information for a Canadian phone number, you'll need special approval. This is because querying a Canada phone number without access will return a 60601 error.
Suggestion: Twilio Virtual Phone Number

Toll free numbers, on the other hand, don't return carrier data, but will still give you a valid HTTP response.
The following properties are returned when you request carrier information in your GET request:
Marketplace Add-ons and Lookup
You can use Twilio Marketplace Add-ons with Lookup to retrieve information from a multitude of 3rd party data sources.
Lookup supports Twilio Marketplace Add-ons, which enable you to add additional functionality to your requests.
To add a supported Add-on, visit the Twilio Console and enable the Add-on, then select 'Lookups' in its configuration.
You can pass additional parameters to the Add-on(s) by using the format AddOns.addon_name.param_name.
This allows you to pass additional data to the Add-on at request time.
Here's an example of how you might use this format: AddOns.addon_name.param_name.
See the Add-on documentation in the Console to identify if the Add-on requires additional parameters.
For another approach, see: Twilio - Sms/mms-svr
Carrier Information
Carrier information is a crucial aspect of understanding phone numbers, and it's not always straightforward to obtain. Access to Canada carrier information requires special approval, so be sure to check the support article for more information.
Consider reading: Twilio Phone Carrier

If you're querying a Canada phone number without access, you'll get a 60601 error. On the other hand, toll-free numbers will return a valid HTTP response, but no carrier data.
The following properties are returned when you request carrier information:
Featured Images: pexels.com


