Skip to main content
The get_timezone_info tool returns timezone and location information for North American phone numbers. Use this to determine local time before calling.

When to Use

  • Determining the local time at a phone number’s location
  • Planning call schedules across multiple time zones
  • Ensuring calls are made during appropriate hours

Parameters

phoneNumbers
string[]
required
List of 10-digit North American phone numbers (e.g., ["5039367187", "2125551234"]).
overwriteTodaysTime
string
Optional ISO 8601 datetime to use instead of current time for DST calculations.
loginId
string
API key. Only required if not provided via the x-dncscrub-api-key HTTP header.

Response

success
boolean
Whether the API call succeeded.
results
array
Array of results, one per phone number.
errorCode
string
Machine-readable error code (when failed).
errorMessage
string
Human-readable error description (when failed).

Examples

{
  "phoneNumbers": ["5039367187", "2125551234"]
}

Usage Notes

  • Batch multiple numbers in a single request for efficiency
  • Use utcOffsetMinutes for programmatic time calculations
  • DST dates help plan for time changes
  • For real-time “can I call now?” checks, use is_time_legal_to_call instead