curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status"
payload = {}
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({})
};
fetch('https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status', 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/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status",
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([
]),
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/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status"
payload := strings.NewReader("{}")
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/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status")
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 = "{}"
response = http.request(request)
puts response.read_body{
"content_hash": {
"algorithm": "md5",
"covers": "UK-Sanctions-List.xml",
"value": "0003c78785f6de6ddbf1ab50bad8e74f"
},
"date_generated": "16/10/2026",
"date_generated_iso": "2026-10-16",
"etag": "0003c78785f6de6ddbf1ab50bad8e74f",
"files": [
{
"bytes": 22051514,
"content_type": "text/xml",
"etag": "0003c78785f6de6ddbf1ab50bad8e74f",
"format": "xml",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "csv",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.csv"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "txt",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.txt"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "ods",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.ods"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "odt",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.odt"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "html",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.html"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "pdf",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.pdf"
}
],
"govuk": {
"api_url": "https://www.gov.uk/api/content/government/publications/the-uk-sanctions-list",
"change_history_count": 482,
"content_id": "0f379d0c-0a9c-4ac4-918c-5248e1facb85",
"first_published_at": "2020-07-06T00:00:00+01:00",
"latest_change": {
"note": "Made 3 variations under the ISIL (Da'esh) & Al-Qaida sanctions regime.",
"public_timestamp": "2026-10-16T09:30:50Z"
},
"page_url": "https://www.gov.uk/government/publications/the-uk-sanctions-list",
"public_updated_at": "2026-10-16T10:30:50+01:00",
"title": "The UK Sanctions List",
"updated_at": "2026-10-16T14:06:37+01:00"
},
"last_modified": "Fri, 16 Oct 2026 09:29:07 GMT",
"observed_at_ms": 1792279076613,
"publication_id": "0003c78785f6de6ddbf1ab50bad8e74f",
"published_at": "2026-10-16T09:29:07Z",
"retrieved_at": "2026-10-17T23:17:56Z",
"schema": {
"content_type": "application/xml",
"file_size": 16418,
"title": "UK Sanctions List schema",
"url": "https://assets.publishing.service.gov.uk/media/6916e72cdb01ecfcf96fc96b/SanctionsListSchema-4.33.3.xsd"
},
"source_url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml"
}Source status
Before a collection run, to decide whether the list changed since the last publication_id, or to get the file URLs and size for a hand-off.
curl --request POST \
--url https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status"
payload = {}
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({})
};
fetch('https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status', 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/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status",
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([
]),
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/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status"
payload := strings.NewReader("{}")
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/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status")
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 = "{}"
response = http.request(request)
puts response.read_body{
"content_hash": {
"algorithm": "md5",
"covers": "UK-Sanctions-List.xml",
"value": "0003c78785f6de6ddbf1ab50bad8e74f"
},
"date_generated": "16/10/2026",
"date_generated_iso": "2026-10-16",
"etag": "0003c78785f6de6ddbf1ab50bad8e74f",
"files": [
{
"bytes": 22051514,
"content_type": "text/xml",
"etag": "0003c78785f6de6ddbf1ab50bad8e74f",
"format": "xml",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "csv",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.csv"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "txt",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.txt"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "ods",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.ods"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "odt",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.odt"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "html",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.html"
},
{
"bytes": null,
"content_type": null,
"etag": null,
"format": "pdf",
"listed_on_govuk": true,
"url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.pdf"
}
],
"govuk": {
"api_url": "https://www.gov.uk/api/content/government/publications/the-uk-sanctions-list",
"change_history_count": 482,
"content_id": "0f379d0c-0a9c-4ac4-918c-5248e1facb85",
"first_published_at": "2020-07-06T00:00:00+01:00",
"latest_change": {
"note": "Made 3 variations under the ISIL (Da'esh) & Al-Qaida sanctions regime.",
"public_timestamp": "2026-10-16T09:30:50Z"
},
"page_url": "https://www.gov.uk/government/publications/the-uk-sanctions-list",
"public_updated_at": "2026-10-16T10:30:50+01:00",
"title": "The UK Sanctions List",
"updated_at": "2026-10-16T14:06:37+01:00"
},
"last_modified": "Fri, 16 Oct 2026 09:29:07 GMT",
"observed_at_ms": 1792279076613,
"publication_id": "0003c78785f6de6ddbf1ab50bad8e74f",
"published_at": "2026-10-16T09:29:07Z",
"retrieved_at": "2026-10-17T23:17:56Z",
"schema": {
"content_type": "application/xml",
"file_size": 16418,
"title": "UK Sanctions List schema",
"url": "https://assets.publishing.service.gov.uk/media/6916e72cdb01ecfcf96fc96b/SanctionsListSchema-4.33.3.xsd"
},
"source_url": "https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml"
}Request contract
- Method and path: POST /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status
{
"operationId": "sanctionslist-fcdo-gov-uk.sanctions-screening.source-status",
"method": "POST",
"path": "/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status",
"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": {}
}
},
"schema": {
"additionalProperties": true,
"properties": {},
"type": "object"
}
}
},
"required": false
},
"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
The body is of type object.
Response
Cheap version check of the published file: a 1 KB Range read of UK-Sanctions-List.xml (ETag as publication_id and MD5 content hash, Last-Modified as published_at, total size, the file's DateGenerated) and the gov.uk Content API record (public_updated_at, latest change note, attachment list for every published format). The record count is not returned because it needs the whole 22 MB file; records_list reports total_records on every page.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
content_hash | object | |
date_generated | string | The file's (dd/mm/yyyy). |
date_generated_iso | string | |
etag | string | |
files | object[] | Every published format on sanctionslist.fcdo.gov.uk. Only the XML is read; bytes, content_type and etag are null for the others (fetching them would spend the WAF rate budget). |
govuk | object | Version metadata from the gov.uk Content API record of the publication (www.gov.uk/api/content/government/publications/the-uk-sanctions-list). |
last_modified | string | Last-Modified as sent. |
observed_at_ms | number | |
publication_id | string | The S3 ETag of UK-Sanctions-List.xml; the key every record and cursor is pinned to. |
published_at | string | Last-Modified of the XML as an ISO 8601 UTC timestamp. |
retrieved_at | string | |
schema | object | The XSD attachment on gov.uk (assets.publishing.service.gov.uk), when listed. |
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.