# OFAC Screening API

> Public sanctions screening against the U.S. Treasury OFAC lists (SDN +
> Consolidated). The twin forwards each call to the Quovy reference services,
> which run the screening and the official Sanctions List Search.

Base URL: https://twins.quovy.com/ofac
Authentication: none for callers (public, CORS-enabled). Every screen embeds the query, so
be considerate.

## POST https://twins.quovy.com/ofac/screen

Screen one entity, or a batch of up to 100, against the OFAC dataset.

Single entity — only `name` is required; `type`, `country`,
`date_of_birth`, `aliases`, and `identifiers` sharpen the match.
`type` is one of person, organization, vessel, aircraft.

    curl -X POST https://twins.quovy.com/ofac/screen \
      -H 'Content-Type: application/json' \
      -d '{"entity":{"name":"Vladimir Putin","type":"person","country":"Russia"}}'

Batch:

    {"entities":[{"name":"Sberbank","type":"organization"},{"name":"Kim Jong Un","type":"person"}]}

Response:

    {
      "id": "scr_2ac64f9a-...",
      "object": "screen",
      "status": "match",
      "created": 1781755928,
      "input": { "name": "Vladimir Putin", "type": "person" },
      "hits": [
        {
          "confidence": "match",
          "score": 0.74,
          "source": "ofac",
          "entity_id": "35096",
          "name": "Vladimir Vladimirovich PUTIN",
          "type": "person",
          "programs": ["RUSSIA-EO14024"],
          "aliases": ["Vladimir PUTIN"],
          "dob": "07 Oct 1952",
          "nationality": "Russia",
          "reasons": [
            { "code": "strong_name_match", "matched": "Vladimir Vladimirovich PUTIN" },
            { "code": "text_match" },
            { "code": "country_match", "matched": "Russia" }
          ]
        }
      ],
      "sources": { "ofac": { "published_at": "2026-06-17", "refreshed_at": "2026-06-18T04:12:08Z" } }
    }

A batch request returns { "results": [ ... ] } with one response per input.

## POST https://twins.quovy.com/ofac/search

The official Sanctions List Search, with the screening form's filters. Each
matched alias is its own row, ranked by a 0-100 name score. Every field is
optional, but send at least one of name, id, identifiers, program, address,
city, state or country. `minimum_score` defaults to 100 (exact).
`limit` defaults to 100 rows, up to 1000; `has_more` is true when more rows
matched than were returned.

    curl -X POST https://twins.quovy.com/ofac/search \
      -H 'Content-Type: application/json' \
      -d '{"name":"Putin","type":"person","list":"sdn","minimum_score":90}'

Response: { "object": "search", "query": {...}, "result_count": 1,
"has_more": false, "results":
[{ "entity_id": "35096", "name": "PUTIN, Vladimir Vladimirovich", "type":
"person", "score": 100, "programs": ["RUSSIA-EO14024"], "list": "SDN" }],
"sources": {...} }

`GET /search?q=` is a shortcut for a name-only search at limit 1000.

## GET https://twins.quovy.com/ofac/report?name=&type=&country=&minimum_score=&entity=

Official PDF screening report. Runs a fresh search (up to 1000 rows) and
returns application/pdf, rendered by quovy-services POST /v1/search/report,
with the search criteria, data provenance, a determination and every result
row. If more rows matched, the report says "Showing N of more than N
results." The filename comes in the Content-Disposition header. `name` is
required; the rest are optional. Pass `entity` (an entity_id such as
`ofac_35096`) to narrow the report to a single matched record; an entity
the search doesn't return is a 404 `entity_not_found`.

    curl -OJ "https://twins.quovy.com/ofac/report?name=Vladimir%20Putin&type=person&country=Russia"

## GET https://twins.quovy.com/ofac/entities/{id}

Fetch a single OFAC entity by its entity_id — the full record (programs,
lists, aliases, addresses, dates and places of birth, identifiers, remarks).
Accepts `35096` or `ofac_35096`. An unknown id is a 404 with
{ "error": "...", "code": "not_found" }.

    curl "https://twins.quovy.com/ofac/entities/35096"

## GET https://twins.quovy.com/ofac/datasets

Datasets the services host, with publish and refresh times and record counts.

## GET https://twins.quovy.com/ofac/health

Health of the screening service: { "status": "ok" | "degraded", "datasets": { "ofac": "fresh" | "stale" } }.

## Determinations

- match — strong evidence the entity is on a sanctions list.
- possible_match — some signals fired; recommend human review.
- no_match — no evidence of sanctions involvement.

## Reason codes

- exact_name_match — trigram similarity >= 0.95
- strong_name_match — similarity >= 0.70, or name contained in the entity
- weak_name_match — similarity >= 0.40
- text_match — full-text search hit
- semantic_match — embedding cosine similarity >= 0.78
- identifier_match — exact match on passport, tax id, etc.
- dob_match / dob_conflict — date-of-birth year overlap or mismatch
- country_match — nationality matches the input country
- type_conflict — entity type (person / organization) does not match

Source: U.S. Treasury OFAC SDN + Consolidated lists. A demonstration screening
instrument.
