cURL
curl --request POST \ --url https://api.vida.dev/api/v2/phoneNumber/search/local/prefix \ --header 'Content-Type: application/json' \ --data '{ "prefix": "216", "country": "US", "strict": true }'
{ "success": true, "message": "Success" }
Search for a phone number based on prefix.
Vida API Token
Prefix you are searching for
"216"
Country used for the search
"US"
If strict search is to be used. If no results found, will other numbers in same general area.
Successfully retrieved available numbers
true
"Success"