AtData's Fraud Prevention API delivers comprehensive insights into each email address' risk and fraud correlation. Leveraging the extensive data gathered from billions of monthly activity events, our comprehensive historical email database, and a robust fraud consortium database, this API equips you with the detailed information needed to enhance your fraud prevention strategies.

Retrieving Fraud Prevention Data

The Retrieve Fraud Prevention Data is the primary Fraud Prevention API from AtData. It allows you to input a user's email and associated details to retrieve comprehensive information about their fraud risk. This data helps you make informed decisions to protect your system from fraudulent activities.

To use the Retrieve Fraud Prevention Data API, add your API key as a query parameter to the endpoint's URL and the email you want to verify. This is exemplified below:

https://api.atdata.com/fr?api_key=<YOUR_API_KEY>&email=<EMAIL_TO_VERIFY>

Remember to replace <YOUR_API_KEY> with the API key created in Getting Started's Step 2, and <EMAIL_TO_VERIFY>with the actual email you need to verify. The recipe below shows an example code using Python to perform this request:

📘

URL encoding

When integrating with AtData's Fraud Prevention API, ensure that all data added as query parameters are properly encoded using HTML URL encoding. This is essential for the API to function correctly and securely handle your data.

The query parameters for the Retrieve Fraud Prevention Data API are shown in the table below.

ParameterDescription
emailRequired field. The email address that is to be evaluated for fraud.
reference_idYour internal identifier for the email or the transaction it pertains to. This may be used to cross-reference results with the AtData Feedback API.
firstFirst name.
lastLast name.
streetThe first line of the postal address (including number).
cityCity of the postal address.
stateState of the postal address.
zipZIP or postcode of the postal address.
country2-letter country code of postal address following ISO 3166 standard alpha-2 code (e.g., "US," "CA").
phonePhone number, including country code.
ipUser's IP address.
user_agentUser agent.