InternationalTradeAdministration / developerportal

Welcome to the Trade Developer Portal. Through this site, the Federal government gives software developers access to authoritative information on U.S. exports and international trade via standard APIs. The data accessible here is targeted at helping U.S. small businesses export and expand their operations in overseas markets.
http://developer.trade.gov
37 stars 41 forks source link

Different results in API compared to Treasury website #136

Closed rrudden closed 2 years ago

rrudden commented 2 years ago

I am getting different scoring results when using the Trade.gov Consolidated Screening List API v1 and the Treasury OFAC Sanctions List Search Tool (https://sanctionssearch.ofac.treas.gov/)

Example 1: Searching for the name "ESMAL KATEB" on the Treasury website w/ a minimum name score of 80 will return 5 results with scores ranging from 81 to 91 (See screenshot)

Screen Shot 2022-09-26 at 10 10 02 AM

The same search in the Trade.gov API yields these results:

{ "total": 5, "sources": [{ "count": 5, "value": "Specially Designated Nationals (SDN) - Treasury Department" }], "results": [{ "id": "SDN-39017", "name": "KHATIB, Esmail", "alt_names": [ "KHATIB, Seyed Esmaeil" ], "call_sign": null, "citizenships": [], "country": null, "dates_of_birth": [ "1960 to 1961" ], "end_date": null, "entity_number": "39017", "federal_register_notice": null, "gross_registered_tonnage": null, "gross_tonnage": null, "license_policy": null, "license_requirement": null, "nationalities": [ "IR" ], "places_of_birth": [ "Ghayenat, South Khorasan Province, Iran" ], "programs": [ "IFSR", "CYBER2", "IRAN-HR" ], "remarks": "(Linked To: IRANIAN MINISTRY OF INTELLIGENCE AND SECURITY)", "source": "Specially Designated Nationals (SDN) - Treasury Department", "source_information_url": "http://bit.ly/1MLgpye", "source_list_url": "http://bit.ly/1I7ipyR", "standard_order": null, "start_date": null, "title": null, "type": "Individual", "vessel_flag": null, "vessel_owner": null, "vessel_type": null, "addresses": [{ "address": null, "city": null, "state": null, "postal_code": null, "country": "IR" }], "ids": [{ "type": "Additional Sanctions Information -", "country": null, "expiration_date": null, "issue_date": null, "number": "Subject to Secondary Sanctions" }, { "type": "Gender", "country": null, "expiration_date": null, "issue_date": null, "number": "Male" } ], "score": 80.0 }, { "id": "SDN-33332", "name": "ISMAIL, Talib Husayn Ali Jarak", "alt_names": [ "ESMAEL, Taleb H. A. J." ], "call_sign": null, "citizenships": [], "country": null, "dates_of_birth": [ "1956-04-30" ], "end_date": null, "entity_number": "33332", "federal_register_notice": null, "gross_registered_tonnage": null, "gross_tonnage": null, "license_policy": null, "license_requirement": null, "nationalities": [ "KW" ], "places_of_birth": [ "Kuwait City, Kuwait" ], "programs": [ "SDGT" ], "remarks": "(Linked To: HIZBALLAH)", "source": "Specially Designated Nationals (SDN) - Treasury Department", "source_information_url": "http://bit.ly/1MLgpye", "source_list_url": "http://bit.ly/1I7ipyR", "standard_order": null, "start_date": null, "title": null, "type": "Individual", "vessel_flag": null, "vessel_owner": null, "vessel_type": null, "addresses": [{ "address": "Block 8, Street 20, House No. 33", "city": "Jabriya", "state": null, "postal_code": null, "country": "KW" }, { "address": "Street 21, Salem Al Mubarak Avenue, Block 20, Building 13", "city": "Salmiya", "state": null, "postal_code": null, "country": "KW" }, { "address": "PO Box 3390, Safat 13034", "city": "Kuwait City", "state": null, "postal_code": null, "country": "KW" }, { "address": "PO Box 126, Safat 13002", "city": "Kuwait City", "state": null, "postal_code": null, "country": "KW" }, { "address": "Block 8, Street 103, Building 33, Apartment 33", "city": "Jabriya", "state": null, "postal_code": null, "country": "KW" }, { "address": "Mubarak Al Kabir, Darwaza abdul Razak Square", "city": "Kuwait City", "state": null, "postal_code": null, "country": "KW" } ], "ids": [{ "type": "Gender", "country": null, "expiration_date": null, "issue_date": null, "number": "Male" }], "score": 80.0 }, { "id": "SDN-7210", "name": "AL-MASRI, Abu Hamza", "alt_names": [ "AL-MISRI, Abu Hamza", "MUSTAFA, Mustafa Kamel", "KAMEL, Mustafa", "EMAN, Adam Ramsey" ], "call_sign": null, "citizenships": [], "country": null, "dates_of_birth": [ "1958-04-15" ], "end_date": null, "entity_number": "7210", "federal_register_notice": null, "gross_registered_tonnage": null, "gross_tonnage": null, "license_policy": null, "license_requirement": null, "nationalities": [], "places_of_birth": [], "programs": [ "SDGT" ], "remarks": null, "source": "Specially Designated Nationals (SDN) - Treasury Department", "source_information_url": "http://bit.ly/1MLgpye", "source_list_url": "http://bit.ly/1I7ipyR", "standard_order": null, "start_date": null, "title": null, "type": "Individual", "vessel_flag": null, "vessel_owner": null, "vessel_type": null, "addresses": [{ "address": "9 Albourne Road, Shepherds Bush", "city": "London", "state": null, "postal_code": "W12 OLW", "country": "GB" }, { "address": "8 Adie Road, Hammersmith", "city": "London", "state": null, "postal_code": "W6 OPW", "country": "GB" } ], "ids": [], "score": 80.0 }, { "id": "SDN-9758", "name": "IBRAHIM, Dawood", "alt_names": [ "EBRAHIM, Dawood", "HASSAN, Dawood", "IBRAHIM, Dawood Sheik", "KASKAR, Dawood Ibrahim", "SABRI, Dawood", "SAHEB, Amir", "SETH, Iqbal", "REHMAN, Shaikh Ismail Abdul", "AZIZ, Abdul Hamid Abdul", "DILIP, Aziz", "ANIS, Ibrahim Shaikh Mohd", "HASAN, Shaikh Daud", "IBRAHIM, Anis" ], "call_sign": null, "citizenships": [ "IN", "PK", "AE" ], "country": null, "dates_of_birth": [ "1955-12-26", "1955-12-31" ], "end_date": null, "entity_number": "9758", "federal_register_notice": null, "gross_registered_tonnage": null, "gross_tonnage": null, "license_policy": null, "license_requirement": null, "nationalities": [ "IN" ], "places_of_birth": [ "Ratnagiri, Maharashtra, India" ], "programs": [ "SDGT", "SDNTK" ], "remarks": null, "source": "Specially Designated Nationals (SDN) - Treasury Department", "source_information_url": "http://bit.ly/1MLgpye", "source_list_url": "http://bit.ly/1I7ipyR", "standard_order": null, "start_date": null, "title": null, "type": "Individual", "vessel_flag": null, "vessel_owner": null, "vessel_type": null, "addresses": [{ "address": "617 CP Berar Society, Block 7-8", "city": "Karachi", "state": null, "postal_code": null, "country": "PK" }, { "address": "House No. 37, Street 30, Phase V, Defence Housing Authority", "city": "Karachi", "state": null, "postal_code": null, "country": "PK" }, { "address": "White House, Al-Wassal Road, Jumeira", "city": "Dubai", "state": null, "postal_code": null, "country": "AE" }, { "address": "33-36, Pakmodiya Street, Haji Musafirkhana, Dongri", "city": "Bombay", "state": null, "postal_code": null, "country": "IN" }, { "address": "House No. 10, Hill Top Arcade, Defence Housing Authority", "city": "Karachi", "state": null, "postal_code": null, "country": "PK" }, { "address": "Moin Palace, 2nd Floor, Opp. Abdullah Shah Gazi Dargah, Clifton", "city": "Karachi", "state": null, "postal_code": null, "country": "PK" } ], "ids": [{ "type": "Passport", "country": "AE", "expiration_date": null, "issue_date": "1985-08-18", "number": "A-717288" }, { "type": "Passport", "country": "YE", "expiration_date": null, "issue_date": "1989-09-02", "number": "F-823692" }, { "type": "Passport", "country": "PK", "expiration_date": null, "issue_date": null, "number": "G-869537" }, { "type": "Passport", "country": "PK", "expiration_date": null, "issue_date": "1991-08-12", "number": "G-866537" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1983-10-03", "number": "V-57865" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1975-07-30", "number": "K-560098" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1979-07-30", "number": "P-537849" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1985-07-26", "number": "A-501801" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1985-06-04", "number": "A-333602" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1981-11-26", "number": "R-841697" }, { "type": "Passport", "country": "IN", "expiration_date": null, "issue_date": "1978-11-13", "number": "M-110522" } ], "score": 80.0 }, { "id": "SDN-9595", "name": "AL-FAQIH, Abd al-Rahman", "alt_names": [ "ALBASHIR, Mohammed", "AL-BASHIR, Muhammad", "AL-FAQI, Bashir Mohammed Ibrahim", "ABU MOHAMMED", "ISMAIL, Mohammed", "ABU ABD AL-RAHMAN", "AL-KHATAB, Abd Al Rahman", "MUSTAFA", "MAHMUD", "ABU KHALID", "MOHAMMED, Al-Basher" ], "call_sign": null, "citizenships": [], "country": null, "dates_of_birth": [ "1959-12-15" ], "end_date": null, "entity_number": "9595", "federal_register_notice": null, "gross_registered_tonnage": null, "gross_tonnage": null, "license_policy": null, "license_requirement": null, "nationalities": [], "places_of_birth": [ "Libya" ], "programs": [ "SDGT" ], "remarks": null, "source": "Specially Designated Nationals (SDN) - Treasury Department", "source_information_url": "http://bit.ly/1MLgpye", "source_list_url": "http://bit.ly/1I7ipyR", "standard_order": null, "start_date": null, "title": null, "type": "Individual", "vessel_flag": null, "vessel_owner": null, "vessel_type": null, "addresses": [{ "address": null, "city": "Birmingham", "state": null, "postal_code": null, "country": "GB" }], "ids": [], "score": 80.0 } ] }

These results have all scored 80 despite the fact that some of the individuals on the list are the same as in the screenshot

It seems like the score of 80 appears quite a lot. If I do a similar comparison using the name MARY JACKSON, the Treasury website will return results with top scores of 85, 84 and 80, yet the scores are all 80 again out of the API.

Can you help me understand why the two sources return slightly different results, and different scores?