I'm trying to implement twilio's lookup feature to find out whether the phone number type is landline or not. Is it free to use or is it a paid service. I've done some research but couldn't see the difference between twilio's lookup API and the plugins twilio provided (which by the way are paid)
require('dotenv').config();
const client = require('twilio')();
client.lookups.phoneNumbers('+18189464876')
.fetch({ type: ['carrier'] })
.then(phone_number => {
console.log(phone_number.carrier) // All of the carrier info.
console.log(phone_number.carrier.name) // Just the carrier name.
});
You can find the pricing details of this service here .
From what I understand, you are looking for the "Line Type Intelligence" feature, which is, as of today, $0.008 per request.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.