Hacker News new | ask | show | jobs
by rsync 1261 days ago
Can someone post an example of a premium rate number ?

I am curious if the Twilio 'lookup' API call will identify it as such:

  /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 '.'
... which would be a very fast and simple way to validate a number before you (or your process) use it ...