curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"list": "consolidated"
}
'import requests
url = "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list"
payload = { "list": "consolidated" }
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({list: 'consolidated'})
};
fetch('https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list', 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-list",
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([
'list' => 'consolidated'
]),
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-list"
payload := strings.NewReader("{\n \"list\": \"consolidated\"\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-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"list\": \"consolidated\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list")
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 \"list\": \"consolidated\"\n}"
response = http.request(request)
puts response.read_body{
"data_as_of": "2026-09-14T00:00:00",
"etag": "\"c3c6cc83b5526fc19c9b638ea999313f\"",
"file_name": "CONS_ENHANCED.XML",
"file_size": 3829359,
"list": "consolidated",
"next_cursor": "v1|consolidated|1054|\"c3c6cc83b5526fc19c9b638ea999313f\"|3829359|147440|2026-09-14T00:00:00",
"next_offset": 147440,
"observed_at_ms": 1792279367689,
"publication_id": 1054,
"records": [
{
"addresses": [
{
"address_id": 12813,
"city": null,
"country": null,
"lines": [],
"other_parts": [],
"postal_code": null,
"state_province": null
}
],
"birth_dates": [
{
"approximate": false,
"from": "1951-01-01",
"is_range": false,
"to": "1951-12-31",
"value": "1951"
}
],
"birth_places": [
"Umm Tuba"
],
"citizenships": [],
"delisted": null,
"entity_type": "person",
"entity_type_raw": "Individual",
"extra": {
"features": []
},
"identifiers": [],
"identity_id": 1979,
"legal_basis": [
"General License 4 Under EO 13224 (Terrorism)"
],
"listed_on": "2006-04-12",
"lists": [
{
"listed_on": "2006-04-12",
"name": "Non-SDN Palestinian Legislative Council List"
},
{
"listed_on": "2014-10-10",
"name": "Consolidated List"
}
],
"measures": [
"other"
],
"names": [
{
"alias_type": null,
"is_low_quality": false,
"name": "ABU TEIR, Mohammed",
"script": "Latin",
"type": "primary"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "ABU TAIR, Mohammed Mahmud",
"script": "Latin",
"type": "alias"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "ABOU TAYR, Mohammad Mahmoud",
"script": "Latin",
"type": "alias"
}
],
"nationalities": [],
"primary_name": "ABU TEIR, Mohammed",
"programs": [
"NS-PLC"
],
"publication_id": 1054,
"relationships": [],
"remarks": null,
"retrieved_at": "2026-10-17T23:22:43Z",
"sanctions_types": [
"Reject"
],
"source_id": 9640,
"source_record_id": "ofac:9640",
"source_url": "https://sanctionslistservice.ofac.treas.gov/entities/9640",
"un_reference": null
},
{
"addresses": [
{
"address_id": 12128,
"city": null,
"country": "Palestinian",
"lines": [],
"other_parts": [],
"postal_code": null,
"state_province": "Gaza"
}
],
"birth_dates": [
{
"approximate": false,
"from": "1955-01-01",
"is_range": false,
"to": "1955-12-31",
"value": "1955"
}
],
"birth_places": [
"Jabalia Camp"
],
"citizenships": [],
"delisted": null,
"entity_type": "person",
"entity_type_raw": "Individual",
"extra": {
"features": []
},
"identifiers": [],
"identity_id": 1980,
"legal_basis": [
"General License 4 Under EO 13224 (Terrorism)"
],
"listed_on": "2006-04-12",
"lists": [
{
"listed_on": "2006-04-12",
"name": "Non-SDN Palestinian Legislative Council List"
},
{
"listed_on": "2014-10-10",
"name": "Consolidated List"
}
],
"measures": [
"other"
],
"names": [
{
"alias_type": null,
"is_low_quality": false,
"name": "AL-SHANTI, Jamileh Abdullah",
"script": "Latin",
"type": "primary"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "EL-SHANTI, Jameela Abdallah",
"script": "Latin",
"type": "alias"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "AL SHANTEE, Jamila Abed Allah",
"script": "Latin",
"type": "alias"
}
],
"nationalities": [],
"primary_name": "AL-SHANTI, Jamileh Abdullah",
"programs": [
"NS-PLC"
],
"publication_id": 1054,
"relationships": [],
"remarks": null,
"retrieved_at": "2026-10-17T23:22:43Z",
"sanctions_types": [
"Reject"
],
"source_id": 9641,
"source_record_id": "ofac:9641",
"source_url": "https://sanctionslistservice.ofac.treas.gov/entities/9641",
"un_reference": null
}
],
"retrieved_at": "2026-10-17T23:22:43Z",
"source_url": "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/CONS_ENHANCED.XML"
}Records list
Collect the whole SDN or Consolidated list record by record. Use source_status first to learn the publication and skip unchanged lists; use records_changes for deltas.
curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"list": "consolidated"
}
'import requests
url = "https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list"
payload = { "list": "consolidated" }
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({list: 'consolidated'})
};
fetch('https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list', 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-list",
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([
'list' => 'consolidated'
]),
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-list"
payload := strings.NewReader("{\n \"list\": \"consolidated\"\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-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"list\": \"consolidated\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list")
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 \"list\": \"consolidated\"\n}"
response = http.request(request)
puts response.read_body{
"data_as_of": "2026-09-14T00:00:00",
"etag": "\"c3c6cc83b5526fc19c9b638ea999313f\"",
"file_name": "CONS_ENHANCED.XML",
"file_size": 3829359,
"list": "consolidated",
"next_cursor": "v1|consolidated|1054|\"c3c6cc83b5526fc19c9b638ea999313f\"|3829359|147440|2026-09-14T00:00:00",
"next_offset": 147440,
"observed_at_ms": 1792279367689,
"publication_id": 1054,
"records": [
{
"addresses": [
{
"address_id": 12813,
"city": null,
"country": null,
"lines": [],
"other_parts": [],
"postal_code": null,
"state_province": null
}
],
"birth_dates": [
{
"approximate": false,
"from": "1951-01-01",
"is_range": false,
"to": "1951-12-31",
"value": "1951"
}
],
"birth_places": [
"Umm Tuba"
],
"citizenships": [],
"delisted": null,
"entity_type": "person",
"entity_type_raw": "Individual",
"extra": {
"features": []
},
"identifiers": [],
"identity_id": 1979,
"legal_basis": [
"General License 4 Under EO 13224 (Terrorism)"
],
"listed_on": "2006-04-12",
"lists": [
{
"listed_on": "2006-04-12",
"name": "Non-SDN Palestinian Legislative Council List"
},
{
"listed_on": "2014-10-10",
"name": "Consolidated List"
}
],
"measures": [
"other"
],
"names": [
{
"alias_type": null,
"is_low_quality": false,
"name": "ABU TEIR, Mohammed",
"script": "Latin",
"type": "primary"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "ABU TAIR, Mohammed Mahmud",
"script": "Latin",
"type": "alias"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "ABOU TAYR, Mohammad Mahmoud",
"script": "Latin",
"type": "alias"
}
],
"nationalities": [],
"primary_name": "ABU TEIR, Mohammed",
"programs": [
"NS-PLC"
],
"publication_id": 1054,
"relationships": [],
"remarks": null,
"retrieved_at": "2026-10-17T23:22:43Z",
"sanctions_types": [
"Reject"
],
"source_id": 9640,
"source_record_id": "ofac:9640",
"source_url": "https://sanctionslistservice.ofac.treas.gov/entities/9640",
"un_reference": null
},
{
"addresses": [
{
"address_id": 12128,
"city": null,
"country": "Palestinian",
"lines": [],
"other_parts": [],
"postal_code": null,
"state_province": "Gaza"
}
],
"birth_dates": [
{
"approximate": false,
"from": "1955-01-01",
"is_range": false,
"to": "1955-12-31",
"value": "1955"
}
],
"birth_places": [
"Jabalia Camp"
],
"citizenships": [],
"delisted": null,
"entity_type": "person",
"entity_type_raw": "Individual",
"extra": {
"features": []
},
"identifiers": [],
"identity_id": 1980,
"legal_basis": [
"General License 4 Under EO 13224 (Terrorism)"
],
"listed_on": "2006-04-12",
"lists": [
{
"listed_on": "2006-04-12",
"name": "Non-SDN Palestinian Legislative Council List"
},
{
"listed_on": "2014-10-10",
"name": "Consolidated List"
}
],
"measures": [
"other"
],
"names": [
{
"alias_type": null,
"is_low_quality": false,
"name": "AL-SHANTI, Jamileh Abdullah",
"script": "Latin",
"type": "primary"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "EL-SHANTI, Jameela Abdallah",
"script": "Latin",
"type": "alias"
},
{
"alias_type": "A.K.A.",
"is_low_quality": false,
"name": "AL SHANTEE, Jamila Abed Allah",
"script": "Latin",
"type": "alias"
}
],
"nationalities": [],
"primary_name": "AL-SHANTI, Jamileh Abdullah",
"programs": [
"NS-PLC"
],
"publication_id": 1054,
"relationships": [],
"remarks": null,
"retrieved_at": "2026-10-17T23:22:43Z",
"sanctions_types": [
"Reject"
],
"source_id": 9641,
"source_record_id": "ofac:9641",
"source_url": "https://sanctionslistservice.ofac.treas.gov/entities/9641",
"un_reference": null
}
],
"retrieved_at": "2026-10-17T23:22:43Z",
"source_url": "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/CONS_ENHANCED.XML"
}Request contract
- Method and path: POST /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list
{
"operationId": "sanctionssearch-ofac-treas-gov.sanctions.records-list",
"method": "POST",
"path": "/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-list",
"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": {
"list": "consolidated",
"page_size": 2
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"cursor": {
"description": "The `next_cursor` of the previous page; omit for the first page.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"list": {
"description": "Which OFAC list: `sdn` (Specially Designated Nationals, export files SDN_ENHANCED.XML / SDN.XML) or `consolidated` (the Consolidated non-SDN list: SSI, FSE, CAPTA, PLC, MBS, CMIC..., export files CONS_ENHANCED.XML / CONSOLIDATED.XML).\n\nProvider reference: allowed values [\"sdn\", \"consolidated\"].",
"type": "string"
},
"page_size": {
"default": 100,
"description": "Maximum records per page (pages may be shorter).\n\nProvider reference: minimum 1; maximum 500; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 500,
"min": 1
}
}
},
"required": [
"list"
],
"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
Which OFAC list: sdn (Specially Designated Nationals, export files SDN_ENHANCED.XML / SDN.XML) or consolidated (the Consolidated non-SDN list: SSI, FSE, CAPTA, PLC, MBS, CMIC..., export files CONS_ENHANCED.XML / CONSOLIDATED.XML).
Provider reference: allowed values ["sdn", "consolidated"].
Response
The full current list, one page of records at a time, read from the official Enhanced XML export (GET /api/PublicationPreview/exports/SDN_ENHANCED.XML or CONS_ENHANCED.XML, 302 to the presigned S3 object) with HTTP Range windows so every fetch stays under the 32 MiB cap: a page fetches one byte window (page_size x 16 KiB, 256 KiB to 8 MiB, grown up to 24 MiB when a single entity is larger), shapes the complete elements in it (at most page_size; a page may be shorter than page_size, never empty before the end) and returns a cursor holding the byte offset after the last record. The cursor is pinned to the S3 object (x-amz-meta-publication-id, ETag, byte size): when OFAC publishes a new file between pages the next call fails with invalid_input, issue code publication_changed at /cursor, instead of mixing publications; start again without a cursor. The Consolidated list (481 records, 3.8 MB) takes five pages of 100; the SDN list (about 19,500 records, 110 MB) about 200. Records are in file order and carry source_record_id, source_url, publication_id and retrieved_at.
The response contains the tool result directly.
The provider identifies records as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
addresses | object[] | |
birth_dates | object[] | |
birth_places | string[] | |
citizenships | string[] | Citizenship Country feature values. |
delisted | boolean | true only for a remove change record; null otherwise (the current lists carry no delisted records). |
entity_type | string | Individual = person, Entity = organization, Vessel, Aircraft; anything else (or a partial change record without generalInfo) = other. |
entity_type_raw | string | generalInfo/entityType as published (Individual, Entity, Vessel, Aircraft); null only in a partial change record. |
extra | object | |
identifiers | object[] | |
identity_id | number | generalInfo/identityId; null in a partial change record. |
legal_basis | string[] | legalAuthority values. |
listed_on | string | Earliest sanctionsList@datePublished. |
lists | object[] | |
measures | string[] | sanctionsType Block = asset_freeze; every other sanctions type (sectoral directives, CAPTA, menu-based...) = other. Deduplicated. |
names | object[] | |
nationalities | string[] | Nationality Country feature values. |
primary_name | string | name[isPrimary]/translation[isPrimary]/formattedFullName. Always a string in records_list and records_get; null only in a change record whose delta does not carry the primary name. |
programs | string[] | sanctionsProgram codes (CUBA, SDGT, RUSSIA-EO14024...). |
publication_id | number | The publication the record belongs to: the S3 object's publication id for records_list, the delta's publication for records_changes, the latest publication id at retrieval time for records_get (its endpoint serves live data). |
relationships | object[] | |
remarks | string | |
retrieved_at | string | UTC, RFC 3339. |
sanctions_types | string[] | sanctionsType values as published. |
source_id | number | The numeric entity id. |
source_record_id | string | ofac:<entity id>; the entity id is OFAC's own, shared by every SLS endpoint, the delta files and sanctionssearch Details.aspx?id=. |
source_url | string | https://sanctionslistservice.ofac.treas.gov/entities/{id} |
un_reference | object | OFAC publishes no UN reference; always null, kept for the batch's common shape. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.