Embargo | Node.js SDK
The Pangea Embargo API lets developers quickly check IPs and country codes against known sanction and trade embargo lists.
Check IP
ipCheck(ipAddress: string): Promise<PangeaResponse<CheckResult>>Check an IP against known sanction and trade embargo lists.
const response = await embargo.ipCheck("190.6.64.94");
ISO code check
isoCheck(isoCode: string): Promise<PangeaResponse<CheckResult>>Check a country code against known sanction and trade embargo lists.
const response = await embargo.isoCheck("CU");