get_phone_type tool returns whether a phone number is registered as residential or business. This is useful for B2B campaigns or compliance scenarios where different rules apply.
When to Use
- B2B campaigns that should only target business numbers
- Compliance scenarios where residential vs business distinction matters
- Lead qualification and routing decisions
Parameters
10-digit North American phone number to check (e.g.,
"5039367187").API key. Only required if not provided via the
x-dncscrub-api-key HTTP header.Response
Whether the API call succeeded.
The phone number checked.
R- ResidentialB- BusinessU- Unknown
Human-readable description of the type.
true if the number is residential.true if the number is a business line.Machine-readable error code (when failed).
Human-readable error description (when failed).
Examples
- Request
- Residential
- Business
Usage Notes
- Some numbers may return
U(Unknown) if classification data is not available - Business numbers may have different DNC exemptions depending on your campaign type
- Consider combining with
scrub_phone_numbersfor complete compliance checking