curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "17250"
}
'import requests
url = "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity"
payload = { "entity_id": "17250" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({entity_id: '17250'})
};
fetch('https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entity_id' => '17250'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity"
payload := strings.NewReader("{\n \"entity_id\": \"17250\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"entity_id\": \"17250\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity_id\": \"17250\"\n}"
response = http.request(request)
puts response.read_body{
"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"
}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.
curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entity_id": "17250"
}
'import requests
url = "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity"
payload = { "entity_id": "17250" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({entity_id: '17250'})
};
fetch('https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'entity_id' => '17250'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity"
payload := strings.NewReader("{\n \"entity_id\": \"17250\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"entity_id\": \"17250\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/entity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"entity_id\": \"17250\"\n}"
response = http.request(request)
puts response.read_body{
"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"
}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
{
"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.Authorizations
Body
Response
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.