Lookup: Carrier and caller name
| cURL | Python | Node | Ruby |cURL
Number Lookup is a service offered by the Telnyx SDK that allows the user to look up a phone number and retrieve information regarding that phone number such as:- Carrier name
- Type of phone (landline, mobile, etc.)
- Name and business associated with the number
Basic number lookup example
Running the following code will perform a number lookup on the given number parameter.Don’t forget to update
YOUR_API_KEY here.After pasting the above content, Kindly check and remove any new line added
After pasting the above content, Kindly check and remove any new line added
Retrieving caller name and carrier
Users may also specify the type of the request in order to receive information about the carrier and caller-name. Note that the request will always return the same object, however if the caller-name and carrier options are not sent, the return values will be null. An example of adding both these parameters to the request is shown below:After pasting the above content, Kindly check and remove any new line added
Python
Number Lookup is a serviceis a service offered by the Telnyx SDK that allows the user to look up a phone number and retrieve information regarding that phone number such as:- Carrier name
- Type of phone (landline, mobile, etc.)
- Name and business associated with the number
Basic number lookup example
Running the following code will perform a number lookup on the given number parameter using Python.After pasting the above content, Kindly check and remove any new line added
After pasting the above content, Kindly check and remove any new line added
Retrieving caller name and carrier
Users may also specify the type of the request in order to receive information about the carrier and caller-name. Note that the request will always return the same object, however if the caller-name and carrier options are not sent, the return values will be null.Node
Number Lookup is a serviceoffered by the Telnyx SDK that allows the user to look up a phone number and retrieve information regarding that phone number such as:- Carrier name
- Type of phone (landline, mobile, etc.)
- Name and business associated with the number
Basic number lookup example
Running the following code will perform a number lookup on the given number parameter.After pasting the above content, Kindly check and remove any new line added
After pasting the above content, Kindly check and remove any new line added
Retrieving caller name and carrier
Users may also specify the type of the request in order to receive information about the carrier and caller-name. Note that the request will always return the same object, however if the caller-name and carrier options are not sent, the return values will be null. An example request for these options is shown below:After pasting the above content, Kindly check and remove any new line added
Ruby
Number Lookup is a service is a service offered by the Telnyx SDK that allows the user to look up a phone number and retrieve information regarding that phone number such as:- Carrier name
- Type of phone (landline, mobile, etc.)
- Name and business associated with the number
Basic number lookup example
Running the following code will perform a number lookup on the given number parameter.After pasting the above content, Kindly check and remove any new line added
After pasting the above content, Kindly check and remove any new line added