> ## 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

# Entity

> You have an OFAC entity id (from `search`, `record` or elsewhere) and want the structured, machine-readable record instead of the HTML details page.

## Request contract

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

[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.entity",
  "method": "POST",
  "path": "/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity",
  "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": {
              "entity_id": "17250"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "entity_id": {
              "description": "OFAC entity id as digits ('17250') or a pasted /entities/{id} or Details.aspx?id= URL.",
              "type": "string"
            }
          },
          "required": [
            "entity_id"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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/entity
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/entity:
    post:
      tags:
        - OFAC Sanctions List Search
      summary: Entity
      description: >-
        You have an OFAC entity id (from `search`, `record` or elsewhere) and
        want the structured, machine-readable record instead of the HTML details
        page.
      operationId: sanctionssearch-ofac-treas-gov.sanctions.entity
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  entity_id: '17250'
            schema:
              additionalProperties: true
              properties:
                entity_id:
                  description: >-
                    OFAC entity id as digits ('17250') or a pasted
                    /entities/{id} or Details.aspx?id= URL.
                  type: string
              required:
                - entity_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-05.
                  summary: Official provider example
                  value:
                    addresses:
                      - address_id: 26288
                        country: Russia
                        parts:
                          - type: ADDRESS1
                            value: 2/3 Lakhtinsky Avenue
                          - type: ADDRESS2
                            value: Bldg. 1
                          - type: CITY
                            value: St. Petersburg
                          - type: STATE/PROVINCE
                            value: Russia
                          - type: POSTAL CODE
                            value: '197229'
                      - address_id: 26290
                        country: Russia
                        parts:
                          - type: ADDRESS1
                            value: BOX 1255
                          - type: CITY
                            value: St. Petersburg
                          - type: POSTAL CODE
                            value: '190900'
                      - address_id: 52480
                        country: Russia
                        parts:
                          - type: ADDRESS1
                            value: 156A Moskovsky Avenue
                          - type: CITY
                            value: St. Petersburg
                    data_as_of: '2026-10-04T21:30:02.7818598-04:00'
                    entity_id: 17250
                    entity_type: Entity
                    features:
                      - date_from: null
                        date_to: null
                        feature_id: 16147
                        is_primary: true
                        type: Executive Order 13662 Directive Determination -
                        value: Subject to Directive 4
                      - date_from: null
                        date_to: null
                        feature_id: 46693
                        is_primary: true
                        type: Executive Order 14024 Directive Information
                        value: >-
                          Subject to Directive 3 - All transactions in,
                          provision of financing for, and other dealings in new
                          debt of longer than 14 days maturity or new equity
                          where such new debt or new equity is issued on or
                          after the 'Effective Date (EO 14024 Directive)'
                          associated with this name are prohibited.
                      - date_from: null
                        date_to: null
                        feature_id: 46723
                        is_primary: true
                        type: Executive Order 14024 Directive Information -
                        value: >-
                          For more information on directives, please visit the
                          following link:
                          https://home.treasury.gov/policy-issues/financial-sanctions/sanctions-programs-and-country-information/russian-harmful-foreign-activities-sanctions#directives
                      - date_from: '2022-02-24'
                        date_to: '2022-02-24'
                        feature_id: 46844
                        is_primary: true
                        type: 'Listing Date (EO 14024 Directive 3):'
                        value: 24 Feb 2022
                      - date_from: '2022-03-26'
                        date_to: '2022-03-26'
                        feature_id: 46846
                        is_primary: true
                        type: 'Effective Date (EO 14024 Directive 3):'
                        value: 26 Mar 2022
                      - date_from: null
                        date_to: null
                        feature_id: 51216
                        is_primary: true
                        type: 'Secondary sanctions risk:'
                        value: >-
                          Ukraine-/Russia-Related Sanctions Regulations, 31 CFR
                          589.201 and/or 589.209
                    identity_documents:
                      - document_id: 9668
                        document_number: '00040778'
                        expiration_date: null
                        is_valid: true
                        issue_date: null
                        issuing_country: Russia
                        type: Government Gazette Number
                      - document_id: 9669
                        document_number: '7736050003'
                        expiration_date: null
                        is_valid: true
                        issue_date: null
                        issuing_country: Russia
                        type: Tax ID No.
                      - document_id: 9672
                        document_number: '1027700070518'
                        expiration_date: null
                        is_valid: true
                        issue_date: null
                        issuing_country: Russia
                        type: Registration Number
                    identity_id: 8994
                    legal_authorities:
                      - Executive Order 13662 (Ukraine)
                      - Executive Order 14024 (Russia)
                    names:
                      - alias_type: null
                        is_low_quality: false
                        is_primary: true
                        name_id: 26547
                        translations:
                          - formatted_first_name: null
                            formatted_full_name: PUBLIC JOINT STOCK COMPANY GAZPROM
                            formatted_last_name: PUBLIC JOINT STOCK COMPANY GAZPROM
                            is_primary: true
                            name_parts:
                              - type: Entity Name
                                value: Public Joint Stock Company Gazprom
                            script: Latin
                      - alias_type: A.K.A.
                        is_low_quality: false
                        is_primary: false
                        name_id: 26548
                        translations:
                          - formatted_first_name: null
                            formatted_full_name: GAZPROM PAO
                            formatted_last_name: GAZPROM PAO
                            is_primary: true
                            name_parts:
                              - type: Entity Name
                                value: Gazprom PAO
                            script: Latin
                      - alias_type: A.K.A.
                        is_low_quality: false
                        is_primary: false
                        name_id: 26549
                        translations:
                          - formatted_first_name: null
                            formatted_full_name: PJSC GAZPROM
                            formatted_last_name: PJSC GAZPROM
                            is_primary: true
                            name_parts:
                              - type: Entity Name
                                value: PJSC Gazprom
                            script: Latin
                      - alias_type: A.K.A.
                        is_low_quality: false
                        is_primary: false
                        name_id: 54934
                        translations:
                          - formatted_first_name: null
                            formatted_full_name: GAZPROM
                            formatted_last_name: GAZPROM
                            is_primary: true
                            name_parts:
                              - type: Entity Name
                                value: Gazprom
                            script: Latin
                    observed_at_ms: 1791163803058
                    remarks: >-
                      For more information on directives, please visit the
                      following link:
                      http://www.treasury.gov/resource-center/sanctions/Programs/Pages/ukraine.aspx#directives.
                    sanctions_lists:
                      - date_published: '2014-09-12'
                        name: Sectoral Sanctions Identifications List
                      - date_published: '2014-10-10'
                        name: Consolidated List
                      - date_published: '2022-02-24'
                        name: Non-SDN Menu-Based Sanctions List
                    sanctions_programs:
                      - UKRAINE-EO13662
                      - RUSSIA-EO14024
                    sanctions_types:
                      - 13662 Sectoral Directive 4
                      - Executive Order 14024 Directive 3
                    source_url: https://sanctionslistservice.ofac.treas.gov/entities/17250
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Sanctions List Service Enhanced XML record of one entity (GET
            /entities/{id}, anonymous): identity id, entity type, remarks,
            sanctions lists with their publication dates, programs, sanctions
            types, legal authorities, every name with its alias type and script
            translations and name parts, addresses (country and typed parts),
            features (typed values, with date ranges where the feature is a
            date) and identity documents (type, number, validity, issuing
            country, dates). Dates are ISO as the service returns them. The
            service's data may include historically removed records and is for
            research, not transaction screening (its own warning). Fails with
            not_found when the service returns no entity for the id.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `addresses` | object[] |  |

            | `data_as_of` | string | publicationInfo/dataAsOf as returned
            (request time, US Eastern offset). |

            | `entity_id` | number |  |

            | `entity_type` | string |  |

            | `features` | object[] |  |

            | `identity_documents` | object[] |  |

            | `identity_id` | number |  |

            | `legal_authorities` | string[] |  |

            | `names` | object[] |  |

            | `observed_at_ms` | number |  |

            | `remarks` | string |  |

            | `sanctions_lists` | object[] |  |

            | `sanctions_programs` | string[] |  |

            | `sanctions_types` | string[] |  |

            | `source_url` | string |  |



            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.