Skip to contentSkip to navigationSkip to topbar
On this page

Lookup SIM Swap Overview


(information)

Info

Lookup SIM Swap is currently in Private Beta . Request access now.(link takes you to an external page)


What is SIM swap fraud?

what-is-sim-swap-fraud page anchor

SIM swap fraud occurs when a scammer hijacks a victim's mobile phone number in order to take over their online accounts. To hijack a mobile phone number, the scammer will typically socially engineer(link takes you to an external page) a support agent at a mobile carrier, and port the victim's phone number to a SIM card that they control. After the SIM is activated, the scammer is able to receive the victim's texts and phone calls. They then begin to access their online accounts by going through account recovery flows that rely on SMS one-time passcodes or knowledge-based authentication, which the scammer has already collected answers for. These types of attacks can cause severe financial impact on an individual and unfortunately have been on the rise. Based on a study from Action Fraud(link takes you to an external page), there has been a 400% rise in the number of SIM swap fraud cases in the United Kingdom during the last five years. With many well-known individuals being SIM swapped, you may have seen it in the news.

Even Europol(link takes you to an external page) has printed this notice to raise awareness on the scam:

Infographic on SIM Swapping, details of infographic listed below.sim_swap object, which has information about the last SIM change associated with the mobile number:

1
{
2
"calling_country_code": "44",
3
"country_code": "GB",
4
"phone_number": "+447772000001",
5
"national_format": "07772 000001",
6
"valid": true,
7
"validation_errors": null,
8
"caller_name": null,
9
"sim_swap": {
10
"last_sim_swap": {
11
"last_sim_swap_date": "2020-04-27T10:18:50Z",
12
"swapped_period": "PT15282H33M44S",
13
"swapped_in_period": false
14
},
15
"carrier_name": "Vodafone UK",
16
"mobile_country_code": "276",
17
"mobile_network_code": "02",
18
"error_code": null
19
},
20
"call_forwarding": null,
21
"line_type_intelligence": null,
22
"url": "https://lookups.dublin.ie1.twilio.com/v2/PhoneNumbers/+447772000001"
23
}
(information)

Info

The example request above uses the Ireland region (IE1). Check out Using Lookup with Twilio Regions for more information about how to select the Twilio Region that your request is processed out of. Lookup fully supports data residency using the IE1 region when making SIM swap requests to EU countries, as well as the United Kingdom.

The description of the fields returned in the last_sim_swap object is provided in the API docs, but it's important to understand the swapped_period and swapped_in_period fields. Let's unpack that.

How to use the last_sim_swap fields

how-to-use-the-last_sim_swap-fields page anchor

Carriers provide their data to Lookup SIM Swap in a variety of ways. For example, not all countries or carriers will return the exact SIM swap date, but Lookup SIM Swap will return it as the last_sim_swap_date field when it's available. To standardize all these different methods of conveying SIM swap information, we use the fields swapped_period and swapped_in_period. Both of these values together allow you to answer a question like, "Was the SIM for this phone number swapped in the last 24 hours?" This is done by configuring the swapped_period field to hold the trailing time period that you're interested in knowing if a SIM has been swapped, for example 24 hours, and using the swapped_in_period field to indicate yes or no. Find more information about the field descriptions from the API docs.

(information)

Info

The swapped_period field is configured one-time during onboarding and cannot currently be configured via the API. To update this field, contact Support(link takes you to an external page).

Onboarding to Lookup SIM Swap

onboarding-to-lookup-sim-swap page anchor

To access Lookup SIM Swap, apply for use case approval from the major carriers in the country that you want to make lookups in. Some carriers may require that you have specific disclosures in your terms of service or privacy policy. Twilio will guide you through this process and submit your application(s) on your behalf. Carrier approvals can take between 2-4 weeks after which your account will be configured and you'll be off and running.

(warning)

Warning

For the Beta, we are supporting countries in Europe, Latin America, and North America in the table below. However, we may not have complete coverage from all the major carriers in a given country. Pricing also varies based on country. Please reach out to us(link takes you to an external page) to our latest coverage, which is continually expanding, as well as detailed pricing information.

Europe: **

  • France
  • Germany
  • Italy
  • Netherlands
  • Spain
  • United Kingdom**

Latin America:

  • Brazil
  • Colombia

North America:

  • Canada
  • United States
(warning)

Warning

SIM Swap coverage is dependent on data from the major carriers in each country. Countries listed above may yet include all their major carriers at this time.

In addition to SIM Swap, we are also offering our Call Forwarding package. This tells you if a user has configured their mobile phone number, with their carrier, to forward their calls to another phone number. You can use this to detect a potential compromise of a user's voice channel, which is useful prior to sending a voice one-time passcode or critical outbound voice communication. This feature is only available in the United Kingdom supporting major carriers; it also requires carrier pre-approval prior to use.