Download the changes to the AML Database
GEThttps://api.dilisense.com/v1/getConsolidatedDelta
The getConsolidatedDelta API method returns a list of deviations compared to an earlier version of the database. It is formatted as JSON Lines and consists of the same attributes as described in the AML Screening API service, with a separate line per changed record.
Additionally the file-version is provided in the header which needs to be stored for the next API call.
Request
Responses
- 200
The changed records as JSON Lines, one change per line.
Response Headers
File-Version
The file-version, store it to call getConsolidatedDelta with it as previous next time.
Error responses are the same for all endpoints, see Errors.
Example
Request
curl --location --request GET 'https://api.dilisense.com/v1/getConsolidatedDelta?previous=1744792260290' \
--header 'x-api-key: <api_key>'
Response
{"type":"ADD","record":{"source_id":"in_interpol_most_wanted_list","source_type":"CRIMINAL","id":"9a18cb49f9ff6af5","entity_type":"INDIVIDUAL","gender":"MALE","name":"TASAWAR IQBAL","last_names":["IQBAL"],"given_names":["TASAWAR"],"date_of_birth":["07/09/1981"],"place_of_birth":["Pakistan","Gujrat"],"citizenship":["Pakistan"],"sanction_details":["Issuing country: Pakistan","Charge: Murder"],"links":["https://www.interpol.int/en/How-we-work/Notices/View-Red-Notices#2018-14069"],"other_information":["Weight: 65 kg","Height: 1.72 m","Language spoken: Panjabi","Language spoken: Urdu","Eye color: BLA","Hair color: BLA"]}}
{"type":"UPDATE","record":{"source_id":"dilisense_pep","source_type":"PEP","id":"9a18cb46f9of6af5","pep_type":"POLITICIAN","entity_type":"INDIVIDUAL","gender":"MALE","name":"Joël Bruneau","last_names":["Bruneau"],"given_names":["Joël"],"date_of_birth":["07/09/1963"],"place_of_birth":["Châteauroux"],"citizenship":["France"],"description":["French politician"],"occupations":["board member","politician","professions libérales et assimilés"],"positions":["2014-03-30 - 2020-05-17 conseiller municipal de Caen","2014-04-05 - 2020-05-22 mayor of Caen","Since 2017-01-01 conseiller communautaire de Caen la Mer","Since 2020-05-18 conseiller municipal de Caen","Since 2020-05-23 mayor of Caen","conseiller régional de Basse-Normandie"],"political_parties":["Union for a Popular Movement"],"links":["Facebook: joel.bruneau.50"]}}
{"type":"DELETE","record":{"source_id":"us_occ_enforcement_actions_sanction_list","source_type":"SANCTION","id":"9a12cb46f9ff6af5","entity_type":"ENTITY","name":"First Fidelity Trust, National Association, Florida","address":["Boca Raton, Florida (FL), USA"],"jurisdiction":["USA"],"sanction_details":["Civil Money Penalty (CMP) for details see: https://www.occ.gov/topics/laws-regulations/enforcement-actions/enforcement-actions-types.html","Start date: 8/5/1991"]}}