This is the public Twilio REST API.
curl \ -u "$API_USER:$API_PASS" \ https://lookups.twilio.com/v2/PhoneNumbers/{PhoneNumber}