# Address screening

> Check wallet addresses against the US Treasury OFAC SDN list with POST /v1/screen, see screening results on quotes, orders and checkout, and opt your account in to refuse sanctioned addresses. Source, update schedule and limits.

Source: https://docs.layerhop.com/guides/address-screening

LayerHop checks the addresses in quotes, orders, deposit addresses and checkout payments against the digital currency addresses that the US Treasury's Office of Foreign Assets Control (OFAC) publishes on its **Specially Designated Nationals (SDN) list**. You can also screen any address yourself.

> [!IMPORTANT]
> This is a lookup in one public list, not a compliance program and not legal advice. It finds an address only when that exact address is on the list. It does no clustering, no transaction tracing and no risk scoring, so funds that passed through a listed address are not flagged. If you have screening obligations, get advice for your own situation.

## Source and freshness

- **Source:** the official SDN list, downloaded as XML from the [OFAC Sanctions List Service](https://sanctionslistservice.ofac.treas.gov). LayerHop reads every `Digital Currency Address - …` entry (XBT, ETH, USDT, USDC, TRX, SOL, LTC and the others OFAC lists), about a thousand addresses.
- **Schedule:** once a day. A download that is broken, truncated or much smaller than the stored list is refused and the previous list stays in use.
- **Version:** every result carries `listUpdatedAt`, the publish date of the list it was checked against.
- **Matching:** exact. EVM addresses (`0x…`) and bech32 addresses (`bc1…`) ignore letter case; base58 addresses (Solana, Tron, legacy Bitcoin) are case-sensitive, as on chain. An address OFAC removes from the list stops matching after the next daily update.

## Screen addresses

```bash
curl https://api.layerhop.com/v1/screen \
  -H "content-type: application/json" \
  -d '{"addresses":["0x098B716B8Aaf21512996dC57EB0615e2383E2f96","0x1111111111111111111111111111111111111111"]}'
```

```json
{
  "results": [
    { "address": "0x098B716B8Aaf21512996dC57EB0615e2383E2f96", "sanctioned": true, "lists": ["OFAC SDN"], "source": "ofac_sdn", "listUpdatedAt": "2026-10-28T00:00:00.000Z" },
    { "address": "0x1111111111111111111111111111111111111111", "sanctioned": false, "lists": [], "source": "ofac_sdn", "listUpdatedAt": "2026-10-28T00:00:00.000Z" }
  ],
  "list": { "source": "ofac_sdn", "name": "OFAC SDN", "publishedAt": "2026-10-28T00:00:00.000Z", "fetchedAt": "2026-11-04T06:00:00.000Z", "addressCount": 1081 },
  "enforced": false
}
```

Up to 100 addresses per request. With the SDK: `await lh.screen([address])`. When `list` is `null`, no list is loaded yet and every result says `sanctioned: false`; don't treat that as a pass.

## Screening on quotes, orders and checkout

Responses of [`GET /v1/quote`](/api-reference#get-quotes), [`GET /v1/quote/stream`](/guides/live-quotes), [`POST /v1/orders`](/api-reference#build-the-transaction) and checkout quotes include a `screening` object once a list is loaded:

```json
"screening": {
  "source": "ofac_sdn",
  "listUpdatedAt": "2026-10-28T00:00:00.000Z",
  "sanctioned": [{ "address": "0x098B…2f96", "role": "sender", "lists": ["OFAC SDN"] }]
}
```

`sanctioned` is empty when no address of the request is listed. Roles: `sender`, `recipient`, `refundTo` (deposit addresses), `payer` and `payout` (checkout).

## Refusing sanctioned addresses

By default LayerHop only reports matches. A request is refused with [`ADDRESS_SANCTIONED`](/errors/ADDRESS_SANCTIONED) (HTTP 451, the listed addresses in `error.details.sanctioned`) when:

- **your account opted in:** `PUT /v1/dashboard/screening` with `{ "block": true }` (signed in to the dashboard; `GET` shows the current setting). It applies to quotes and orders made with your API keys, to your deposit addresses, and to your checkout sessions: their payout address, and every payer of your hosted or embedded checkout. It takes effect within a minute.
- **the deployment enforces it for everyone** (`enforced: true` in `POST /v1/screen`).

Checked at each step: creating a checkout session or deposit address, quoting, and building the order (the list may change in between).

## Limits

- One list (OFAC SDN). Other countries' lists, the OFAC consolidated non-SDN lists and private vendors' data are not included.
- Address-level only: no wallet clustering, no exposure to listed addresses through intermediaries, no names or entities.
- "Send to address" (scan-to-pay) payments don't know the payer's address in advance, so they can't be refused before they arrive.
- The check covers what LayerHop sees in the request. Your own obligations (KYC, other lists, record keeping) are yours.
