4 ms·
Update for anyone who finds this thread: Both Twilio and Plivo offer self-service APIs to find out which carrier a US number is routed to. Query for the source
by troydavis 4y ago
Update for anyone who finds this thread: Both Twilio and Plivo offer self-service APIs to find out which carrier a US number is routed to. Query for the source number of an SMS spam or the number that a robocall tells you to call back on, then email your abuse report to the carrier.
For Twilio: Per https://www.twilio.com/docs/lookup/v2-api/line-type-intelligence https://www.twilio.com/docs/lookup/v2-api/line-type-intellig..., include the query parameter "Fields=line_type_intelligence". That param will make the API response populate the key "CarrierName".
For Plivo: As noted in another reply, Plivo's Lookup API returns carrier info. Per https://www.plivo.com/docs/lookup/api/response#response-examples https://www.plivo.com/docs/lookup/api/response#response-exam..., responses include the carrier name by default.