curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "36"
}'import requests
url = "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get"
payload = { "id": "36" }
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({id: '36'})
};
fetch('https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get', 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/records-get",
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([
'id' => '36'
]),
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/records-get"
payload := strings.NewReader("{\n \"id\": \"36\"\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/records-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"36\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get")
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 \"id\": \"36\"\n}"
response = http.request(request)
puts response.read_body{
"data_as_of": "2026-10-17T19:22:58.5826067-04:00",
"observed_at_ms": 1792279379005,
"record": {
"addresses": [
{
"address_id": 25,
"city": "Havana",
"country": "Cuba",
"lines": [],
"other_parts": [],
"postal_code": null,
"state_province": null
}
],
"birth_dates": [],
"birth_places": [],
"citizenships": [],
"delisted": null,
"entity_type": "organization",
"entity_type_raw": "Entity",
"extra": {
"features": []
},
"identifiers": [],
"identity_id": 4375,
"legal_basis": [],
"listed_on": "1986-12-10",
"lists": [
{
"listed_on": "1986-12-10",
"name": "SDN List"
}
],
"measures": [
"asset_freeze"
],
"names": [
{
"alias_type": null,
"is_low_quality": false,
"name": "AEROCARIBBEAN AIRLINES",
"script": "Latin",
"type": "primary"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "AERO-CARIBBEAN",
"script": "Latin",
"type": "alias"
}
],
"nationalities": [],
"primary_name": "AEROCARIBBEAN AIRLINES",
"programs": [
"CUBA"
],
"publication_id": 1054,
"relationships": [],
"remarks": null,
"retrieved_at": "2026-10-17T23:22:58Z",
"sanctions_types": [
"Block"
],
"source_id": 36,
"source_record_id": "ofac:36",
"source_url": "https://sanctionslistservice.ofac.treas.gov/entities/36",
"un_reference": null
}
}Records get
Fetch one sanctioned party by id in the collector’s normalized shape (the entity function returns the same XML with every field as published).
curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "36"
}'import requests
url = "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get"
payload = { "id": "36" }
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({id: '36'})
};
fetch('https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get', 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/records-get",
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([
'id' => '36'
]),
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/records-get"
payload := strings.NewReader("{\n \"id\": \"36\"\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/records-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"36\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get")
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 \"id\": \"36\"\n}"
response = http.request(request)
puts response.read_body{
"data_as_of": "2026-10-17T19:22:58.5826067-04:00",
"observed_at_ms": 1792279379005,
"record": {
"addresses": [
{
"address_id": 25,
"city": "Havana",
"country": "Cuba",
"lines": [],
"other_parts": [],
"postal_code": null,
"state_province": null
}
],
"birth_dates": [],
"birth_places": [],
"citizenships": [],
"delisted": null,
"entity_type": "organization",
"entity_type_raw": "Entity",
"extra": {
"features": []
},
"identifiers": [],
"identity_id": 4375,
"legal_basis": [],
"listed_on": "1986-12-10",
"lists": [
{
"listed_on": "1986-12-10",
"name": "SDN List"
}
],
"measures": [
"asset_freeze"
],
"names": [
{
"alias_type": null,
"is_low_quality": false,
"name": "AEROCARIBBEAN AIRLINES",
"script": "Latin",
"type": "primary"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "AERO-CARIBBEAN",
"script": "Latin",
"type": "alias"
}
],
"nationalities": [],
"primary_name": "AEROCARIBBEAN AIRLINES",
"programs": [
"CUBA"
],
"publication_id": 1054,
"relationships": [],
"remarks": null,
"retrieved_at": "2026-10-17T23:22:58Z",
"sanctions_types": [
"Block"
],
"source_id": 36,
"source_record_id": "ofac:36",
"source_url": "https://sanctionslistservice.ofac.treas.gov/entities/36",
"un_reference": null
}
}Request contract
- Method and path: POST /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get
{
"operationId": "sanctionssearch-ofac-treas-gov.sanctions.records-get",
"method": "POST",
"path": "/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-get",
"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": "36"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"id": {
"description": "OFAC entity id (digits) or an SLS /entities/{id} / sanctionssearch Details.aspx?id= URL.",
"type": "string"
}
},
"required": [
"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
One record by OFAC entity id (or a pasted SLS /entities/{id} or sanctionssearch Details.aspx?id= URL), from GET /entities/{id} (live Enhanced XML, the service's current data), shaped into the batch's common record; publication_id is the newest publicationID from /changes/history at retrieval time because the live endpoint serves no publication id of its own. Fails with not_found when the service returns no entity for the id. The service's own warning applies: its live data may include historic records and is not the official list file.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
data_as_of | string | |
observed_at_ms | number | |
record | object |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.