### Get Consolidated Delta Data (Java) Source: https://developers.dilisense.com/products/aml-database Java example using OkHttpClient to make a GET request for consolidated delta data. Remember to replace ``. ```java OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://api.dilisense.com/v1/getConsolidatedDelta?previous=1744792260290") .method("GET", body) .addHeader("x-api-key", "") .build(); Response response = client.newCall(request).execute(); ``` -------------------------------- ### Get Source List using JavaScript (Fetch API) Source: https://developers.dilisense.com/ This JavaScript example uses the Fetch API to retrieve the source list from the Dilisense API. It demonstrates setting request headers and handling the response. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.dilisense.com/v1/getSourceList", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Get Consolidated Delta Data (JavaScript) Source: https://developers.dilisense.com/products/aml-database JavaScript example using the `fetch` API to retrieve consolidated delta data. Replace `` with your actual key. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch('https://api.dilisense.com/v1/getConsolidatedDelta?previous=1744792260290', requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Check Entity with Python Source: https://developers.dilisense.com/ This Python script demonstrates how to make a GET request to the checkEntity endpoint. Ensure you have the 'requests' library installed. Replace with your actual API key. ```python import requests url = "https://api.dilisense.com/v1/checkEntity?names=REYCO GMBH GERMANY" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### GET Individual Check with JavaScript (Fetch API) Source: https://developers.dilisense.com/ This JavaScript example uses the Fetch API to make a GET request to the Dilisense API. It shows how to set the 'x-api-key' header and handle the response. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.dilisense.com/v1/checkIndividual?names=Boris Johnson&fuzzy_search=1&dob=19/06/1964&gender=male&includes=dilisense_pep", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Individual Sanction Record Example Source: https://developers.dilisense.com/products/aml-database Example of an individual record from the EU financial sanction list. ```json {"sourceId":"eu_financial_sanction_list","sourceType":"SANCTION","id":"9a485b46f9ff6af5","entityType":"INDIVIDUAL","gender":"MALE","name":"Hodjatoleslam SOLTANI","lastNames":["SOLTANI"],"aliasNames":["Hodjatoleslam Seyed Mohammad SOLTANI"],"givenNames":["Hodjatoleslam","Seyed Mohammad"],"sanctionDetails":["2020-04-08","IRN"],"functions":["Head of the Organisation for Islamic Propaganda in the province of Khorasan-Razavi. Judge, Mashhad Revolutionary Court until 2013."]} ``` -------------------------------- ### Register Entity with Profile ID and Names (Python) Source: https://developers.dilisense.com/products/ongoing-monitoring Register an entity for monitoring using Python. This example includes the profile ID and the names to search for. Replace '' with your valid API key. ```python import requests url = "https://api.dilisense.com/v1/registerEntity?profile_id=abcdefg-1234&names=REYCO GMBH GERMANY" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### Download AML Database (JavaScript) Source: https://developers.dilisense.com/products/aml-database This JavaScript example uses the fetch API to retrieve the AML Database. The API key is passed in the 'x-api-key' header. Error handling is included for the fetch request. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch('https://api.dilisense.com/v1/getConsolidatedFile', requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Check Individual API Request (JavaScript) Source: https://developers.dilisense.com/products/adverse-media-screening-api A JavaScript example for making a GET request to the checkIndividual API endpoint, including necessary headers and query parameters. ```javascript const fetch = require('node-fetch'); const url = "https://api.dilisense.com/v1/media/checkIndividual?names=Boris%20Johnson&fetch_articles=true&start_date=2023-10-23"; fetch(url, { method: 'GET', headers: { 'x-api-key': 'YOUR_API_KEY' } }) .then(response => response.json()) .then(json => console.log(json)) .catch(err => console.error(err)); ``` -------------------------------- ### API Response Example (fetch_articles=false) Source: https://developers.dilisense.com/products/adverse-media-screening-api This JSON structure represents the API response when `fetch_articles` is set to `false`. It provides a summary of media exposures across different categories. ```json { "timestamp": "2024-12-20T14:17:16.843Z", "total_hits": 1715870, "news_exposures": { "violent_crime": { "category": "violent_crime", "hits": 28466 }, "terrorism": { "category": "terrorism", "hits": 796691 }, "regulatory": { "category": "regulatory", "hits": 984492 }, "financial_crime": { "category": "financial_crime", "hits": 26088 }, "political": { "category": "political", "hits": 1649400 }, "organized_crime": { "category": "organized_crime", "hits": 23546 } } } ``` -------------------------------- ### API Response Example (fetch_articles=true) Source: https://developers.dilisense.com/products/adverse-media-screening-api This JSON structure illustrates the API response when `fetch_articles` is set to `true`. It includes detailed article information such as headline, body, and source link for specific categories. ```json { "timestamp": "2024-11-11T14:22:07.447Z", "total_hits": 1307, "news_exposures": { "terrorism": { "category": "terrorism", "hits": 801, "articles": [ { "timestamp": "2024-11-06T08:02:35Z", "language": "en", "headline": "Boris Johnson ‘fired' during live US election coverage for plugging memoir - Evening Standard 1", "body": "

Channel 4 ‘fired' Boris Johnson from US election show for promoting his book, co-host says

The Guardian

US election 2024 result viewers praise Emily Maitlis for eviscerating Boris Johnson

The Independent

Boris Johnson ‘fired' from Channel 4's US election coverage

The Telegraph

Stormy Daniels and Boris Johnson were only the start of a mad night

The Times

", "source_link": "https://www.info-flash.com/info-flash/actualites/royaume-uni/93518-united-kingdom/79685542-boris-johnson-fired-during-live-us-election-coverage-for-plugging-memoir-evening-standard.html" } ] } } } ``` -------------------------------- ### Check Individual API Request (Java) Source: https://developers.dilisense.com/products/adverse-media-screening-api This Java example demonstrates how to call the checkIndividual API, including setting the API key and request parameters. ```java OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://api.dilisense.com/v1/media/checkIndividual?names=Boris%20Johnson&fetch_articles=true&start_date=2023-10-23") .method("GET", null) .addHeader("x-api-key", "YOUR_API_KEY") .build(); Response response = client.newCall(request).execute(); ``` -------------------------------- ### Check Individual using Python Requests Source: https://developers.dilisense.com/products/adverse-media-screening-api Demonstrates how to perform an individual media check using the Python `requests` library. Ensure you have the library installed and replace `` with your valid key. ```python import requests url = "https://api.dilisense.com/v1/media/checkIndividual?search_all=Boris Johnson" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### Get Source List Source: https://developers.dilisense.com/ Retrieves a list of all available data sources. This is a GET request that requires an API key for authentication. ```APIDOC ## GET /v1/getSourceList ### Description Retrieves a list of all available data sources, including details such as source name, description, link, type, region, country, and issuer. ### Method GET ### Endpoint https://api.dilisense.com/v1/getSourceList ### Parameters #### Headers - **x-api-key** (string) - Required - Your API key for authentication. ### Request Example ```json { "example": "curl --location --request GET 'https://api.dilisense.com/v1/getSourceList' \ --header 'x-api-key: '" } ``` ### Response #### Success Response (200) - **source** (string) - The unique identifier for the data source. - **name** (string) - The human-readable name of the data source. - **description** (string) - A brief explanation of the data source's content. - **link** (string) - A URL to more information about the data source. - **source_type** (string) - The category or type of the data source (e.g., "sanction"). - **region** (string) - The geographical region the data source pertains to. - **country_code** (string) - The ISO 3166-1 alpha-2 country code. - **country_name** (string) - The name of the country. - **issuer_name** (string) - The name of the organization that provides the data source. - **size** (integer) - The number of records or entries in the data source. #### Response Example ```json [ { "source": "af_african_development_bank_debarred_entities", "name": "Debarred Entities", "description": "The African Development Bank Group have imposed sanctions on entities found to have participated in fraudulent practices and are therefore ineligible to participate in contracts financed or administered by the African Development Bank Group.", "link": "https://www.afdb.org/en/projects-operations/debarment-and-sanctions-procedures", "source_type": "sanction", "region": "international", "country_code": "xx", "country_name": "Africa", "issuer_name": "African Development Bank", "size": 1013 } ] ``` ``` -------------------------------- ### Get Source List using Java Source: https://developers.dilisense.com/ This Java code snippet demonstrates how to use the HttpClient to make a GET request to the Dilisense API. It shows how to set the API key header and handle the asynchronous response. ```java HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.dilisense.com/v1/getSourceList")) .header("x-api-key", "") .build(); client.sendAsync(request, BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); ``` -------------------------------- ### Politically Exposed Person (PEP) Record Example Source: https://developers.dilisense.com/products/aml-database Example of a Politically Exposed Person (PEP) record for an individual. ```json {"sourceId":"dilisense_pep","sourceType":"PEP","id":"9a18cb46f9of6af5","pepType":"POLITICIAN","entityType":"INDIVIDUAL","gender":"MALE","name":"Joël Bruneau","lastNames":["Bruneau"],"givenNames":["Joël"],"dateOfBirth":["07/09/1963"],"placeOfBirth":["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"],"politicalParties":["Union for a Popular Movement"],"links":["Facebook: joel.bruneau.50"]} ``` -------------------------------- ### GET Individual Check with cURL Source: https://developers.dilisense.com/ Use this cURL command to perform a GET request to check individual details. Replace '' with your actual API key. ```bash curl --location --request GET 'https://api.dilisense.com/v1/checkIndividual?names=Boris%20Johnson&fuzzy_search=1&dob=19/06/1964&gender=male&includes=dilisense_pep' \ --header 'x-api-key: ' ``` -------------------------------- ### Entity Terrorist List Record Example Source: https://developers.dilisense.com/products/aml-database Example of an entity record from the Russian Federal Financial Monitoring Service terrorist list. ```json {"sourceId":"ru_ffms_terrorist_list","sourceType":"SANCTION","id":"ca18hb46f9ff6af5","entityType":"ENTITY","name":"МЕСТНАЯ РЕЛИГИОЗНАЯ ОРГАНИЗАЦИЯ СВИДЕТЕЛЕЙ ИЕГОВЫ Г.НИЖНЕКАМСКА И НИЖНЕКАМСКОГО РАЙОНА \"УПРАВЛЕНЧЕСКОГО ЦЕНТРА СВИДЕТЕЛЕЙ ИЕГОВЫ В РОССИИ\"","companyNumber":["ИНН: 1651024363;"]} ``` -------------------------------- ### Check Individual using cURL Source: https://developers.dilisense.com/products/adverse-media-screening-api Example of how to check for an individual's media presence using cURL. Replace `` with your actual API key. ```shell curl --location --request GET 'https://api.dilisense.com/v1/media/checkIndividual?search_all=Boris%20Johnson' \ --header 'x-api-key: ' ``` -------------------------------- ### Entity Sanction Record Example Source: https://developers.dilisense.com/products/aml-database Example of an entity record from the US OCC enforcement actions sanction list. ```json {"sourceId":"us_occ_enforcement_actions_sanction_list","sourceType":"SANCTION","id":"9a12cb46f9ff6af5","entityType":"ENTITY","name":"First Fidelity Trust, National Association, Florida","address":["Boca Raton, Florida (FL), USA"],"jurisdiction":["USA"],"sanctionDetails":["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"]} ``` -------------------------------- ### Get Source List using cURL Source: https://developers.dilisense.com/ Use this cURL command to make a GET request to the Dilisense API to retrieve a list of available sources. Ensure you replace '' with your actual API key. ```bash curl --location --request GET 'https://api.dilisense.com/v1/getSourceList' \ --header 'x-api-key: ' ``` -------------------------------- ### Check Entity with JavaScript (Fetch API) Source: https://developers.dilisense.com/ This JavaScript example uses the Fetch API to call the checkEntity endpoint. It handles the response as text and logs it to the console. Replace with your actual API key. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.dilisense.com/v1/checkEntity?names=REYCO GMBH GERMANY", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Check Individual using Java HttpClient Source: https://developers.dilisense.com/products/adverse-media-screening-api Example of an individual media check using Java's built-in `HttpClient`. This code sends an asynchronous request and prints the response body. ```java HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.dilisense.com/v1/media/checkIndividual?search_all=Boris Johnson")) .header("x-api-key", "") .build(); client.sendAsync(request, BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); ``` -------------------------------- ### GET Individual Check with Java Source: https://developers.dilisense.com/ This Java code snippet demonstrates how to use HttpClient to send a GET request to the Dilisense API. It includes setting the API key as a header. ```java HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.dilisense.com/v1/checkIndividual?names=Boris Johnson&fuzzy_search=1&dob=19/06/1964&gender=male&includes=dilisense_pep")) .header("x-api-key", "") .build(); client.sendAsync(request, BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); ``` -------------------------------- ### Get Source List using Python Source: https://developers.dilisense.com/ This Python script uses the 'requests' library to fetch the source list from the Dilisense API. It includes setting the API key in the request headers. ```python import requests url = "https://api.dilisense.com/v1/getSourceList" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### Example JSON Response Structure Source: https://developers.dilisense.com/ This is a sample JSON response structure for a successful entity check. It includes details about found records, such as ID, name, address, and sanction details. ```json { "timestamp": "2024-09-24T20:29:52Z", "total_hits": 1, "found_records": [ { "id": "4bae94a04647a62f", "entity_type": "ENTITY", "name": "REYCO GMBH", "address": [ "Germany", "Nordrhein-Westfalen", "Dinslaken", "Karlstrasse 19", "46535" ], "alias_names": [ "REYCO GMBH GERMANY" ], "sanction_details": [ "Subject to Secondary Sanctions" ], "source_id": "us_department_of_treasury_sdn", "source_type": "SANCTION", "list_date": "1615935600000" } ] } ``` -------------------------------- ### Get Consolidated Delta Data (Python) Source: https://developers.dilisense.com/products/aml-database This Python script uses the `requests` library to get consolidated delta data. Ensure you have the library installed and replace ``. ```python import requests url = "https://api.dilisense.com/v1/getConsolidatedDelta?previous=1744792260290" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### GET Individual Check with Python Source: https://developers.dilisense.com/ This Python script uses the 'requests' library to make a GET request to the Dilisense API. Ensure you have the library installed and replace '' with your key. ```python import requests url = "https://api.dilisense.com/v1/checkIndividual?names=Boris Johnson&fuzzy_search=1&dob=19/06/1964&gender=male&includes=dilisense_pep" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### Register Entity with Profile ID and Names (Java) Source: https://developers.dilisense.com/products/ongoing-monitoring Register an entity for monitoring using Java's HttpClient. This example demonstrates how to set up the request with a profile ID and names. Remember to replace '' with your API key. ```java HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.dilisense.com/v1/registerEntity?profile_id=abcdefg-1234&names=REYCO GMBH GERMANY")) .header("x-api-key", "") .build(); client.sendAsync(request, BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); ``` -------------------------------- ### Remove Search Profile with Profile ID (Python) Source: https://developers.dilisense.com/products/ongoing-monitoring Remove a search profile using Python. This example sends a GET request to the removeSearchProfile endpoint with the specified profile ID. Ensure your API key is provided. ```python import requests url = "https://api.dilisense.com/v1/removeSearchProfile?profile_id=abcdefg-1234" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` -------------------------------- ### Register Individual for Monitoring (GET) Source: https://developers.dilisense.com/products/ongoing-monitoring Use this endpoint to register an individual for monitoring. It checks against sanction, PEP, and criminal watchlists. Optional parameters include date of birth, gender, and fuzzy search for name matching. Ensure your API key is included in the 'x-api-key' header. ```curl curl --location --request GET 'https://api.dilisense.com/v1/registerIndividual?profile_id=abcdefg-1234&names=Boris%20Johnson&fuzzy_search=1&dob=19/06/1964&gender=male' \ --header 'x-api-key: ' ``` ```python import requests url = "https://api.dilisense.com/v1/registerIndividual?profile_id=abcdefg-1234&names=Boris Johnson&fuzzy_search=1&dob=19/06/1964&gender=male" payload={} headers = { 'x-api-key': '' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` ```java HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.dilisense.com/v1/registerIndividual?profile_id=abcdefg-1234&names=Boris Johnson&fuzzy_search=1&dob=19/06/1964&gender=male")) .header("x-api-key", "") .build(); client.sendAsync(request, BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); ``` ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.dilisense.com/v1/registerIndividual?profile_id=abcdefg-1234&names=Boris Johnson&fuzzy_search=1&dob=19/06/1964&gender=male", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Remove Search Profile with Profile ID (JavaScript) Source: https://developers.dilisense.com/products/ongoing-monitoring Remove a search profile using JavaScript's fetch API. This example shows how to send a GET request to the removeSearchProfile endpoint with the necessary authentication and parameters. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.dilisense.com/v1/removeSearchProfile?profile_id=abcdefg-1234", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Individual Criminal Record Example Source: https://developers.dilisense.com/products/aml-database Example of an individual record from the Interpol most wanted list. ```json {"sourceId":"in_interpol_most_wanted_list","sourceType":"CRIMINAL","id":"9a18cb49f9ff6af5","entityType":"INDIVIDUAL","gender":"MALE","name":"TASAWAR IQBAL","lastNames":["IQBAL"],"givenNames":["TASAWAR"],"dateOfBirth":["07/09/1981"],"placeOfBirth":["Pakistan","Gujrat"],"citizenship":["Pakistan"],"sanctionDetails":["Issuing country: Pakistan","Charge: Murder"],"links":["https://www.interpol.int/en/How-we-work/Notices/View-Red-Notices#2018-14069"],"otherInformation":["Weight: 65 kg","Height: 1.72 m","Language spoken: Panjabi","Language spoken: Urdu","Eye color: BLA","Hair color: BLA"]} ``` -------------------------------- ### Download AML Database (Java) Source: https://developers.dilisense.com/products/aml-database This Java code snippet demonstrates how to download the AML Database using OkHttpClient. The API key is set as a header in the request. The response is obtained by executing the call. ```java OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("text/plain"); RequestBody body = RequestBody.create(mediaType, ""); Request request = new Request.Builder() .url("https://api.dilisense.com/v1/getConsolidatedFile") .method("GET", body) .addHeader("x-api-key", "") .build(); Response response = client.newCall(request).execute(); ``` -------------------------------- ### List Rows from Customer Table Source: https://developers.dilisense.com/tutorials/sanctions-screening-with-ms-power-automate Lists all rows from the 'Table1' in the Customers.xlsx file. This is a prerequisite for iterating through customer data to perform screening. ```Power Automate Action: "List rows present in a table" from "Excel Online (Business)" Location: OneDrive for Business Document Library: OneDrive File: //Customers.xlsx Table: Table1 ``` -------------------------------- ### Dilisense API Detailed Error Message Example Source: https://developers.dilisense.com/products/ongoing-monitoring Provides an example of a detailed JSON error message that can be returned by the Dilisense API. This message offers specific information about the cause of an error. ```json {"error_message": "The name parameter is mandatory, but has not been set."} ``` -------------------------------- ### Dilisense API Individual Check Response Example Source: https://developers.dilisense.com/ This is an example of the JSON payload returned by the Dilisense API when checking for an individual. It includes details like name, DOB, citizenship, occupations, and positions. ```json { "timestamp": "2024-09-24T19:16:00Z", "total_hits": 1, "found_records": [ { "id": "c438b18a93cd3c13", "entity_type": "INDIVIDUAL", "children": [ "Cassia Peaches Johnson", "Frank Alfred Odysseus Johnson", "Lara Lettice Johnson", "Milo Arthur Johnson", "Romy Iris Charlotte Johnson", "Stephanie Macintyre Johnson", "Theodore Apollo Johnson", "Wilfred Johnson" ], "name": "Boris Johnson", "address": [ "GB" ], "last_names": [ "Johnson", "Pfeffel" ], "alias_names": [ "Alexander Boris de Pfeffel Johnson", "Boris", "BoJo", "Bo Jo" ], "given_names": [ "Alexander", "Boris" ], "date_of_birth": [ "19/06/1964" ], "place_of_birth": [ "New York City" ], "citizenship": [ "GB", "US" ], "occupations": [ "journalist", "politician" ], "positions": [ "2001-06-07 - 2005-04-11 Member of the 53rd Parliament of the United Kingdom", "2005-05-05 - 2008-06-04 Member of the 54th Parliament of the United Kingdom", "2008-05-04 - 2016-05-07 Mayor of London", "2015-05-07 - 2017-05-03 Member of the 56th Parliament of the United Kingdom", "2016-07-13 - 2018-07-09 Secretary of State for Foreign and Commonwealth Affairs", "2017-06-08 - 2019-11-06 Member of the 57th Parliament of the United Kingdom", "Since 2016-01-01 Member of the Privy Council of the United Kingdom", "Since 2019-07-23 Leader of the Conservative Party", "Since 2019-07-24 First Lord of the Treasury", "Since 2019-07-24 Minister for the Civil Service", "Since 2019-07-24 Prime Minister of the United Kingdom", "Since 2019-07-26 Minister for the Union", "Since 2019-12-12 Member of the 58th Parliament of the United Kingdom" ], "political_parties": [ "Conservative Party" ], "links": [ "https://www.gov.uk/government/people/boris-johnson", "https://members.parliament.uk/member/1423/contact", "Facebook: borisjohnson", "https://members.parliament.uk", "https://www.gov.uk/government/people" ], "source_id": "dilisense_pep", "source_type": "PEP", "pep_type": "POLITICIAN", "gender": "MALE", "spouse": [ "Allegra Mostyn-Owen", "Carrie Johnson", "Marina Wheeler" ], "siblings": [ "Jo Johnson", "Leo Johnson", "Rachel Johnson" ], "list_date": "0", "parents": [ "Charlotte Johnson Wahl", "Stanley Johnson" ], "description": [ "Prime Minister of the United Kingdom from 2019 to 2022" ] } ] } ``` -------------------------------- ### Check Individual using JavaScript Fetch API Source: https://developers.dilisense.com/products/adverse-media-screening-api Shows how to make an individual media check request using the JavaScript `fetch` API in a browser or Node.js environment. Handles the response as text. ```javascript var myHeaders = new Headers(); myHeaders.append("x-api-key", ""); var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; fetch("https://api.dilisense.com/v1/media/checkIndividual?search_all=Boris Johnson", requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); ``` -------------------------------- ### Dilisense API Source List Response Example Source: https://developers.dilisense.com/ This is an example of the JSON response structure you can expect when calling the Dilisense API's 'getSourceList' endpoint. It details various sanction lists from different international organizations. ```json [ { "source": "af_african_development_bank_debarred_entities", "name": "Debarred Entities", "description": "The African Development Bank Group have imposed sanctions on entities found to have participated in fraudulent practices and are therefore ineligible to participate in contracts financed or administered by the African Development Bank Group.", "link": "https://www.afdb.org/en/projects-operations/debarment-and-sanctions-procedures", "source_type": "sanction", "region": "international", "country_code": "xx", "country_name": "Africa", "issuer_name": "African Development Bank", "size": 1013 }, { "source": "na_sa_idb_sanctioned_firms_and_individuals", "name": "Sanctioned Firms and Individuals", "description": "The Inter-American Development Bank have sanctioned firms and individuals for engaging in fraudulent, corrupt, collusive, coercive or obstructive practices, in violation of the IDB Group’s Sanctions Procedures and anti-corruption policies.", "link": "https://www.iadb.org/en/transparency/sanctioned-firms-and-individuals", "source_type": "sanction", "region": "international", "country_code": "xx", "country_name": "America", "issuer_name": "Inter-American Development Bank", "size": 1007 }, { "source": "as_asia_development_bank", "name": "Sanction List", "description": "The Asian Development Bank have imposed sanctions on entities who violated the sanctions while ineligible; entities who committed second and subsequent violations; debarred entities who are uncontactable; and cross debarred entities.", "link": "http://lnadbg4.adb.org/oga0009p.nsf/sancALLPublic?OpenView&count=999", "source_type": "sanction", "region": "international", "country_code": "xx", "country_name": "Asia", "issuer_name": "Asian Development Bank", "size": 1282 }, { "source": "ar_repet_personas_y_entidades", "name": "Registro Público de Personas y Entidades", "description": "The Argentine Ministry of Justice and Human Rights publishes a list of people and organizations related to terrorist attacks and their funding, also known as Registro Público de Personas y Entidades vinculadas a actos de Terrorismo y su Financiamiento.", "link": "https://repet.jus.gob.ar/", "source_type": "sanction", "region": "americas", "country_code": "ar", "country_name": "Argentina", "issuer_name": "RePET", "size": 578 }, { "source": "au_australian_department_of_foreign_affairs_and_trade_sanction_list", "name": "Consolidated List", "description": "The Department of Foreign Affairs and Trade of Australia (DFAT) have imposed financial sanctions and travel bans on persons and entities to which the Charter of the United Nations Act 1945 and the Autonomous Sanctions Act 2011 currently applies.", "link": "https://www.dfat.gov.au/international-relations/security/sanctions/consolidated-list", "source_type": "sanction", "region": "apac", "country_code": "au", "country_name": "Australia", "issuer_name": "Department of Foreign Affairs and Trade", "size": 3214 } ] ```