Skip to content
CloudVNO

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

ParameterTypeDescription
area_codestring3-digit US area code
containsstringPattern to match (e.g., 867-5309)
sms_enabledbooleanFilter to SMS-capable numbers
mms_enabledbooleanFilter to MMS-capable numbers
voice_enabledbooleanFilter to voice-capable numbers
exclude_all_address_requiredbooleanExclude numbers requiring address verification
in_regionstringState/region abbreviation (US)
in_postal_codestringPostal 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"
    }
  ]
}