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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Search

> Screen a name, ID number, digital currency address or address against OFAC's lists, or list the records of a program / country / type, and get entity ids for `record` or `entity`.

## Request contract

* **Method and path:** POST /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/search
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/search`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/sanctionssearch-ofac-treas-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "sanctionssearch-ofac-treas-gov.sanctions.search",
  "method": "POST",
  "path": "/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "id_number": "7736050003"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "address": {
              "description": "address",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "city": {
              "description": "city",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "country": {
              "description": "Country name exactly as the form's country list spells it (Cuba, Russia, Korea, North ...).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "id_number": {
              "description": "ID number or digital currency address (passport, tax id, registration number, wallet address ...), exact.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "list": {
              "description": "list\n\nProvider reference: allowed values [\"SDN\", \"Non-SDN\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "SDN",
                  "Non-SDN"
                ]
              }
            },
            "min_score": {
              "default": 100,
              "description": "Minimum name match score (the slider); 100 returns exact-ish matches only.\n\nProvider reference: minimum 50; maximum 100; default 100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 50
              }
            },
            "name": {
              "description": "Name (fuzzy, scored against the min_score threshold).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "programs": {
              "description": "Program codes as the form lists them (CUBA, RUSSIA-EO14024, UKRAINE-EO13662 ...; see `reference_lists`). Unknown codes fail with invalid_input.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "state": {
              "description": "State or province; U.S. states as the two-letter USPS abbreviation (the site's own rule).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "type": {
              "description": "type\n\nProvider reference: allowed values [\"Aircraft\", \"Entity\", \"Individual\", \"Vessel\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "Aircraft",
                  "Entity",
                  "Individual",
                  "Vessel"
                ]
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/sanctionssearch-ofac-treas-gov.json POST /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/search
openapi: 3.1.0
info:
  description: ''
  title: OFAC Sanctions List Search
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    sanctionssearch-ofac-treas-gov:
      description: ''
      title: OFAC Sanctions List Search
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 5db8475c359f632962cfb4b525aa7ae6a3f055e3ab7b2ab3c4455a0d0d869740
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/publications
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/record
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-changes
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/reference-lists
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/search
    - /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/source-status
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:4af08ca6bf76fd2c3108bee3007ecc756bd1340fa31bd529f09507332d50631b
    facts_hash: 5db8475c359f632962cfb4b525aa7ae6a3f055e3ab7b2ab3c4455a0d0d869740
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: sanctionssearch-ofac-treas-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/search:
    post:
      tags:
        - OFAC Sanctions List Search
      summary: Search
      description: >-
        Screen a name, ID number, digital currency address or address against
        OFAC's lists, or list the records of a program / country / type, and get
        entity ids for `record` or `entity`.
      operationId: sanctionssearch-ofac-treas-gov.sanctions.search
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  id_number: '7736050003'
            schema:
              additionalProperties: true
              properties:
                address:
                  description: address
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                city:
                  description: city
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                country:
                  description: >-
                    Country name exactly as the form's country list spells it
                    (Cuba, Russia, Korea, North ...).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                id_number:
                  description: >-
                    ID number or digital currency address (passport, tax id,
                    registration number, wallet address ...), exact.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                list:
                  description: |-
                    list

                    Provider reference: allowed values ["SDN", "Non-SDN"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - SDN
                      - Non-SDN
                min_score:
                  default: 100
                  description: >-
                    Minimum name match score (the slider); 100 returns exact-ish
                    matches only.


                    Provider reference: minimum 50; maximum 100; default 100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 50
                name:
                  description: Name (fuzzy, scored against the min_score threshold).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                programs:
                  description: >-
                    Program codes as the form lists them (CUBA, RUSSIA-EO14024,
                    UKRAINE-EO13662 ...; see `reference_lists`). Unknown codes
                    fail with invalid_input.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                state:
                  description: >-
                    State or province; U.S. states as the two-letter USPS
                    abbreviation (the site's own rule).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                type:
                  description: >-
                    type


                    Provider reference: allowed values ["Aircraft", "Entity",
                    "Individual", "Vessel"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - Aircraft
                      - Entity
                      - Individual
                      - Vessel
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-05.
                  summary: Official provider example
                  value:
                    non_sdn_list_updated: 9/14/2026 2:35:42 PM
                    observed_at_ms: 1791163786484
                    query:
                      id_number: '7736050003'
                      min_score: 100
                    results:
                      - address: 2/3 Lakhtinsky Avenue; Bldg. 1
                        detail_url: >-
                          https://sanctionssearch.ofac.treas.gov/Details.aspx?id=17250
                        entity_id: 17250
                        list: Non-SDN
                        name: PUBLIC JOINT STOCK COMPANY GAZPROM
                        programs:
                          - RUSSIA-EO14024
                          - UKRAINE-EO13662
                        score: null
                        type: Entity
                    sdn_list_updated: 10/2/2026 11:55:41 AM
                    source_url: https://sanctionssearch.ofac.treas.gov/
                    total: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Sanctions List Search: one WebForms postback (GET the form for its
            __VIEWSTATE, POST the criteria) returning every matching row of the
            SDN and Non-SDN lists at once (the site has no pager). Only `name`
            is fuzzy; `min_score` (default 100) is the minimum match score for
            name matches; `id_number` matches ID numbers and digital currency
            addresses exactly and rows then carry no score. `programs`,
            `country`, `type` and `list` must be values the form offers (the
            function validates them against the live option lists and fails with
            invalid_input otherwise). Each row carries the OFAC entity id shared
            with `record` and `entity`. A search that matches nothing is a
            successful empty result (total 0).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `non_sdn_list_updated` | string |  |

            | `observed_at_ms` | number |  |

            | `query` | object |  |

            | `results` | object[] |  |

            | `sdn_list_updated` | string | As printed, US Eastern, e.g.
            '10/2/2026 11:55:41 AM'. |

            | `source_url` | string |  |

            | `total` | number | The page's 'Lookup Results: N Found'; equals
            results.length. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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