Use case · Compliance & sanctions

Enforce jurisdiction at the edge.

Financial services, crypto, gaming, and export-controlled SaaS all need a country determination on every request — and a paper trail for audits.

What IP-Atlas gives you

FieldUse
countryISO 3166-1 alpha-2, RIR-sourced. Check against OFAC SDN, EU sanctions, UK HMT lists.
registryWhich RIR allocated the block. Useful for regional enforcement audits.
is_vpn, is_datacenterFlag attempts to bypass geo blocks via VPN or cloud relays.
abuse_contact roadmapFor automated takedown notices when you detect abuse.

OFAC-style block pattern

// Current US-OFAC comprehensive-sanctions list (2026)
const BLOCKED = ['IR', 'KP', 'SY', 'CU'];

app.use(async (req, res, next) => {
  const r = await ipa.lookup(req.ip);
  if (BLOCKED.includes(r.country)) {
    audit.log({ event: 'sanctions-block', ip: req.ip, country: r.country, ts: Date.now() });
    return res.status(451).send('Service not available in your jurisdiction.');
  }
  if (r.is_vpn) {
    // extra scrutiny: challenge with KYC step-up
  }
  next();
});

Audit considerations

This page is engineering guidance, not legal advice. Your compliance team owns the list. We give you a reliable country determination and the signals to catch bypass attempts.
Start free