> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# OFAC Sanctions List Service

> The US Treasury OFAC Sanctions List Service's published list files: the Specially Designated Nationals (SDN) list and the consolidated non-SDN list, in the standard XML and the advanced data-model XML.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/_default.svg?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=951f11a0968af0d8747e234a1ec1f32c)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

No key needed

Endpoints

4

Auth

None

[Vendor docs](https://ofac.treasury.gov/sanctions-list-service)

## Setup

| Variable | | What it is |
| - | - | - |
| `OFAC_SLS_USER_AGENT` | optional | The User-Agent sent with every request; the SLS host rejects requests without one (403). E.g. your application name and a contact. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) 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/\&lt;file](http://www.treasury.gov/ofac/downloads/\&lt;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

GET

Download the SDN list (XML)

The full Specially Designated Nationals and Blocked Persons list: individuals, entities, vessels and aircraft with aliases, addresses, ids and programs.

[Open](#ofac-sls-sdn-xml)

GET

Download the consolidated non-SDN list (XML)

All of OFAC's non-SDN sanctions lists in one file, in the same format as SDN.XML.

[Open](#ofac-sls-consolidated-xml)

GET

Download the SDN list (advanced XML)

The SDN list in OFAC's Advanced Sanctions Data Model, with richer structure for identities, features and relationships.

[Open](#ofac-sls-sdn-advanced)

GET

Download the consolidated non-SDN list (advanced XML)

The consolidated non-SDN lists in the Advanced Sanctions Data Model.

[Open](#ofac-sls-consolidated-advanced)

### Download the SDN list (XML)

GET

`/api/PublicationPreview/exports/SDN.XML`

`ofac-sls.sdn.xml`

The full Specially Designated Nationals and Blocked Persons list: individuals, entities, vessels and aircraft with aliases, addresses, ids and programs.

Input

No inputs.

[Vendor docs](https://ofac.treasury.gov/recent-actions/20240507_44)

```python Python theme={null}
router.call_data_api("ofac-sls.sdn.xml")
```

```text MCP theme={null}
call_data_api(endpoint="ofac-sls.sdn.xml")
```

### Download the consolidated non-SDN list (XML)

GET

`/api/PublicationPreview/exports/CONSOLIDATED.XML`

`ofac-sls.consolidated.xml`

All of OFAC's non-SDN sanctions lists in one file, in the same format as SDN.XML.

Input

No inputs.

[Vendor docs](https://ofac.treasury.gov/recent-actions/20240507_44)

```python Python theme={null}
router.call_data_api("ofac-sls.consolidated.xml")
```

```text MCP theme={null}
call_data_api(endpoint="ofac-sls.consolidated.xml")
```

### Download the SDN list (advanced XML)

GET

`/api/PublicationPreview/exports/SDN_ADVANCED.XML`

`ofac-sls.sdn.advanced`

The SDN list in OFAC's Advanced Sanctions Data Model, with richer structure for identities, features and relationships.

Input

No inputs.

[Vendor docs](https://ofac.treasury.gov/recent-actions/20240507_44)

```python Python theme={null}
router.call_data_api("ofac-sls.sdn.advanced")
```

```text MCP theme={null}
call_data_api(endpoint="ofac-sls.sdn.advanced")
```

### Download the consolidated non-SDN list (advanced XML)

GET

`/api/PublicationPreview/exports/CONS_ADVANCED.XML`

`ofac-sls.consolidated.advanced`

The consolidated non-SDN lists in the Advanced Sanctions Data Model.

Input

No inputs.

[Vendor docs](https://ofac.treasury.gov/recent-actions/20240507_44)

```python Python theme={null}
router.call_data_api("ofac-sls.consolidated.advanced")
```

```text MCP theme={null}
call_data_api(endpoint="ofac-sls.consolidated.advanced")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.