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.

String

Check the country against code the enabled embargo lists.

ISOCheckResponse

IsoCheckResponse

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

Check IP

ipCheck(String ip)

Check an IP against known sanction and trade embargo lists.

String

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

IPCheckResponse

IpCheckResponse

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