Lookup
Improve your message deliverability with Twilio Lookup. You can validate and identify phone number types and carriers, format numbers for local standards, assess risks, verify ownership, and ensure compliance with industry best practices. Reach the right recipients while maintaining accuracy and security.
Take the next steps with Lookup
const accountSid = process.env.TWILIO_ACCOUNT_SID;const authToken = process.env.TWILIO_AUTH_TOKEN;const client = require('twilio')(accountSid, authToken);async function fetchPhoneNumber() {const phoneNumber = await client.lookups.v2.phoneNumbers("+14159929960").fetch({ fields: "line_type_intelligence" });console.log(phoneNumber.lineTypeIntelligence);}fetchPhoneNumber();
Take the next steps with Lookup
Get started
Choose your programming language and dive into Twilio Lookup Quickstart.
Use Lookup data packages to get phone number information.
Use cases
- Filter out VoIP numbers: Detect VoIP phone numbers, often associated with bots, before sending SMS messages.
- Filter out landline numbers: Identify landline phone numbers to prevent undeliverable SMS messages and avoid unnecessary delivery costs.
- Validate phone number ownership: Verify the ownership of a mobile phone number.
- Avoid Telephone Consumer Protection Act (TCPA) violation fees: Verify whether the current owner of a phone number is the same as the previous owner.
- Detect SIM swaps: Detect potential fraud by identifying SIM swaps before sending one-time passwords (OTPs).
Build your App
Learn how to build secure login systems with Twilio Verify and Lookup.
Related products
Get a comprehensive solution to cut costs, increase OTP conversions, and reduce fraud risk.
Product documentationIncrease deliverability and reduce undeliverable messages.
Product documentationIncrease deliverability and reduce undeliverable voice calls.
Product documentation