There's one missing piece in that article, and it's the CNAM database (US only). CNAM is the database that carriers use to give you alphanumeric caller ID ("SMITH JOHN" instead of "+1 (555) 123-4567"). Many carriers don't display this data as far as I believe, but most of them make it available. Querying that database isn't free, but you could probably find a way to do it for a few hundred numbers relatively cheaply.…
"Querying that database isn't free, but you could probably find a way to do it for a few hundred numbers relatively cheaply." /usr/local/bin/curl -s -X GET "https://lookups.twilio.com/v1/PhoneNumbers/$number?Type=carrier&Type=caller-name" -u $accountsid:$authtoken | /usr/local/bin/jq '.' I don't even know what it costs ... maybe a penny per lookup ? I forget ... It also shows carrier and whether it is a mobile or lan…
$0.01/lookup: https://www.twilio.com/en-us/trusted-activation/pricing/look...