Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Free and keyless, but the host answers 403 to requests with no User-Agent header; set OFAC_SLS_USER_AGENT.
  • These are whole-list XML downloads, not a search API: download once and match locally, and re-download when OFAC publishes changes.
  • The old www.treasury.gov/ofac/downloads/<file> URLs redirect here.
  • The XML schemas are at /api/PublicationPreview/exports/XML.xsd (standard files) and /api/PublicationPreview/exports/ADVANCED_XML.xsd (advanced files).

Endpoints

Download the SDN list (XML)

Download the consolidated non-SDN list (XML)

Download the SDN list (advanced XML)

Download the consolidated non-SDN list (advanced XML)