Skip to main content
Number Lookup allows you to validate phone numbers and retrieve carrier information before sending messages. This helps you:
  • Validate numbers before adding them to your contact list
  • Identify line types (mobile, landline, VoIP) for better channel selection
  • Get carrier information for cost estimation and fraud prevention
  • Determine available channels (SMS, WhatsApp) for each number

API Call

Use the /v1/introspect/phone endpoint to look up phone number information.

Request

Response

Response Fields

SDK Usage

TypeScript

Python

Line Types

The lineType field indicates the type of phone line:

Available Channels

The availableChannels array is determined dynamically based on the line type:
Use the availableChannels array to determine which messaging channels you can use for each number. If a channel is not in the array, messages to that channel will fail.
If availableChannels is empty, the number cannot receive any messages. This typically happens with landline numbers or invalid numbers.

Use Cases

Pre-send Validation

Validate numbers before sending messages to reduce failed deliveries:

Channel Selection

Choose the best channel based on line type:

Fraud Prevention

Identify potentially fraudulent numbers by checking line type:

Pricing

Number lookup requests are billed separately from messaging. See our pricing page for current rates.
Lookup results are cached for 24 hours. Subsequent lookups for the same number within this period will use the cached result.

Error Handling

Invalid Phone Number Format

Rate Limit Exceeded

Always include proper error handling in your integration to gracefully handle API errors.