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(String isoCode)

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

required parameters

String

Check the country against code the enabled embargo lists.

Response Object

ISOCheckResponse

IsoCheckResponse

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

Check IP

ipCheck(String ip)

Check an IP against known sanction and trade embargo lists.

required parameters

String

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

Response Object

IPCheckResponse

IpCheckResponse

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