80trust / 100

Pep Screen

by Factline in Security & trust

x402 APIPassing, checked 3 h ago

Use when you must check whether a person is a politically exposed person (PEP) for AML/KYC: heads of state and government, ministers of every country, central bank governors, MEPs and national MPs of the EU, EEA, UK, US and Switzerland, current or former (default 5 years). Fuzzy matching with positions, country and dates. Pairs with sanctions screening.

GET https://factline.dev/v1/pep/screen

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
270 ms typical, 270 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://factline.dev/v1/pep/screen?name=Mark+Rutte"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffactline.dev%2Fv1%2Fpep%2Fscreen
const res = await pay("https://factline.dev/v1/pep/screen?name=Mark+Rutte");
console.log(await res.json());

Example input

{
  "name": "Mark Rutte"
}

Example output

{
  "coverage": {
    "by_class": {
      "head_of_government": 450,
      "head_of_state": 400,
      "legislator": 28000,
      "minister": 9000
    },
    "former_years": 5,
    "people": 40000
  },
  "disclaimer": "Automated PEP screening aid built from Wikidata, not legal advice. Being a politically exposed person is not an allegation of wrongdoing.",
  "matches": [
    {
      "matched_name": "Mark Rutte",
      "person": {
        "birth_year": 1967,
        "countries": [
          "NL"
        ],
        "current": false,
        "name": "Mark Rutte",
        "pep_class": "head_of_government",
        "pep_class_label": "head of government",
        "positions": [
          {
            "class": "head_of_government",
            "country": "NL",
            "end": "2024-07-02",
            "start": "2010-10-14",
            "title": "Prime Minister of the Netherlands"
          }
        ],
        "status": "former, left on 2024-07-02",
        "url": "https://www.wikidata.org/wiki/Q57792",
        "wikidata": "Q57792"
      },
      "score": 100
    }
  ],
  "possible_match": true,
  "query": {
    "birth_year": null,
    "country": null,
    "former_years": 5,
    "name": "Mark Rutte",
    "threshold": 85
  },
  "source": "Wikidata (CC0), extracted weekly by Factline"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402270 ms$0.005