Skip to content

Comment on Send text messages for free using Pythonparent

Comments

Twilio has an API to identify the provider. https://www.twilio.com/docs/lookup/api

Still costs money, but if you're sending a lot of messages, this would substantially reduce the costs.

"Twilio has an API to identify the provider ..."

  curl -s -X GET "https://lookups.twilio.com/v1/PhoneNumbers/$number?Type=carrier&Type=caller-name" -u $accountsid:$authtoken | /usr/local/bin/jq '.'

If you're sending a lot of messages through one of those, you can expect to be blocked pretty quickly unfortunately.

Just try them all...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.