---
title: "Search Ofac"
method: POST
path: "/ofac/searches"
tags: ["OFAC"]
---

# Search Ofac

`POST /ofac/searches`

Search for OFAC matches by name.

## Request body

- V1OFACSearchRequest
  - `name` string, required — The name to search for in the OFAC database
  - `similarity_threshold` number — Similarity threshold for the search (0.0 to 1.0). Defaults to 0.9.
  - `limit` integer — The number of results to return. Max 50. Defaults to 1.

## Response `200`

Successful Response

- V1OFACSearchResponse — Response model for OFAC search results. This model defines the structure for OFAC search API responses.
  - `matches` V1OFACMatch[], required — The list of OFAC matches.
    - `name` string, required — The name of the OFAC entity.
    - `alternative_names` string[] — The alternative names of the OFAC entity.
    - `addresses` string[] — The addresses associated with the OFAC entity.
    - `similarity_score` number, required — The similarity score of the OFAC entity.
    - `program` string, nullable — The program of the OFAC entity.
    - `title` string, nullable — The title of the OFAC entity.
    - `remarks` string, nullable — Additional remarks about the OFAC entity.
  - `total_matches` integer, required — The total number of matches found.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/baselayer/apis/baselayer-api-service.md) · [All operations](https://skmtc.net/baselayer/apis/baselayer-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baselayer/baselayer-api-service/versions/0cc89938bc26/schema)
