Developer Guide
Get User Result
Retrieve an existing transaction from FraudLabs Pro fraud detection system.
Please take note that this API is only available for Medium plan and above. Please upgrade your plan to use it if you are currently subscribed to a lower plan.
Request
GET https://api.fraudlabspro.com/v2/user/result
| Parameter | Type | Description |
|---|---|---|
| key | string | (required) API license key. |
| id | string | (required) Unique User Screen ID generated by Screen User API. |
| format | string | (optional) Return the result in json or xml format. Default:json Valid values: json | xml |
Response
| Parameter | Type | Description |
|---|---|---|
| ip_geolocation.ip | string | IP address of the transaction. |
| ip_geolocation.continent | string | Estimated continent of the IP address. |
| ip_geolocation.country_code | string | Estimated ISO-3166 alpha-2 country code of the IP address. |
| ip_geolocation.country_name | string | Estimated country of the IP address. |
| ip_geolocation.region | string | Estimated region of the IP address. |
| ip_geolocation.city | string | Estimated city of the IP address. |
| ip_geolocation.latitude | decimal | Estimated latitude of the IP address in 4 precisions. |
| ip_geolocation.longitude | decimal | Estimated longitude of the IP address in 4 precisions. |
| ip_geolocation.zip_code | string | Estimated ZIP code of the IP address. |
| ip_geolocation.timezone | string | Estimated timezone of the IP address. |
| ip_geolocation.isp_name | string | Estimated ISP name of the IP address. |
| ip_geolocation.domain | string | Estimated domain name of the IP address. |
| ip_geolocation.netspeed | string | Estimated netspeed of the IP address. |
| ip_geolocation.mobile_mnc | string | Estimated mobile mnc information of the IP address, if it is a mobile network. |
| ip_geolocation.mobile_mcc | string | Estimated mobile mcc information of the IP address, if it is a mobile network. |
| ip_geolocation.mobile_brand | string | Estimated mobile brand information of the IP address, if it is a mobile network. |
| ip_geolocation.elevation | integer | Estimated elevation of the IP address. |
| ip_geolocation.usage_type | string | Estimated usage type of the IP address. Return values as below:
|
| ip_geolocation.is_proxy | boolean | Whether the IP address is from a known anonymous proxy server. |
| ip_geolocation.is_in_blacklist | boolean | Whether the IP address is in our blacklist database. |
| email_address.is_free | boolean | Whether the email is from free email provider. |
| email_address.is_disposable | boolean | Whether the email is a disposable email. Only applicable for Small Plan onward. |
| email_address.is_domain_exists | boolean | Whether the email domain name is a valid domain. |
| email_address.is_new_domain_name | boolean | Whether the email domain name a newly registered name. Only applicable for non-free email domain. |
| email_address.is_in_blacklist | boolean | Whether the email address is in our blacklist database. |
| phone_number.is_disposable | boolean | Whether the phone number is a disposable phone number. Only applicable for Medium Plan onward. |
| phone_number.is_in_blacklist | boolean | Whether the user's phone number is in our blacklist database. |
| device.browser | string | The browser name and version. |
| device.device_type | string | The type of the associated device. (e.g. desktop, mobile) |
| device.operating_system | string | The operating system name. |
| device.is_malware_exploit | boolean | Whether the machine is infected. |
| device.is_in_blacklist | boolean | Whether the device Id is in our blacklist database. |
| user_score | integer | Overall score between 1 and 100. 100 is the highest risk and 1 is the lowest risk. |
| user_transaction_id | string | System own unique identifier to identify this API transaction. |
| user_transaction_status | string |
Final action based on the rules analysis. Return values: APPROVE | REJECT | REVIEW |
| user_transaction_rules | array | Return the rules triggered by the system. |
Sample Codes
Sample Code
$ curl https://api.fraudlabspro.com/v2/user/result?key=Enter_License_Key&format=json&id=20260131-DEF3CR