Device Information Query API


API interface description

Interface method

Base URL

API

URLRequest methodContent-TypeOutput formatCharacter set
api-base-url?partner_code=xxx∂ner_key=xxxPOSTapplication/jsonJSONUTF-8

Authentication

FieldTypeMeaningRequired fieldsRemarks
partner_codeStringPartner identifyYesProvided by TD
partner_keyStringPartner secret keyYesProvided by TD

Request

FieldTypeMeaningRequired fieldsRemarks
black_boxStringVouchers for access to device informationYesObtain from SDK
behaviorStringThe Behavior data payload returned by the collect method of the Terminal TDBehavior SDK.Not necessaryObtain through SDK

Example Request

{
  "black_box": "aGPH1658920283672ropYaFxT7",
  "behavior": "O-vbT-U9ZE2EhrqwgdnwicS0ckarzkkXH4mutX_WrYYujof29benGjFu29hzCxziQjnYGYHmia7QcKNwOfn8Pk57JhMJj4ehl58fFZvyM2VIdm9uVRRYj_A7fiWSbdZPwyVDFlcm1APji3lnb_DTApq9I5c6n3HqRsGLkx_rG_0IXjBRUR3izPjLr-kz7jDqGyoXmrvRfvPIS0TwdjWYa677OHoUr_-2RtAX5ljkknSfMxZQ36rzYN_1RH1ZDyu7akDSg2Pg9AxjYWOaMsxVu6vXWCPwGlbgHyu8h06PO87uoQ3-iYAYr15zcZY-mSsbPi-X8cxH4FlN2b0BoqfoFjWCnCFOR5nRmsEKyNfGsQH-ph9YPUsJVZPNdZZwow_5tWqENMO82yMIc-G2PxZTQXkwQA_9xGtuvsmy6loxYNB_a2qJa3HMHGkoxb7vb1flIaYgCTG2zPRnUWCF7ujBMT6TJq-V0DOtSzmNEBbHfQ7vC4lWGs51shpynfgnJ6bW8FGlrq5veqpFgnGKkJNdONz-8x-TvOs6n17KHDXLVUuXppNdfkeWUY3eRTtrjd_MxYcKN_eFCKn0HezOYURQ9WyP8szoDA-zE3OKj_cUWAwvIKANuV8CHWvWhB6T7PO9y1HlIYJynNqGjwI4jdjIQ6A6HeFqK2wXXNrCbxyCHfz3EeaBDVeWxFcbBnDggd7W"
}

Response

FieldTypeMeaningOutput situationRemarks
codeIntegerinterface response status codesAllRefer to the status code description
messageStringstatus InfoAllSpecific reasons for an exception
sequence_idStringunique Identifier IDAllA unique identifier for each request-response
device_idStringdevice unique IDAllUnique identification of the device
device_osStringdevice typeAllAndroid、Harmony、iOS、Web
channelStringchannelAllchannel
device_detailObjectdevice detailsAllPlease refer to the description of the device details
ip_locationObjectlocation information corresponding to the IP of the deviceAllPlease refer to the IP location information description
device_risk_scoreIntegerdevice risk scoreAllRange 0 - 10000,supports customization. For documentation, refer to risk score
device_risk_labelArraydevice risk label listAllPlease refer to the description of the device risk label
device_risk_toolsObjectdevice risk toolsAllPlease refer to the description of the device risk tools
device_history_risk_labelArraydevice history risk label listAllPlease refer to the description of the device history risk labels
vpn_true_ip_locationObjectlocation information corresponding to the VPN real IP of the deviceAllPlease refer to the VPN True IP location information description
behavior_detailObjectBehavior Collection Data DetailsOutput When the behavior parameter is passedReference below Behavior collection information

Device Details

There are differences in the device fields corresponding to different device types and the following lists the field descriptions for the different device types

Android

FieldTypeMeaningRemarks
app_versionStringapp versionsE.g. "4.1.6"
system_versionStringandroid system versionsE.g. "6.0.1"
api_versionStringandroid API versionsE.g. "23"
fp_versionStringSDK versionsE.g. "4.1.6"
modelStringdevice modelE.g. "2014811"
brandStringdevice BrandE.g. "Xiaomi"
device_nameStringdevice nameE.g. "HM2014811"
network_typeStringnetwork typeE.g. "2g"、"3g"、"4g"、"5g"、"wifi"、"mobile"、"bluetooth_tethering"、"unknown"
ipStringIP addressE.g. "123.157.153.130"
time_zoneStringtime zoneE.g. "UTC+08:00"
startup_timeLongboot timeE.g. 1741660150575
up_timeLonguptimeE.g. "568273951"
charge_stateStringcharging statusE.g. "charging"、"full"、"not_charging"、"discharging"、"unknown"
battery_levelIntegerelectrical quantitiesRange 0 - 100
screen_resolutionStringscreen resolutionWidth x Height,Example:"720x1280"
screen_brightnessIntegerscreen brightnessRange -1 - 256
total_memoryLongtotal memory sizeBytes
available_memoryLongavailable memory sizeBytes
total_storageLongtotal storage sizeBytes
available_storageLongavailable storage sizeBytes
latitudeDoublelatitudeAccuracy to 6 decimal places, Example 30.282331
longitudeDoublelongitudeAccuracy to 6 decimal places, Example 120.011395
accuracyDoubleGPS Horizontal Positioning Accuracy (Error Radius, Unit: m)E.g. 15.0
carrierStringcarrierE.g. "Viettel"
bssidStringbssidE.g. "00:1a:8c:a0:69:0a"
wifi_ipStringwifi ipE.g. "10.57.3.135"
wifi_listStringwifi listE.g. "[["38:17:c3:c0:0a:53","Test-Firewall",-49]]"
device_svnStringdevice svnE.g. "07"
hardwareStringhardwareE.g. "qcom"
dns_addressStringdns addressE.g. "211.137.32.178"
productStringproductE.g. "A37T"
hostStringhostE.g. "qh-miui-ota-offline07"
sim_operatorStringsim operatorE.g. "Viettel,VinaPhone"
ssidStringssidE.g. "xiaoming 的 wifi"
vpn_ipStringvpn ipE.g. "10.251.37.229"
cell_ipStringcell ipE.g. "10.3.4.9"
current_timeLongcurrent timeE.g. "1687764437374"
package_nameStringpackage nameE.g. "cn.tongdun. android&3.0.0"
languageStringlanguageE.g. "zh"
android_idStringandroid idE.g. "952b0b1edda80b44"
cpu_hardwareStringcpu hardwareE.g. "ARMv7 Processor rev 0 (v7l)"
cpu_typeStringcpu typeE.g. "Qualcomm Technologies"
baseband_versionStringbaseband versionE.g. "MPSS.DPM.1.0.c7. 18-00023"
mncStringmobile network codeE.g. "01"
mccStringmobile country codeE.g. "460"
installed_packagesStringinstalled packagesE.g. "[{\"package\":\"com.miui.screenrecorder\",\"name\":\"-\"},{\"package\":\"com.miui.fm\",\"name\":\"-\"}]"
running_packagesStringrunning packagesE.g. "com.xiaomi.shop"
ipv6Stringipv6E.g. "fe80::bfd7:21d8:318a:693b"
sign_md5Stringsign md5E.g. "6fb472cac420436b773a6325d4cdd7bd"
proxy_infoStringproxy infoE.g. "42.235.30.24:8080"
country_isoStringiso country codeE.g. "cn,cn"
aidStringgoogle advertising idE.g. "db13e159-1058-46fc-a4dc-4d2f8197f3af"
vpn_true_ipStringvpn true ip addressE.g. "123.157.153.130"
audio_modeIntegeraudio modeE.g. 0 - Normal mode,1 - Ringtone mode,2 - Call mode,3 - Communication mode,4 - Call screening is in progress
first_seen_atLongfirst seen atE.g. 1734342323000
app_install_timeLongapp install timeE.g. 1743587909428

iOS

FieldTypeMeaningRemarks
app_versionStringapp versionsE.g. "1.0.3"
system_versionStringios system versionsE.g. "10.2.1"
fp_versionStringSDK versionsE.g. "4.1.2"
modelStringdevice modelE.g. "iPhone 6s"
device_nameStringdevice nameE.g. "iPhone"
network_typeStringnetwork typeE.g. "2g"、"3g"、"4g"、"5g"、"wifi"、"mobile"、"bluetooth_tethering"、"unknown"
ipStringIP addressE.g. "123.157.153.130"
time_zoneStringtime zoneE.g. "UTC+08:00"
startup_timeLongboot timeE.g.1741660150575
up_timeLonguptimeE.g. 568273951
charge_stateStringcharging statusE.g. "charging"、"unplugged"、"unknown"
battery_levelIntegerelectrical quantitiesRange 0 - 100
screen_resolutionStringscreen resolutionWidth x Height,Example:"720x1280"
screen_brightnessIntegerscreen brightnessRange 0 - 100
total_memoryLongtotal memory sizeBytes
total_storageLongtotal storage sizeBytes
available_storageLongavailable storage sizeBytes
latitudeDoublelatitudeAccuracy to 6 decimal places, Example 30.282331
longitudeDoublelongitudeAccuracy to 6 decimal places, Example 120.011395
accuracyDoubleGPS Horizontal Positioning Accuracy (Error Radius, Unit: m)E.g. 15.0
current_timeStringcurrent timeE.g. "1687764437374"
cell_ipStringcell ipE.g. "10.5.2.39"
wifi_ipStringwifi ipE.g. "192.168.10.111"
languageStringlanguageE.g. "en"
carrierStringcarrierE.g. "Viettel,VinaPhone"
mncStringmobile network codeE.g. "0"
mccStringmobile country codeE.g. "460"
country_isoStringiso country codeE.g. "cn"
bundle_idStringbundle idE.g. "cn.fraudmetrix. FMDeviceManager"
proxy_infoStringproxy infoE.g. "10.2.3.4:8080"
ssidStringssidE.g. "TP-LINK_03FE"
bssidStringbssidE.g. "80:2f:3e:dd:03:fe"
dns_addressStringdns addressE.g. "192.168.10.1"
vpn_ipStringvpn ipE.g. "10.32.3.98"
ipv6Stringipv6E.g. "fe08:393ed3"
idfaStringidentifier for dvertisersE.g. "5D26C201-7FEF-44A6-B57A-1D10E2E2EC63"
idfvStringIdentifier for VendorE.g. "C767FCBE-6135-4F23-82EB-BBF35E493CDF"
issue_regionStringissue regionE.g. "CH/A"
vpn_true_ipStringvpn true ip addressE.g. "123.157.153.13
microphone_use_stateIntegermicrophone use stateE.g.-1: No available microphone,0: Not in a call state,1: In a call state
first_seen_atLongfirst seen atE.g. 1734342323000
app_install_timeLongapp install timeE.g. 1743587909428

Harmony

FieldTypeMeaningRemarks
fp_versionStringdevice typeE.g. "1.0.2"
screen_resolutionStringscreen resolutionE.g. "1344x2772"
current_timeLongcurrent timeE.g. 1711594081876
startup_timeLongboot timeE.g. 1741660150575
up_timeLongup timeE.g. 3503141
time_zoneStringtime zoneE.g. UTC+08:00
languageStringlanguageE.g. "zh-Hans"
charge_stateStringcharging statusE.g. "unknown"、"charging"、"unplugged、"unplugged"、"full"
battery_levelIntegerbattery levelE.g. 20
network_typestringnetwork typeE.g. "wifi"
total_storageLongtotal storage sizeE.g. 243041042432
available_storageLongavailable storage sizeE.g. 231078236160
cell_ipStringcell ipE.g. "10.24.207.224"
wifi_ipStringwifi ipE.g. "192.168.101.38"
vpn_ipStringvpn ipE.g. "198.18.0.1"
proxy_infostringproxy infoE.g. "10.57.241.80:8888"
device_typeStringdevice typeE.g. "phone"
brandStringdevice brandE.g. "HUAWEI"
market_nameStringmarket nameE.g. "HUAWEI Mate 40 Pro"
modelStringmodelE.g. "NON-AN00"
hardwareStringhardwareE.g. "HN1NOAHM"
serial_noStringserial noE.g. "05b37354f0dd7f2e"
system_versionStringsystem versionE.g. "2.1.6.6(Beta2)"
api_versionStringAPI versionsE.g. "11"
udidStringudidE.g. "default"
package_namestringpackage nameE.g. "com.example.harmonyosdemo"
app_versionstringapp versionsE.g. "1.0.1"
sign_md5stringsign md5E.g. "8CC29B99116E11A24A7762539327BB566D65773CB64C1521D68E67316DE1923F"
country_isostringiso country codeE.g. "cn,-"
sim_operatorstringsim operatorE.g. "Viettel,VinaPhone"
latitudedoublelatitudeAccuracy to 6 decimal places, Example 30.282331
longitudedoublelongitudeAccuracy to 6 decimal places, Example 120.011395
ipStringIP address223.104.160.62
audio_modeIntegeraudio mode0 - Default,1 - Ringing mode,2 - Telephone mode,3 - Voice mode
first_seen_atLongfirst seen atE.g. 1734342323000
app_install_timeLongapp install timeE.g. 1743587909428

Web

FieldTypeMeaningRemarks
browser_nameStringbrowser nameE.g. "Chrome"
browser_versionStringbrowser versionE.g. "56.0.2924.87"
fp_versionStringSDK versionsE.g."3.8.5"
user_agentStringbrowser userAgentE.g. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
urlStringuniform resource locatorE.g. "file:///Users/td/Documents/td/fp/demo_web.html"
device_typeStringdevice typeE.g. "Mac"
osStringdevice operating systemE.g. "Mac OS"
ipStringip addressesE.g. "123.157.153.130"
time_zoneStringtime zoneE.g. "UTC+08:00"
screen_resolutionStringscreen resolutionWidth x Height,Example:"720x1280"
languageStringlanguageE.g. "zh-CN"
refererStringrefererE.g."http://10.57.30.164:8088/"
canvasStringcanvasE.g. "c8a8455d02d7cec9e dbe980b6b9e0ff8"
current_timeLongcurrent timeE.g. "1481694227762"
vpn_true_ipStringvpn true ip addressE.g. "123.157.153.13
latitudeDoublelatitudeAccuracy to 6 decimal places, Example 30.282331
longitudeDoublelongitudeAccuracy to 6 decimal places, Example 120.011395
first_seen_atLongfirst seen atE.g. 1734342323000

IP Location Information

FieldTypeMeaningRemarks
continentStringcontinentE.g. "North America"
countryStringcountryE.g. "The United States"
country_idStringcountry codeE.g. "US"
regionStringprovince/state/regionE.g. "Virginia"
cityStringcityE.g. "Ashburn"
accuracy_radiusDoublePositioning Error Radius Value, Unit: mE.g. 35.6001
latitudeDoubleIP latitudeE.g. 30.384272
longitudeDoubleIP longitudeE.g. 119.987002

Device Risk Label

FieldTypeApplicable platformDescriptionRemarks
abnormal_timeStringAndroid, iOS, Web,Mini programcurrent device time abnormalExcessive deviation of device times from actual times
emulatorStringAndroid, iOS, Web,Mini program,Harmonydevice is a simulatorThe device is an emulator installed on the computer
incognito_modeStringWebincognito mode
headless_modeStringWeb,Minivirtual browser
abnormal_useragentStringWeb,Mini programuseragent abnormal
debugger_detectedStringAndroid, iOS, Web,Mini(wechat)debugger is detectedDebugger is detected
hook_tool_detectedStringAndroid, iOS,Webhook tool detected
device_info_tamperedStringAndroid, iOS,Web,Mini programtampering with device parametersDevice information tampering detected
group_controlStringAndroid, iOSgroup controlUsing cloud handsets, group control devices
no_simStringAndroid, iOS、Harmonywithout sim card insertedDevice without a sim card inserted
abnormal_device_attrStringiOS, Web,Mini programdevice parameter abnormalHash check exceptions, some fields hit special values
script_temperedStringWebscript tampering
virtual_machineStringWebdevice as a virtual machineThe current device is detected as a virtual machine
local_debugStringWeblocal debuggingLocal debugging detected
adb_linkStringAndroidandroid debug bridgeMobile device connected to PC, in ADB debugging state
repackagedStringAndroid, iOSsecondary packaging
proxy_detectedStringAndroid, Harmony,iOS,Mini program(wechat、Alipay)using a proxy
rootStringAndroidroot
jail_breakStringiOSjailbreak devices
vpn_detectedStringAndroid, iOS,Web,Harmonyusing vpn
replay_attacksStringAndroid,Harmony ,iOS, Web,Mini programreplay attackThe current device information has been repeatedly requested several times
cookie_temperedStringAndroid, Harmony、iOS, Web,Mini programcookie tamperingCookie tampering on client device fingerprint
crawlerStringWeb,program(wechat)web crawler
malicious_crxStringWebmalicious extension plugins
debug_toolStringWebdebugger tools
app_multiple_runningStringAndroid,iOSapp multi opening
sys_multiple_runningStringAndroidsystem multi opening
gps_fakeStringAndroid, iOS,Mini program(wechat)virtual positioning
risk_romStringAndroidsuspected risk romROMs for non-native factory devices
camera_fakeStringAndroid, iOScamera fake
suspected_resetStringAndroid, iOSsuspected reset
short_uptimeStringAndroid, iOS,Harmonyshort uptime
screen_sharingStringAndroid, iOS,Harmony,Mini program(wechat)screen sharing
cloud_phoneStringAndroid, iOS,Mini program(wechat)cloud phone
device_callStringAndroid, iOS,Harmonydevice call
anti_association_browserStringWebanti association browser
offline_attackStringWeb,Android,iOS,Mini program(wechat)offline attack

Device Risk Tools

FieldtypeDescriptionRemarks
installed_risk_tools_typeArrayinstallation risk tool Type descriptionPlease refer to installation risk tool Type description
running_risk_tools_typeArraydescription of the type of risk tool runningPlease refer to the description of the type of risk tool running

Installation Risk Tools

FieldApplicable platformDescription
quick_macroAndroid, iOSauto click tool
cydiaAndroid, iOSCydia
agent_appAndroid, iOSagent app
more_openAndroiddouble open tool
machine_change_toolsAndroid, iOShook tools
code_receiving_platformAndroidcode receiving platform
magiskAndroidMagisk
group_control_softwareAndroidgroup control software
virtual_appAndroidVirtualApp
virtual_positioningAndroid, iOSGPS location fake
xposedAndroidXposed
game_transmissionAndroidgame transmission
game_modifierAndroid, iOSgame modifier
cloud_simulatorAndroidcloud simulator
crowdsourcing_appAndroidcrowdsourcing app
skip_adsAndroidskip ads
anti_crash_frameAndroidanti crash frame
capture_toolAndroidcapture tool
fridaAndroid, iOSfrida
troll_storeiOSTrollStore
cloud_phoneiOScloud phone
root_managerAndroidroot manager
remote_controlAndroidremote control
screen_casting_softwareAndroidscreen casting software
face_spoofingAndroidface spoofing

Running Risk Tools

FieldApplicable platformDescription
quick_macroAndroid, iOSauto click tool
machine_change_toolsiOShook tools
cydiaAndroidCydia
magiskAndroidMagisk
test_frameAndroidTestFrame
virtual_appAndroidVirtualApp
xposedAndroidXposed
capture_toolAndroidcapture tool
fridaAndroid,iOSfrida
troll_storeiOSTrollStore

Device History Risk Labels

FieldtypeDescriptionRemarks
labelStringrisk labelReference device history risk label list "f"
last_timeStringlast time13 digit timestamp

Device History Risk Label List

FieldTypeApplicable platformDescriptionRemarks
abnormal_timeStringAndroid, iOS, Web,Mini programcurrent device time abnormalExcessive deviation of device times from actual times
emulatorStringAndroid, iOS, Web,Mini program,Harmonydevice is a simulatorThe device is an emulator installed on the computer
incognito_modeStringWebincognito mode
headless_modeStringWeb,Mini programvirtual browser
abnormal_useragentStringWeb,Mini programuseragent abnormal
debugger_detectedStringAndroid, iOS, Web,Mini program(wechat)debugger is detectedDebugger is detected
hook_tool_detectedStringAndroid, iOShook tool detected
device_info_tamperedStringAndroid, Webtampering with device parametersDevice information tampering detected
group_controlStringAndroid, iOSgroup controlUsing cloud handsets, group control devices
no_simStringAndroid, iOS,Harmonywithout sim card insertedDevice without a sim card inserted
abnormal_device_attrStringiOS, Web,Mini programdevice parameter abnormalHash check exceptions, some fields hit special values
script_temperedStringWebscript tampering
virtual_machineStringWebdevice as a virtual machineThe current device is detected as a virtual machine
local_debugStringWeblocal debuggingLocal debugging detected
adb_linkStringAndroidandroid debug bridgeMobile device connected to PC, in ADB debugging state
repackagedStringAndroid, iOSsecondary packaging
proxy_detectedStringAndroid, Harmony,iOS,Mini program(wechat,Alipay)using a proxy
rootStringAndroidroot
jail_breakStringiOSjailbreak devices
vpn_detectedStringAndroid, iOS,Web,Harmonyusing vpn
replay_attacksStringAndroid,Harmony ,iOS, Web,Mini programreplay attackThe current device information has been repeatedly requested several times
cookie_temperedStringAndroid, Harmony、iOS, Web,Mini programcookie tamperingCookie tampering on client device fingerprint
crawlerStringWeb,program(wechat)web crawler
malicious_crxStringWebmalicious extension plugins
debug_toolStringWebdebugger tools
app_multiple_runningStringAndroid,iOSapp multi opening
sys_multiple_runningStringAndroidsystem multi opening
gps_fakeStringAndroid, iOS,Mini program(wechat)virtual positioning
risk_romStringAndroidsuspected risk romROMs for non-native factory devices
camera_fakeStringAndroid, iOScamera fake
suspected_resetStringAndroid, iOSsuspected reset
short_uptimeStringAndroid, iOS,Harmonyshort uptime
screen_sharingStringAndroid, iOSscreen sharing
cloud_phoneStringAndroid, iOS,Mini program(wechat)cloud phone
device_callStringAndroid, iOS,Harmonydevice call
anti_association_browserStringWebanti association browser
offline_attackStringWeb,Android,iOS,Mini program(wechat)offline attack

VPN True IP Location Information

FieldTypeMeaningRemarks
continentStringcontinentE.g. "North America"
countryStringcountryE.g. "The United States"
country_idStringcountry codeE.g. "US"
regionStringprovince/state/regionE.g. "Virginia"
cityStringcityE.g. "Ashburn"
accuracy_radiusDoublePositioning Error Radius Value, Unit: mE.g. 35.6001
latitudeDoubleIP latitudeE.g. 30.384272
longitudeDoubleIP longitudeE.g. 119.987002

Behavior collection information

FieldCategoryTypeDescriptionPlatform
scale_rage_actions_countAnomalyintNumber of times scale event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 scale events/second, count +1iOS、Android、Flutter
scroll_rage_actions_countAnomalyintNumber of times scroll event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 scroll events/second, count +1iOS、Android、Flutter
swipe_rage_actions_countAnomalyintNumber of times swipe event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 swipe events/second, count +1iOS、Android、Flutter
text_input_rage_actions_countAnomalyintNumber of times text input event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 text input events/second, count +1iOS、Android、Flutter
touch_rage_actions_countAnomalyintNumber of times touch event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 touch events/second, count +1iOS、Android、Flutter、Web
keyboard_rage_actions_countAnomalyintNumber of times keyboard event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 keyboard events/second, count +1Web
mouse_rage_actions_countAnomalyintNumber of times mouse event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 mouse events/second, count +1Web
click_rage_actions_countAnomalyintNumber of times click event speed exceeds a threshold per second, e.g., if current unit speed exceeds 5 click events/second, count +1Web
scale_total_events_countFingerintTotal number of scale eventsiOS、Android、Flutter
scroll_path_lengthFingerstring(float)Total distance of scroll events, unit: pixels, example:"100.0"iOS、Android、Flutter
swipe_path_lengthFingerstring(float)Total distance of swipe events, unit: pixels, example:"100.0"iOS、Android、Flutter
swipe_total_events_countFingerintTotal number of swipe eventsiOS、Android、Flutter
text_input_total_events_countFingerintTotal number of text input eventsiOS、Android、Flutter
touch_total_events_countFingerintTotal number of touch eventsiOS、Android、Flutter、Web
scroll_total_events_countFingerintTotal number of scroll eventsiOS、Android、Flutter、Web
touch_actions_speedFingerstring(float)Touch event speed, unit: events/s, example:"100.0"iOS、Android、Flutter、Web
click_total_events_countFingerintTotal number of click eventsWeb
mouse_moving_path_lengthFingerstring(float)Total distance of mouse movement events, unit: pixels, example:"100.0"Web
mouse_moving_speedFingerstring(float)Mouse movement speed, unit: pixels/s, example:"100.0"Web
mouse_hover_total_events_countFingerintTotal number of mouse hover events,A mouse hover event is triggered when the mouse remains stationary for more than 0.5 seconds.Web
mouse_hover_time_spent_totalFingerstring(float)Total Time spent in mouse hover state, A mouse hover event is triggered when the mouse remains stationary for more than 0.5 seconds.unit: seconds, example:"100.0"Web
application_as_background_countInteractionsintNumber of times the application enters backgroundiOS、Android、Flutter
application_as_foreground_countInteractionsintNumber of times the application enters foregroundiOS、Android、Flutter
application_navi_countInteractionsintNumber of application interface switchesiOS、Android、Flutter
client_activity_session_time_spent_totalInteractionsstring(float)Time spent by application in foreground, unit: seconds, example:"100.0"iOS、Android、Flutter
client_interactions_time_spent_totalInteractionsstring(float)Total time of input field cursor focus within the application, unit: seconds, example:"100.0"iOS、Android、Flutter
client_interactions_tracked_events_countInteractionsintNumber of events triggered during input field cursor focus within the application, event types include touch, scroll, screenEdgePan, swipe, textInputiOS、Android、Flutter
text_input_text_removed_all_countInteractionsintNumber of complete text deletion input events among text input events, requires text length > 1 before deletioniOS、Android、Flutter
input_delete_actions_countInteractionsintNumber of delete operation input events when a letter was deleted in the "usual" way during fields filling (1 character per 1 event)iOS、Android、Flutter、Web
input_insert_actions_countInteractionsintNumber of insert operation input events when a letter was inserted in the "usual" way during fields filling (1 character per 1 event)iOS、Android、Flutter、Web
input_cut_actions_countInteractionsintNumber of cut operation input events among text input eventsWeb
input_copy_actions_countInteractionsintNumber of copy operation input events among text input eventsWeb
input_paste_actions_countInteractionsintNumber of paste operation input events among text input eventsiOS、Android、Flutter、Web
application_navi_infoInteractionsstringInformation on application interface switching, including interface name and dwell time, example:"Main0,2.1211,SignIn0,25.7295"iOS、Android、Flutter、Web
accelerometer_g_rage_actions_countSportintFor time-sorted accelerometer data, take a fixed number of accelerometer data points, calculate if the variance of g values exceeds a threshold, if yes, count +1iOS、Android、Flutter
gyroscope_x_rage_actions_countSportintFor time-sorted gyroscope data, take a fixed number of gyroscope data points, calculate if the variance of x values exceeds a threshold, if yes, count +1iOS、Android、Flutter
gyroscope_y_rage_actions_countSportintFor time-sorted gyroscope data, take a fixed number of gyroscope data points, calculate if the variance of y values exceeds a threshold, if yes, count +1iOS、Android、Flutter
gyroscope_z_rage_actions_countSportintFor time-sorted gyroscope data, take a fixed number of gyroscope data points, calculate if the variance of z values exceeds a threshold, if yes, count +1iOS、Android、Flutter
orientation_total_events_countSportintNumber of times device orientation changesiOS、Android、Flutter
orientation_rage_actions_countSportintNumber of times device rotation event speed exceeds a threshold per minute, e.g., if current unit speed exceeds 5 device rotation events/minute, count +1iOS、Android、Flutter
text_input_chars_except_num_and_letters_countTypingintNumber of characters when any other character (among symbols, punctuations, marks & separators) was typed in the field or when the number of pasted characters was greater than one per 1 event (incl. the date selection from the calendar picker)iOS、Android、Flutter
text_input_letters_countTypingintNumber of text input events when a letter was typed in the "usual" way during fields filling (1 letter per 1 event)iOS、Android、Flutter
text_input_numbers_countTypingintNumber of text input events when a number was typed in the "usual" way during fields filling (1 number per 1 event)iOS、Android、Flutter
text_input_speedTypingintText input speed, unit: characters/siOS、Android、Flutter
input_start_with_lower_countTypingintNumber of text input events when user started to type field with a lower letteriOS、Android、Flutter、Web
input_start_with_number_countTypingintNumber of text input events user started to type field with a numberiOS、Android、Flutter、Web
input_start_with_upper_countTypingintNumber of text input events when user started to type field with a upper letteriOS、Android、Flutter、Web
keyboard_letter_keys_pressed_countTypingintNumber of letter key press events among keyboard eventsWeb
keyboard_total_keys_pressed_countTypingintTotal number of keyboard key press eventsWeb
keyboard_meta_key_pressed_countTypingintNumber of meta key press events among keyboard eventsWeb
keyboard_number_keys_pressed_countTypingintNumber of number key press events among keyboard eventsWeb
keyboard_backspace_key_pressed_countTypingintNumber of backspace key press events among keyboard eventsWeb
keyboard_shift_key_pressed_countTypingintNumber of shift key press events among keyboard eventsWeb
keyboard_ctrl_key_pressed_countTypingintNumber of ctrl key press events among keyboard eventsWeb
keyboard_delete_key_pressed_countTypingintNumber of delete key press events among keyboard eventsWeb
keyboard_space_key_pressed_countTypingintNumber of space key press events among keyboard eventsWeb
keyboard_symbol_key_pressed_countTypingintNumber of symbol key press events among keyboard eventsWeb
keyboard_tab_key_pressed_countTypingintNumber of tab key press events among keyboard eventsWeb
keyboard_alt_key_pressed_countTypingintNumber of alt key press events among keyboard eventsWeb
keyboard_cut_keys_pressed_countTypingintNumber of "ctrl + x" key combination press events among keyboard eventsWeb
keyboard_copy_keys_pressed_countTypingintNumber of "ctrl + c" key combination press events among keyboard eventsWeb
keyboard_paste_keys_pressed_countTypingintNumber of "ctrl + v" key combination press events among keyboard eventsWeb
keyboard_shift_delete_actions_countTypingintNumber of "shift + delete" key combination press events among keyboard eventsWeb
keyboard_ctrl_alt_delete_actions_countTypingintNumber of "ctrl + alt + delete" key combination press events among keyboard eventsWeb
keyboard_text_shift_key_pressed_countTypingintNumber of shift key press events for uppercase letters and special symbols among keyboard events;Web
keyboard_typing_speedTypingintKeyboard event speed, unit: events/sWeb
keyboard_is_trusted_key_countTypingintNumber of trusted text input events in application flow among keyboard events, i.e., total events where event.isTrusted == trueWeb
input_from_inside_countTypingintTotal number of times user inputs values within the field during interaction with input box (position > 1 and position < string length)Web
input_from_end_countTypingintTotal number of times user inputs values at the end of string during first interaction with input boxWeb
input_from_beginning_countTypingintNumber of times user starts input from the first position of the field during interaction with input boxWeb
touch_prop_force_maxTypingstring(float)Touch events, maximum pressure value, example:"0.8"Web
touch_prop_force_avgTypingstring(float)Touch events, average pressure value, example:"0.5"Web
touch_prop_force_minTypingstring(float)Touch events, minimum pressure value, example:"0.2"Web
text_input_countTypingintTotal number of characters in all text input eventsiOS、Android、Flutter、Web

Status Code

Status CodeSuggestionCharged
200Yes
306No available traffic, please contact operationsNo
406Wrong region,Version is not supportNo
500Application exception, reserved errors, can be ignoredNo
512Service not purchased, please contact operationsNo
513Traffic disabled, please contact operationsNo
514Service expired, please contact operationsNo
515Lack of traffic, please contact operationsNo
9150Wrong region,device os not supportNo
9151Authentication failed, please check the authentication parametersNo
9152Service exception, reserved errors, can be ignoredNo
9153black_box is illegal,please markNo
9154SDK exception, please check the integrationNo
9155Replay, please markNo
9156Missing file, reserved errors, please check the integrationNo
9157Time out, please retryNo
9158BlackBox forgery, please markNo
9159Missing blackBox, please check your codeNo
9160Wrong environment, confusion between production and testing environmentsNo
9161BlackBox expired, prohibit caching blackBoxNo
9162Content type is not supportNo
9163Wrong region,Wrong addressNo
9164SDK init exception, please check the apiStatus returned by the SDKNo

Example of response

JSON

{
    "device_risk_score": 8,
    "code": 200,
    "device_id": "c1nG3793-Z5a0-p97J-180N-0nC1DYQh12Yj",
    "channel": "apitest",
    "device_risk_label": [
        "no_sim",
        "adb_link"
    ],
    "device_risk_tools": {
        "running_risk_tools_type": [],
        "installed_risk_tools_type": []
    },
    "device_detail": {
        "app_version": "4.8.0.2",
        "language": "zh",
        "installed_packages": "[{\"package\":\"cn.tongdun.mobrisk.demo\",\"name\":\"-\"}]",
        "mcc": "",
        "gps_location": {
            "address": "",
            "province": "",
            "city": "",
            "region": "",
            "township": ""
        },
        "wifi_ip": "",
        "device_svn": "20",
        "available_storage": 137275531264,
        "cpu_type": "",
        "dns_address": "",
        "host": "cn-west-hcd-5a-acab910141717386065435-588c6955d6-48x72",
        "model": "OXF-AN10",
        "brand": "HONOR",
        "hardware": "kirin990",
        "longitude": 0,
        "cell_ip": "",
        "ip": "183.129.232.236",
        "screen_resolution": "1080x2400",
        "cpu_hardware": "",
        "charge_state": "charging",
        "up_time": 82841770,
        "audio_mode": 0,
        "aid": "",
        "startup_time": 1757472801887,
        "bssid": "",
        "latitude": 0,
        "running_packages": "cn.tongdun.mobrisk.demo",
        "proxy_info": "",
        "device_name": "HWOXF",
        "total_memory": 7868047360,
        "vpn_true_ip": "",
        "ipv6": "",
        "system_version": "12",
        "baseband_version": "21C93B398S000C000",
        "fp_version": "4.8.0.2",
        "country_iso": "cn,-",
        "current_time": 1757555643657,
        "product": "OXF-AN10",
        "mnc": "",
        "sim_operator": "-,-",
        "battery_level": 67,
        "first_seen_at": 1735097180012,
        "vpn_ip": "",
        "api_version": "31",
        "time_zone": "UTC+08:00",
        "sign_md5": "03ce925f76ceb40e1c2ed8bfe3fcdd0c480a7ba8689ff814c601edfbf79e339e",
        "screen_brightness": 71,
        "carrier": "-,-",
        "app_install_time": 1757482908393,
        "package_name": "cn.tongdun.mobrisk.demo",
        "available_memory": 3286253568,
        "total_storage": 245389852672,
        "android_id": "0828e7ca28dae28c",
        "network_type": "wifi",
        "wifi_list": "[{\"wifi_bssid\":\"28:6c:07:47:c3:bb\",\"wifi_ssid\":\"ZD_5G\",\"wifi_level\":-54},{\"wifi_bssid\":\"dc:f0:90:33:02:92\",\"wifi_ssid\":\"nunu\",\"wifi_level\":-58},{\"wifi_bssid\":\"e8:ac:23:cb:34:76\",\"wifi_ssid\":\"tdiot\",\"wifi_level\":-69},{\"wifi_bssid\":\"e8:ac:23:cb:34:74\",\"wifi_ssid\":\"TD-Phone\",\"wifi_level\":-69},{\"wifi_bssid\":\"e8:ac:23:cb:34:73\",\"wifi_ssid\":\"TD-GUEST\",\"wifi_level\":-69},{\"wifi_bssid\":\"e8:ac:23:cb:34:72\",\"wifi_ssid\":\"Tongdun\",\"wifi_level\":-69},{\"wifi_bssid\":\"e8:ac:23:cb:34:71\",\"wifi_ssid\":\"TrustDecision\",\"wifi_level\":-69},{\"wifi_bssid\":\"e8:ac:23:cb:34:70\",\"wifi_ssid\":\"Zhongboxin\",\"wifi_level\":-69},{\"wifi_bssid\":\"76:8d:2a:32:71:49\",\"wifi_ssid\":\"608-TDXT\",\"wifi_level\":-75},{\"wifi_bssid\":\"e8:ac:23:ca:89:a2\",\"wifi_ssid\":\"Tongdun\",\"wifi_level\":-91}]",
        "accuracy": 15.0,
        "ssid": "ZD_5G",
        "oaid": "f976d3ee-7168-4f06-a7a5-4dea08a9662a"
    },
    "behavior_detail": {
        "anomaly": {
            "scale_rage_actions_count": 0,
            "scroll_rage_actions_count": 0,
            "swipe_rage_actions_count": 0,
            "text_input_rage_actions_count": 1,
            "touch_rage_actions_count": 0
        },
        "finger": {
            "scale_total_events_count": 0,
            "scroll_path_length": 0,
            "scroll_total_events_count": 0,
            "swipe_path_length": 0,
            "swipe_total_events_count": 0,
            "text_input_total_events_count": 21,
            "touch_actions_speed": 0,
            "touch_total_events_count": 0
        },
        "interactions": {
            "application_as_background_count": 0,
            "application_as_foreground_count": 0,
            "application_navi_count": 0,
            "application_navi_info": "SignIn0,25.7295",
            "client_activity_session_time_spent_total": "25.8215",
            "client_interactions_time_spent_total": "9.6349",
            "client_interactions_tracked_events_count": 21,
            "input_delete_actions_count": 0,
            "input_insert_actions_count": 17,
            "input_paste_actions_count": 0,
            "text_input_text_removed_all_count": 1
        },
        "sport": {
            "accelerometer_g_rage_actions_count": 22,
            "gyroscope_x_rage_actions_count": 22,
            "gyroscope_y_rage_actions_count": 22,
            "gyroscope_z_rage_actions_count": 22,
            "orientation_rage_actions_count": 0,
            "orientation_total_events_count": 0
        },
        "typing": {
            "input_start_with_lower_count": 1,
            "input_start_with_number_count": 0,
            "input_start_with_upper_count": 0,
            "text_input_chars_except_num_and_letters_count": 6,
            "text_input_count": 23,
            "text_input_letters_count": 9,
            "text_input_numbers_count": 8,
            "text_input_speed": "2.3871"
        }
    },
    "message": "success",
    "device_os": "Android",
    "ip_location": {
        "continent": "亚洲",
        "country": "中国",
        "city": "杭州市",
        "region": "浙江省",
        "country_id": "CN",
        "latitude": 30.384272,
        "accuracy_radius": 35.6001,
        "longitude": 119.987002
    },
    "vpn_true_ip_location": {
        "continent": "",
        "country": "",
        "city": "",
        "region": "",
        "country_id": "",
        "latitude": 0.0,
        "accuracy_radius": 0.0,
        "longitude": 0.0
    },
    "device_history_risk_label": [
        {
            "last_time": "1749105497989",
            "label": "app_multiple_running"
        },
        {
            "last_time": "1753944006009",
            "label": "vpn_detected"
        },
        {
            "last_time": "1749105497989",
            "label": "camera_fake"
        },
        {
            "last_time": "1757555625652",
            "label": "no_sim"
        },
        {
            "last_time": "1742286486244",
            "label": "short_uptime"
        },
        {
            "last_time": "1757555625652",
            "label": "adb_link"
        },
        {
            "last_time": "1749105497989",
            "label": "gps_fake"
        },
        {
            "last_time": "1746762648790",
            "label": "repackaged"
        },
        {
            "last_time": "1753944006009",
            "label": "device_info_tampered"
        },
        {
            "last_time": "1757498166978",
            "label": "abnormal_time"
        },
        {
            "last_time": "1748338101708",
            "label": "cloud_phone"
        },
        {
            "last_time": "1753944006009",
            "label": "proxy_detected"
        },
        {
            "last_time": "1757498166978",
            "label": "replay_attacks"
        }
    ],
    "sequence_id": "1757555737405256F8BD761B87527878"
}