Skip to main content
POST
Records changes

Request contract

  • Method and path: POST /apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-changes
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/sanctionssearch-ofac-treas-gov/sanctions/records-changes
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
publication_id
number
required

publicationID (e.g. 1046) or a pasted /changes/{id} URL.

Response

The publisher's delta for one publication (GET /changes/{publicationID}, a 302 to the DeltaFile 1.0 XML on S3; publication ids come from publications or source_status), parsed into records: entity@action add (a full record), remove (the record as it was, delisted: true) and, for an entity without an action attribute, update with the changed children listed in changes (element, id, action add / update / remove, value) and a partial record built from those children; fetch records_get for the full current record of an update. counts gives entity-level and element-level action totals (the element-level counts are the ones OFAC's delta statistics quote). Fails with not_found when the service has no delta for the id (it answers 400 'Could not retrieve delta').

The response contains the tool result directly.

The provider identifies records as the primary payload key.

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