---
title: "OFAC Sanctions List API: 2 endpoints, 1 credit per call"
description: "OFAC Sanctions List API to screen names against the US Treasury SDN and non-SDN lists with a 0-100 match score, as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/ofac
---

[APIs](https://perceptlayer.com/apis) / [Finance](https://perceptlayer.com/verticals/finance) / OFAC Sanctions List

1 credit per call 2 endpoints 9 datapoints 

# OFAC Sanctions List API

OFAC Sanctions List API to screen names against the US Treasury SDN and non-SDN lists with a 0-100 match score, as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

OFAC Sanctions List

GET /v1/ofac/sdn-search?name=Banco+Nacional+de+Cuba 

```
{
  "success": true,
  "data": {
    "query": "Banco Nacional de Cuba",
    "min_score": 85,
    "lists": [
      "sdn"
    ],
    "published": {
      "sdn": "2026-12-02"
    },
    "disclaimer": "A screening aid built on OFAC's published lists, not a compliance determination. Confirm any match against the official list and the full entry before acting.",
    "total": 9,
    "count": 9,
    "items": [
      {
        "uid": 306,
        "list": "sdn",
        "name": "BANCO NACIONAL DE CUBA",
        "type": "entity",
        "programs": [
          "CUBA"
        ],
        "score": 100,
        "matched_name": "BANCO NACIONAL DE CUBA",
        "remarks": "a.k.a. 'BNC'.",
        "addresses": [
          {
            "address": "Zweierstrasse 35",
            "city": "Zurich CH-8022",
            "country": "Switzerland"
          },
          {
            "address": "Avenida de Concha Espina 8",
            "city": "Madrid E-28036",
            "country": "Spain"
          },
          {
            "address": "Dai-Ichi Bldg. 6th Floor, 10-2 Nihombashi, 2-chome, Chuo-ku",
            "city": "Tokyo 103",
            "country": "Japan"
          }
        ]
      },
      {
        "uid": 1042,
        "list": "sdn",
        "name": "INSTITUTO NACIONAL DE TURISMO DE CUBA",
        "type": "entity",
        "programs": [
          "CUBA"
        ],
        "score": 92.1,
        "matched_name": "INSTITUTO NACIONAL DE TURISMO DE CUBA",
        "addresses": [
          {
            "country": "Spain"
          }
        ]
      },
      {
        "uid": 58490,
        "list": "sdn",
        "name": "BANCO EXTERIOR DE CUBA",
        "type": "entity",
        "programs": [
          "CUBA-EO14404"
        ],
        "score": 92.1,
        "matched_name": "BANCO EXTERIOR DE CUBA",
        "remarks": "SWIFT/BIC BECUCUHH; Website bancoexteriorcuba.cu; Organization Established Date 29 Feb 2000; Target Type Financial Institution; Entity Code 259 (Cuba).",
        "addresses": [
          {
            "address": "Plaza de la Revolucion",
            "city": "Havana",
            "country": "Cuba"
          }
        ]
      }
    ]
  },
  "meta": {
    "request_id": "req_0fb9978d5d67409186360efa3cc82adb",
    "credits_charged": 1,
    "credits_remaining": 160
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `sdn-search`: the fields and shapes you will get, shortened to 3 items.

| # | uid integer | list string | name string | type string | programs string\[\] | score number | matched\_name string | remarks string | addresses object\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 306 | sdn | BANCO NACIONAL DE CUBA | entity | \[1 item\] | 100 | BANCO NACIONAL DE CUBA | a.k.a. 'BNC'. | \[3 items\] |
| 2 | 1042 | sdn | INSTITUTO NACIONAL DE TURISMO DE CUBA | entity | \[1 item\] | 92.1 | INSTITUTO NACIONAL DE TURISMO DE CUBA | — | \[1 item\] |
| 3 | 58490 | sdn | BANCO EXTERIOR DE CUBA | entity | \[1 item\] | 92.1 | BANCO EXTERIOR DE CUBA | SWIFT/BIC BECUCUHH; Website bancoexteriorcuba.cu; Organization Established Date 29 Feb 2000; Target Type Financial Institution; Entity Code 259 (Cuba). | \[1 item\] |

Recorded from our API · 3 items shown · 9 datapoints per item GET /v1/ofac/sdn-search?name=Banco+Nacional+de+Cuba

9 datapoints

### Identity

-   uid integer
-   name string
-   type string
-   matched\_name string

### Location

-   addresses object\[\]

### Reputation

-   score number

### Other

-   list string
-   programs string\[\]
-   remarks string

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/ofac/sdn-search?name=Banco+Nacional+de+Cuba" \
  -H "X-API-Key: $API_KEY"
```

OFAC Sanctions List · 2 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/ofac/sdn-entry`](https://perceptlayer.com/apis/ofac/sdn-entry) | `uid` +1 optional | `uid` `list` `name` `type` `programs` `remarks` +4 more | 1 credit |
| [GET `/v1/ofac/sdn-search`](https://perceptlayer.com/apis/ofac/sdn-search) | `name` +5 optional | `min_score` `lists` `published` `disclaimer` `items` | 1 credit |

Overview

## About the OFAC Sanctions List API

## What you can get

The OFAC Sanctions List API screens a name against the US Treasury's Specially Designated Nationals (SDN) list and its consolidated non-SDN list, and returns entries as JSON through 2 endpoints.

-   **Search:** `sdn-search` takes a `name` and returns entries whose name or alias matches, each with `uid`, `list`, `name`, `type`, `programs`, a `score` from 0 to 100, the `matched_name` (or `matched_alias`), `remarks` and `addresses`. Filter with `type` (individual, entity, vessel or aircraft), `program`, `list` (sdn, non-sdn or all) and `min_score` (default 85), and cap results with `limit`.
-   **Entry:** `sdn-entry` takes a `uid` and `list` and returns the full entry: every alias (aka, fka, nka), addresses, programs, remarks and, for vessels, the vessel details.

Every answer carries `published`, the date of the list it was checked against, and a `disclaimer`.

The recorded search for "Banco Nacional de Cuba" with `type=entity`, checked against the SDN list published 2026-12-02, reported a `total` of 9. The top hit was BANCO NACIONAL DE CUBA (uid 306, program CUBA) at score 100, with addresses in Zurich, Madrid and Tokyo; its `sdn-entry` lists the alias NATIONAL BANK OF CUBA.

## How a call works

Screen a name: `GET /v1/ofac/sdn-search?name=Banco+Nacional+de+Cuba&type=entity` with your key in the `X-API-Key` header. Then read the full entry: `GET /v1/ofac/sdn-entry?uid=306&list=sdn`. Lists are refreshed from OFAC's published files at most an hour old. Every successful call costs 1 credit; failed calls cost nothing.

Finance JSON REST MCP

### More finance APIs

[ARES](https://perceptlayer.com/apis/ares) [Brønnøysund Register Centre](https://perceptlayer.com/apis/brreg) [CoinGecko](https://perceptlayer.com/apis/coingecko) [CoinMarketCap](https://perceptlayer.com/apis/coinmarketcap) [DEX Screener](https://perceptlayer.com/apis/dexscreener) [FDIC BankFind](https://perceptlayer.com/apis/fdic) [Finnish Patent and Registration Office](https://perceptlayer.com/apis/prh) [Finviz](https://perceptlayer.com/apis/finviz) [LEI Lookup](https://perceptlayer.com/apis/lei) [MarketWatch](https://perceptlayer.com/apis/marketwatch) [Morningstar](https://perceptlayer.com/apis/morningstar) [Nasdaq](https://perceptlayer.com/apis/nasdaq)

Use cases

### Screen a new customer, supplier or counterparty name before onboarding

`Use the OFAC Sanctions List API to screen a new customer, supplier or counterparty name before onboarding` 

### Re-check a vendor list against the latest published list date

`Use the OFAC Sanctions List API to re-check a vendor list against the latest published list date` 

### Let a compliance agent pull the full entry, aliases and programs for a possible match

`Use the OFAC Sanctions List API to let a compliance agent pull the full entry, aliases and programs for a possible match` 

### Filter screening to vessels or aircraft for shipping and logistics checks

`Use the OFAC Sanctions List API to filter screening to vessels or aircraft for shipping and logistics checks` 

FAQ

## Questions

**Is this a compliance determination?**

No. It is a screening aid built on OFAC's published lists. A match means a name is similar, not that the person or company is the listed party. Confirm any match against the official list and the full entry before acting.

**How is the score worked out?**

Names are normalised (accents dropped, lower case, punctuation removed, words sorted). The score is the higher of the Jaro-Winkler similarity of the whole names and the average best match of each word in your query, times 100. Aliases are scored the same way, and the best of the name and its aliases counts.

**Is this the official OFAC API?**

No. OFAC publishes its lists as files and its own Sanctions List Search on its website; it does not offer this search as an API. Perceptlayer is not affiliated with OFAC or the US Treasury. This API searches the published lists for you and adds one key for every source on Perceptlayer, a JSON shape, and no charge for failed calls.

**How much does the OFAC Sanctions List API cost?**

Each successful call costs one credit, whether it returns one match or many. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Should I build an OFAC Sanctions List scraper instead?**

You can, but an OFAC Sanctions List scraper is code you maintain: page changes break it, requests get blocked, and OFAC Sanctions List's terms govern how you collect data. The OFAC Sanctions List API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the OFAC Sanctions List API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
