Sim Swap Detection
4 min
SIM Swap Detection API
The SIM Swap API detects whether a SIM swap has occurred on a mobile number, helping identify potential account takeover attempts. It returns real-time information, including the timestamp of the most recent SIM swap event, as reported by the Mobile Network Operator (MNO).
This API can be integrated directly into fraud detection and customer verification workflows, enabling businesses to assess SIM swap risk during authentication or onboarding. A SIM swap status check is performed with each request, allowing for immediate risk evaluation and response.
Country Coverage for SIM Swap Detection
The SIM Swap Detection service is currently available in the following countries:
- United States
- United Kingdom
- Germany
- France
- Canada
Sim Swap Detection
* Verification Outcome – Risk signals
* Consumer Consent – N/A
* Mandatory Input – Phone number
* Verifies – Phone number
* Returned Data - Sim swap date and Risk indicator
POST
https://idu-test.datazoo.com/api/v2/verify
Header Parameters
- AuthorizationstringrequiredDescription
Body Parameters
- dataobjectrequiredDescription
- countryCodestringrequiredDescription
- servicearrayrequiredDescription
- clientReferencestringDescription
- identityVariablesobjectrequiredDescription
- phoneNostringrequiredDescription
Response
- countryCodestringDescription
- clientReferencestringDescription
- reportingReferencestringDescription
- validationErrorsstringDescription
- matchStatusstringDescription
- searchErrorMessagestringDescription
- safeHarbourbooleanDescription
- searchStatusstringDescription
- serviceResponsesobjectDescription
- statusintegerDescription
- sourceStatusstringDescription
- errorMessagestringDescription
- identityVerifiedbooleanDescription
- safeHarbourScorestringDescription
- nameMatchScorestringDescription
- addressMatchScorestringDescription
- verificationsobjectDescription
- phoneNoboolean
- returnedDataobjectDescription
- Sim Swap Detectionobject
- SimSwapDatestring
- SimSwapRiskstring
- remarksarrayDescription
curl
curl --location 'https://idu-test.datazoo.com/api/v2/verify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImMtbVZlMl9KRFhMcnkzaEhQWEN4TyJ9.eyJ1aWQiOiIzMDMiLCJvaWQiOiI2MiIsImlzcyI6Imh0dHBzOi8vZGF0YXpvby10ZXN0LnVzLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHwzMDMiLCJhdWQiOiJodHRwczovL2t5Yy10ZXN0LmRhdGF6b28uY29tIiwiaWF0IjoxNzQ5MTY2OTgyLCJleHAiOjE3NDkyMDI5ODIsImd0eSI6InBhc3N3b3JkIiwiYXpwIjoiSWxVdURJNTF1QXpuVnE2VGVoRXAyOXBrbEhBSjFtYnkifQ.LbyT0pbe6IKlonH9PRm0sV-hxofZfoFgG57r2urDTN_joZvMGWquJntnpZ6DMj2DSgg9op5A8IH0K-tRBTey87dub_-95GvIRvdEE8FhnyfCKVPvOEtK3MPLmgXpC5o5ivv9ORWrum9TnII8CEQ97RlqZPdLGMDjgOhJbQrSx6x1CTWsBK8BnfBH0kcCBu5awhwUlGh_b8sw6gqSmztrZWt326iGymqQwu59Te4UKCMBqdIqm8mFRmpH9kkRodPh81teYDg-3GA5jVk8fWMay8tTkDAZQwtgBrhJkFEiFhIsbpX50XCC--mjFTfT-zZElraIXnIZkqi5SEjecwPBWQ' \
--data '{
"countryCode": "Global",
"service": [
"Sim Swap Detection"
],
"clientReference": "Test_0001",
"identityVariables": {
"phoneNo": "12042028575"
}
}'200
{
"countryCode": "Global",
"clientReference": "Test_0001",
"reportingReference": "DZ-e07d35f2-13b0-4e49-a380-c614d305de7c",
"matchStatus": "No Match",
"searchErrorMessage": "",
"safeHarbour": false,
"searchStatus": "Successful",
"serviceResponses": {
"Sim Swap Detection": {
"status": 0,
"sourceStatus": "Successful",
"errorMessage": "",
"identityVerified": false,
"safeHarbourScore": "none",
"nameMatchScore": "N/A",
"addressMatchScore": "N/A",
"verifications": {
"phoneNo": true
},
"returnedData": {
"Sim Swap Detection": {
"SimSwapDate": "2024-12-14 23:12:59 UTC",
"SimSwapRisk": "Medium Risk"
}
}
}
},
"remarks": []
}404
{
"message": "Ain't no cake like that."
}
Change History
Added
Last updated - 6 June, 2025