Search Phone Numbers
Search for available phone numbers to provision by country, area code, number type, and capabilities.
Search Available Numbers
# Search for local US numbers in area code 415
numbers = client.available_phone_numbers("US").local.list(
area_code="415",
sms_enabled=True,
voice_enabled=True
)
for number in numbers[:5]:
print(f"{number.phone_number} — {number.locality}, {number.region}")
const numbers = await client.availablePhoneNumbers('US').local.list({
areaCode: '415',
smsEnabled: true,
});
numbers.slice(0, 5).forEach(n => console.log(n.phoneNumber));
curl "https://api.cloudvno.com/v1/available-phone-numbers/US/Local?AreaCode=415&SmsEnabled=true" \
-H "Authorization: Bearer YOUR_API_KEY"
Search Parameters
| Parameter | Type | Description |
|---|---|---|
area_code | string | 3-digit US area code |
contains | string | Pattern to match (e.g., 867-5309) |
sms_enabled | boolean | Filter to SMS-capable numbers |
mms_enabled | boolean | Filter to MMS-capable numbers |
voice_enabled | boolean | Filter to voice-capable numbers |
exclude_all_address_required | boolean | Exclude numbers requiring address verification |
in_region | string | State/region abbreviation (US) |
in_postal_code | string | Postal code |
Search by Country
# UK mobile numbers
numbers = client.available_phone_numbers("GB").mobile.list()
# German local numbers
numbers = client.available_phone_numbers("DE").local.list()
# Australian toll-free
numbers = client.available_phone_numbers("AU").toll_free.list()
Response
{
"available_phone_numbers": [
{
"phone_number": "+14155551234",
"friendly_name": "(415) 555-1234",
"region": "CA",
"locality": "San Francisco",
"capabilities": {
"voice": true,
"sms": true,
"mms": true
},
"monthly_rental_rate": "1.15"
}
]
}