Skip to main content
POST
Source status

Request contract

  • Method and path: POST /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/source-status
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/source-status
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
list
string
required

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

Cheap version check of one OFAC list for collectors: the latest publication (GET /changes/history/{year}: publicationID and datePublished), the export catalogue (POST /api/PublicationPreview/SdnList or /ConsolidatedList: every file with size, lastUpdated and OFAC's posted SHA-256 / SHA-384 / SHA-512, the hashes shown under 'File Signatures' on sanctionslist.ofac.treas.gov), the legacy XML header read with a 2 KB Range request (publshInformation Publish_Date and Record_Count) and the Enhanced XML object's S3 metadata read with a 4 KB Range request (x-amz-meta-publication-id, ETag, byte size, dataAsOf). bulk_file is the hand-off for the SDN list (110 MB, above the 32 MiB fetch cap): URL, size, posted SHA-256, publication id; fits_single_fetch says whether one fetch can read it. Four requests, no file download.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.