Skip to main content

Embargo | Java SDK

The Pangea Embargo API lets developers quickly check IPs and country codes against known sanction and trade embargo lists.

ISO Code Check

isoCheck(java.lang.String)

Check a country code against known sanction and trade embargo lists.

required parameters

java.lang.String

Check the country against code the enabled embargo lists.

Response Object

IsoCheckResponse
 IsoCheckResponse response = client.isoCheck("CU");

Check IP

ipCheck(java.lang.String)

Check an IP against known sanction and trade embargo lists.

required parameters

java.lang.String

Geolocate this IP and check the corresponding country against the enabled embargo lists.

Response Object

IpCheckResponse
 IpCheckResponse response = client.ipCheck("213.24.238.26");