Sanctions Datasets API
Retrieve the available sanctions datasets. Use the returned `id` as `datasourceId` in the search, page and filter endpoints with `datasourceType=2`.
ENDPOINTS
POST /api/v1/sanctions/datasets
Request parameters
No request body required.
curl https://api.tradedata.io/api/v1/sanctions/datasets \
-H "Authorization: Bearer yourTokenHere" \
-H "Content-Type: application/json" \
-d '{}'
import requests
response = requests.post(
"https://api.tradedata.io/api/v1/sanctions/datasets",
headers={
"Authorization": "Bearer yourTokenHere",
"Content-Type": "application/json",
},
json={},
)
print(response.json())
const response = await fetch("https://api.tradedata.io/api/v1/sanctions/datasets", {
method: "POST",
headers: {
"Authorization": "Bearer yourTokenHere",
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
const data = await response.json();
<?php
$ch = curl_init("https://api.tradedata.io/api/v1/sanctions/datasets");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer yourTokenHere",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([]),
]);
echo curl_exec($ch);
Response parameters
data
array
Dataset list.
data.id
string
Dataset ID. Use as datasourceId.
- Example:
ru_acf_bribetakers
data.name
string
Dataset name.
- Example:
ACF List of War Enablers
Response Example
{
"code": 200,
"success": true,
"data": [
{
"id": "ru_acf_bribetakers",
"name": "ACF List of War Enablers"
}
],
"msg": "success",
"total": 0,
"pageSize": 0,
"current": 0,
"sumResult": null
}
Sanctions Collection API
Retrieve the top-level sanctions data collections. Use the returned `id` as `datasourceId` in the search, page and filter endpoints with `datasourceType=1`.
Sanctions Search API
Full-text search across sanctioned entities, returning matching entities with schema type, names and ID.