curl -sS -X POST "https://api.intelliacore.fr/api/v1/screening/check" \
-H "X-API-Key: $AFIP_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"identifier": "0-105.com",
"identifier_type": "domain",
"context": { "reference": "QUICKSTART-001" }
}'
const res = await fetch("https://api.intelliacore.fr/api/v1/screening/check", {
method: "POST",
headers: {
"X-API-Key": process.env.AFIP_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
identifier: "0-105.com",
identifier_type: "domain",
context: { reference: "QUICKSTART-001" },
}),
signal: AbortSignal.timeout(10_000),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const result = await res.json();
// Separate proven detections (match: true) from reported lists (public_list != null)
console.log({ match: result.match, publicList: result.public_list, reasons: result.reasons });
import os
import requests
res = requests.post(
"https://api.intelliacore.fr/api/v1/screening/check",
headers={"X-API-Key": os.environ["AFIP_API_KEY"]},
json={
"identifier": "0-105.com",
"identifier_type": "domain",
"context": {"reference": "QUICKSTART-001"},
},
timeout=10,
)
res.raise_for_status()
data = res.json()
print("proven_match=", data["match"], "reported_list=", data["public_list"])