Search Available Numbers
Search for available phone numbers in a specific country.
GET
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
x-workspace-idstringrequiredWorkspace identifier for the API.
Query Parameters
countrystringrequiredCountry code to search for numbers (e.g., "US", "CA", "AU", "GB").
typestringrequiredType of phone number. Options: "local", "tollFree", "mobile". Not required for AU.
containsstringSearch for numbers containing specific digits or patterns.
limitnumberMaximum number of results to return.
Response Fields
numbersarrayArray of available phone numbers.
phoneNumberstringThe phone number in E.164 format.
friendlyNamestringA human-readable formatted version of the number.
localitystringCity or locality associated with the number.
regionstringState or region associated with the number.
filtersobjectAvailable filter options for the country.
supportedarrayList of supported filter types for the selected country.
{
"numbers": [
{
"phoneNumber": "+14155551234",
"friendlyName": "(415) 555-1234",
"locality": "San Francisco",
"region": "CA"
},
{
"phoneNumber": "+14155555678",
"friendlyName": "(415) 555-5678",
"locality": "San Francisco",
"region": "CA"
}
],
"filters": {
"supported": ["contains", "areaCode"]
}
}