AMLPRO Docs

Get started

Overview

Screen people, companies and organisations against sanctions, PEP, watchlist and adverse media data, from your own software or from the console.

AMLPRO is a screening platform. You send a name and get back the records that match, the lists they came from, and a report you can keep. It covers sanctions and PEP screening, watchlist and enforcement checks, corporate registry data and adverse media, with matching rules you set yourself.

For compliance teams, it takes the guesswork out of a name check and leaves an audit trail behind every decision. For engineers, it is a signed REST API that bills each search from a prepaid balance. There is no SDK, no session and no login step.

Get started in five steps

  1. Sign in to the console. A new account starts on the free Starter plan.
  2. Create an API credential in Dev Credentials and copy the secret key. It is shown only once.
  3. Sign your first request and call POST /ir-find, or press Try It on that page.
  4. Build a workflow so the results match your risk appetite.
  5. Choose a plan and go live.

Tip: read How a screening runs first. Its six steps explain most of what comes back from the API.

Base URLhttps://services.amlpro.io, also shown beside your key in the console's Dev Credentials. Every example and Try It use it.
FormatJSON in, JSON out. Reports come back as application/pdf.
AuthenticationThree signed headers on every request. See Authentication.
BillingEvery search that answers 200 is charged, including one that finds nothing, except on an unlimited plan.

The two ways in

There are two ways to reach the same screening engine, over the same data.

Screening API

Called by your own software. Takes a name and returns the records that match it, charges the account and writes the log. Every request is signed.

Console

Used by your compliance team. Search by hand, build workflows, read usage logs, hold API credentials, and manage the plan, the balance and the team.

Both run the same six steps, charge the same prices and write to the same usage log. Afterwards, a search run by hand and a search run from your code differ only in who ran it.

Get started

How a screening runs

One call does six things, in this order.

1Credential

The key names the credential. It and the account must be active, your address allowed, the permission held and a plan running, and the 120-a-minute limit not reached.

2Signature and plan

The signature proves you hold the credential's secret. Then the plan must include what you asked to screen.

3Candidates

Every record whose name, alias or transliteration is close enough to the one you sent. The only step that decides what the search can see.

4Workflow

Your own rules check each candidate and keep it or drop it.

5Charge

The price of the search comes off the prepaid balance.

6Log

The result, the name, the cost and who ran it, with a five-minute link to the PDF report.

When a step says no

A call that fails a step stops there and says why, with its own status code: a bad signature or a missing field is 400, a short balance is 402, and a service outside your plan or a missing permission is 403. Nothing is charged for a refused call. Status codes lists every answer.

A refusal is never a silent empty result. An account that cannot screen a company is told so, rather than answered with an empty list that reads as "no matches". An empty result on a 200 is a real, clean search.

Screening

Workflow builder

A workflow is your own answer to which of these matches are really mine?

It is a short chain of steps. Each outcome leads to the next step or to one of two endings, and every candidate starts at the name step and moves along until it reaches an ending. Build workflows in the console.

Name always first Date of birth narrow Passport confirm Include in results Exclude from results different year match
Each company has one workflow per entity type. A person workflow has no effect on a company search.

The kinds of step

KindWhat it is for
nameThe match itself. Always first, and cannot be removed.
narrowCompares something you sent about the subject against the record.
confirmAn exact identifier. A hit settles identity; a miss does nothing.
scoreToo sparse or messy to decide on, but useful for ordering.
scopeA property of the record, not of your subject, so it needs no input.

What a step can test

What a step can test depends on what is being screened. Send the values in the body of POST /ir-find; a step whose value you do not send is skipped.

Individual

StepKindField to sendWhat it does
Namenamefull_nameNames, aliases and transliterations close to the one you send.
Date of birthnarrowdobSame birth year. Compared by year, not exact date, so send whatever you hold.
CountrynarrowcountryOne step covering citizenship, nationality and where the person has held office.
GenderscoregenderMoves down a record whose recorded gender differs. Never excludes.
Place of birthscorebirth_placeMoves up similar-sounding places. The lists mix city, district and country, in local script.
Passport numberconfirmpassportAn exact document-number match settles identity outright.
National IDconfirmnational_idAn exact national identity number match.

Company and organisation

StepKindField to sendWhat it does
Namenamefull_nameRegistered name, trading names and former names.
Country of registrationnarrowjurisdictionWhere it was incorporated, not where it operates.
Date of incorporationnarrowincorporation_dateSame year. Compared by year, not exact date.
Registration or tax numberconfirmidentifierRegistration number, tax number, INN/OGRN or LEI. Not every number belongs to only one company.
Owner or director riskscopenoneKeeps companies whose owner or director is sanctioned, even when the company is not.

Adverse media uses the name step only.

Three rules, all of them fail-open

In screening, a missed match costs more than an extra one, so every rule leans towards keeping the record.

  • A step you sent no value for cannot be checked, so it is skipped. Sending no date of birth narrows nothing.
  • A step whose field the record does not have follows your no-value rule, which can only be carry on or include.
  • An outcome that leads nowhere keeps the record.

Every decision is recorded for each candidate, so a record that survived because three steps were skipped can be told apart from one that passed three checks.

A workflow never changes the price. The search ran and costs the same, however many records your workflow drops.

Account

Plans and balance

Screening is paid for from a prepaid balance, one search at a time.

Terms

Each period an account holds a plan is its own term, with its own credit and its own prices. An account runs one plan at a time, and buying another ends the one running.

  • Monthly plans: unspent credit ends with the term.
  • Prepaid plans (Growth): what is left moves to your balance when you change plan, and is spent after the new plan's own credit, at the new plan's prices.
  • Money not tied to a plan, such as an opening balance, always stays yours.

What a plan sells

There are four services, and they are the four you ask for as schema on a search.

ServiceAsk for it asScreens
IndividualPersonA named person, against sanctions, PEP, watchlist and enforcement lists.
CompanyCompanyA registered company.
OrganisationOrganizationAn organisation that is not registered as a company.
Adverse mediaAdverse MediaNegative news coverage.

Your plan includes some of the four, which the console's Packages page shows as Included or Not included. A search that asks only for services your plan does not include is refused with 403. One that asks for some it does include runs those, and names the rest in restricted. A service is sold if any plan you are running sells it.

The price of a search

  • One price per search: some plans charge one price for a search, whatever it screens.
  • A price per service: on other plans each service screened is charged, so Person, Adverse Media costs both.
  • An agreed rate: if we have agreed a per-call rate with your company, every search costs that rate, on any plan.

A search the balance cannot pay for in full is refused with 402, and nothing is charged.

Unlimited plans

A plan can sell the period instead of the searches. The fee buys the month and a search costs nothing: the balance is not touched, so there is no 402 to hit. It still screens only what the plan includes.

The free Starter

Every new account starts on Starter: $25 of credit for Individual screening at $0.05 a search, so exactly 500 searches. It lasts 30 days and is renewed with a fresh $25 while the account has no other plan. When a paid plan ends, the account goes back onto Starter. Unused Starter credit does not carry over.

Volume plans

Monthly plans by call volume, shown as a slider on the console's Packages page. Each step shows the price a month, the calls it includes and the price per call. Get Started orders that step; the top step, for higher volumes, is Contact us.

Account

Roles and access

A company has one owner and any number of team members.

The owner always has every permission and cannot be locked out. Each team member gets a role.

CanAdminComplianceDeveloperViewer
Search and build workflowsYesYesYesNo
Read usage logs and sourcesYesYesYesYes
Hold API credentialsYesNoYesNo
See packages, balance, paymentsYesNoNoNo
Manage the team and rolesYesNoNoNo
Change the company logoYesNoNoNo
Edit company detailsNoNoNoNo

The last row is on purpose. The company's legal details are the account holder's own record, so only the owner can change them, whatever role a team member holds. The logo is different: it is the mark on the company's invoices and at the top of its console, and the person who runs the account day to day is usually an Admin. A company can also make its own roles from the same set of permissions.

Every refusal is enforced by the server. Hiding a link is not a permission: a team member who types the address of a page their role does not allow is refused.

Integration

Authentication

There is no login and no bearer token. Every request carries three headers.

HeaderValue
ikeyYour app key.
inonceThe current Unix time in seconds, as a string.
isignatureThe signature of this request, made as below.

Making the signature

  1. Join three values in this order: the subject, inonce, ikey.
  2. Remove every space from the result.
  3. Sign it with HMAC-SHA256, using your secret key.
  4. Base64-encode the digest.
The rule
payload   = (subject + inonce + ikey) with every space removed
signature = base64( HMAC-SHA256( secret_key, payload ) )

The subject depends on the call:

CallSubject
POST /ir-findthe full_name you are screening
POST /ir-downloadthe ir_download_log you are fetching
GET /download-log/{token}an empty string

The space rule matters. Jane Doe is signed as JaneDoe. Remove the spaces and nothing else: do not trim, lowercase or otherwise change the name you send. A mismatch here is the most common reason a call is refused.

inonce must be no more than 5 minutes old and no more than 1 minute ahead of our clock, so make a new one for every request.

Sign on your server, never in your app's browser code. The secret key is shown once, when the credential is created, and anyone holding it can screen at your expense.

Signing code

The same function in six languages. Each endpoint page has a complete request in each of them, built from the values you fill in.

# subject + inonce + app key, every space removed, HMAC-SHA256, base64
printf '%s%s%s' "$SUBJECT" "$INONCE" "$APP_KEY" | tr -d ' ' \
  | openssl dgst -sha256 -hmac "$SECRET_KEY" -binary | base64
import base64, hashlib, hmac

def sign(subject: str, inonce: str, app_key: str, secret_key: str) -> str:
    payload = f"{subject}{inonce}{app_key}".replace(" ", "")
    digest = hmac.new(secret_key.encode(), payload.encode(), hashlib.sha256).digest()
    return base64.b64encode(digest).decode()
import crypto from "node:crypto";

function sign(subject, inonce, appKey, secretKey) {
  const payload = `${subject}${inonce}${appKey}`.replaceAll(" ", "");
  return crypto.createHmac("sha256", secretKey).update(payload).digest("base64");
}
function amlpro_sign(string $subject, string $inonce, string $appKey, string $secretKey): string {
    $payload = str_replace(' ', '', $subject . $inonce . $appKey);
    return base64_encode(hash_hmac('sha256', $payload, $secretKey, true));
}
require "openssl"

def sign(subject, inonce, app_key, secret_key)
  payload = "#{subject}#{inonce}#{app_key}".delete(" ")
  [OpenSSL::HMAC.digest("SHA256", secret_key, payload)].pack("m0")
end
static String sign(String subject, String inonce, String appKey, String secretKey) throws Exception {
    String payload = (subject + inonce + appKey).replace(" ", "");
    Mac mac = Mac.getInstance("HmacSHA256");
    mac.init(new SecretKeySpec(secretKey.getBytes(StandardCharsets.UTF_8), "HmacSHA256"));
    return Base64.getEncoder().encodeToString(mac.doFinal(payload.getBytes(StandardCharsets.UTF_8)));
}

Trying requests from these docs

Each endpoint page has a Try It button that sends a real request from your browser. Fill in the base URL and app key from Dev Credentials, and your secret key. The page makes inonce and the signature itself, in your browser.

  • The secret key is never sent or saved. It stays in this tab until you close it.
  • A screening sent from here is real, and is charged to your balance.
  • If your credential has an IP allow-list, the address you are browsing from must be on it.

Integration

Credential permissions

Each credential has its own permissions and, if you want one, its own IP allow-list.

A call outside them is refused, however good its signature. These are the names you tick when you create a credential in the console.

PermissionAllows
Name ScreeningScreen a name and get the matching records: POST /ir-find
Report DownloadThe PDF of a screening that has already run, by its reference: POST /ir-download. Includes the download link.
Report Download LinkThe PDF from the link a screening returns: GET /download-log/{token}

IP allow-list

A credential with no addresses listed works from any address. Once you list one, only the listed addresses, or ranges written as CIDR, are allowed. A call from anywhere else is refused with 400, and the description names the address that was refused. The address is the one your request reaches us from. A header you send, such as X-Forwarded-For, does not change it.

Integration

Rate limit

120 requests a minute for each credential on POST /ir-find.

Past that, the API answers 429 with retry_after, the number of seconds to wait, and nothing is charged.

429 Too Many Requests
{
  "status": "failed",
  "description": "Rate limit exceeded. Maximum 120 requests per 60 seconds.",
  "retry_after": 60,
  "status_code": "429"
}

Integration

Status codes

Every answer says what happened, and every refusal says what to do.

A refusal answers with status: "failed", a description that says what went wrong, and status_code, the HTTP status as a string. Three answers from /ir-download (a missing value, an unknown log_id, an error on our side) use status: "error" and message instead, so read both keys if you handle every endpoint in one place.

CodeMeansWhat to do
200The search ran and was charged. On an unlimited plan it is free.Read records_found. Zero is a clean result, and is charged.
400A value is missing or not a number, the signature or inonce did not check out, the key is unknown, the account is inactive, the plan has ended, or the caller is not on the credential's IP allow-list.Read description, which names the problem. A bad signature says only token invalid: check the space rule and that inonce is current.
402Not enough balance for the search, or no plan on the account.Top up or choose a plan. For a short balance the body has required, balance, currency and a breakdown. With no plan it has only the description.
403The plan does not include what you asked to screen, the credential lacks the permission, or the report was made with a different key. /ir-download needs the key that ran the screening, and /download-log any key on the same account.Read description. restricted lists the services refused.
404Only from GET /download-log: the link has expired, or there is no such link.Fetch the report with POST /ir-download.
429More than 120 requests a minute on one credential.Wait retry_after seconds, then carry on.
500Something failed on our side. From /ir-download, also a log_id that does not exist.Retry. If it continues, contact support with the log_id.
503Only from GET /download-log: the link could not be checked for a moment.Retry in a moment.

Integration

The record shape

Results come under result.AML and, when adverse media was screened, result.adverse_media.

One record looks like this. The values are made up; the shape is real.

One record
{
  "entity": {
    "schema": "Person",
    "name": "Jane Doe",
    "sources": [
      "US OFAC Specially Designated Nationals (SDN) List",
      "US Trade Consolidated Screening List (CSL)"
    ]
  },
  "properties": { "name": ["DOE, Jane", "Jane Doe"] },
  "topics": ["sanction", "debarment"],
  "person_details": { "first_name": "Jane", "last_name": "DOE" },
  "relationships": {
    "sanctions": [
      {
        "sanctioned_entity_name": "Jane Doe",
        "authority": "Office of Foreign Assets Control",
        "program": "EXAMPLE-01",
        "listing_date": "Mon, 05 Feb 2024 00:00:00 GMT",
        "country": "us"
      }
    ]
  },
  "similarity_percentage": "100.00",
  "matched_name": { "value": "Jane Doe", "type": "name" },
  "category": "AML"
}

The fields

FieldWhat it is
entity.nameThe record's own name. Adverse media records carry it as entity.caption.
entity.sourcesThe lists the record is on, by name. Adverse media records are on no list: their entity.datasets is empty.
matched_nameWhich of the record's names your search matched, and where it came from: name, alias or weakAlias.
similarity_percentageThe match score, as a string to two decimal places.
topicsWhy the record is listed: sanction, debarment, role.pep, crime and so on.
relationshipsSanctions, directorships, ownerships, family, associates and positions. Present only when the record has them.
company_detailsCompany records only: the registration details the source holds.
categoryAML for the lists, ADM for adverse media.
adverse_mediaAdverse media records only: the articles found, up to 10, each with title, url, source, published_at, tone_negative and is_adverse.
adverse_media_propertiesAdverse media records only: how many articles, how many adverse, first and last seen, the average tone (avg_negative_tone, a number sent as a string), themes, top sources and top locations.

Internal identifiers are removed from every response; each sits beside something readable that means the same thing. A field a record does not have is left out rather than sent as null.

Every screening is logged with what was searched, what matched, which list it came from, what it cost and who ran it. That record is what makes an answer defensible six months later, and it is why a screening log is never deleted.

Endpoints

Run a screening

POSThttps://services.amlpro.io/ir-find

Screens one name and returns the matching records. Needs the Name Screening permission. The signature subject is full_name. Only full_name is required: with nothing else, the name is screened as a Person, matches score 80 or more, and at most 10 records come back.

  • Charged: every search that answers 200, even one that finds nothing. A search the balance cannot cover is refused with 402. On an unlimited plan it is free.
  • Not in your plan: services you asked for that your plan does not include are skipped and named in restricted. If none are included, the search is refused with 403.
  • Adverse media appears only when you ask for it in schema.
  • Your package: package names the package the search ran on. On the free package, upgrade says what upgrading adds — only what your account does not already screen — with a link to the Packages page. The free package screens sanctions and PEP lists only: a record found only on a watchlist or a risk list is not returned, and a record that is returned shows only its sanctions and PEP topics and lists.
  • The report: download_url works for 5 minutes, and is null if no link could be made. After that, or then, use Get report by log ID with the log_id. The report opens with your package and a tile for each kind of list: found, clear, or not in your package. On the free package its table lists the sanctions and PEP lists only.

Recent requests

From this page, this tab only
TimeStatusTookSubject
Press Try It to send a request.

Headers

Made for you by Try It
ikeystringrequired

Your app key.

From credentials
inoncestringrequired

The current Unix time in seconds. Accepted up to 5 minutes old.

Made on send
isignaturestringrequired

HMAC-SHA256 of full_name + inonce + ikey, spaces removed, base64. See Authentication.

Signed on send

Body params

application/json
full_namestringrequired

The name to screen. Also the signature subject.

schemastringoptionaldefault: Person

What to screen: Person, Company, Organization, Adverse Media, or all. Comma-separate to combine them, as in Person, Adverse Media. Case does not matter, and Individual, Organisation, Org and ADM are accepted too. Anything else is refused with 400, never quietly screened as a person. A JSON array works too, and the field may also be sent as entity_type, type or search_type.

percent_limitintegeroptionaldefault: 80

The lowest match score to return, 0 to 100. Lower it to see more candidates.

result_limitintegeroptionaldefault: 10

The most records to return, 1 to 1000. It applies to the lists and to adverse media separately, so Person, Adverse Media can return up to twice as many. A value outside the range is brought into it, and decimals are dropped.

return_typestringoptionaldefault: full

full for the records, count for the totals only. Totals are counted before your workflow runs, so they can be higher than the records a full search returns.

external_idstringoptional

Your own reference for this search. Stored with it and returned unchanged.

Workflow inputs optional, what your workflow's steps compare
dobstring

Date of birth, YYYY-MM-DD. Also read from date_of_birth or birth_date.

countrystring

Nationality, as a country code. Also read from nationality or citizenship. It also fills a company's jurisdiction step, so it is echoed back as both.

genderstring

Gender. Also read from sex.

birth_placestring

Place of birth. Also read from place_of_birth.

passportstring

Passport number. Also read from passport_number.

national_idstring

National ID number. Also read from id_number. Used by your workflow, and never echoed back in search_fields or kept with the search.

jurisdictionstring

Companies: country of registration. Also read from country_of_registration.

incorporation_datestring

Companies: date of incorporation. Also read from incorporated.

identifierstring

Companies: registration number, tax number or LEI. Also read from registration_number, tax_number or lei.

Responses

application/json

Endpoints

Get report by log ID

POSThttps://services.amlpro.io/ir-download

The PDF report of a screening, from its log_id. Needs the Report Download permission. The signature subject is the log_id, not the name.

It works at any time after the screening, for as long as the log is kept, and is not charged. Call it with the same app key that ran the screening. Another key, even one on the same account, is refused with 403. Use it for reports you fetch later, on a schedule, or months afterwards for an audit.

Recent requests

From this page, this tab only
TimeStatusTookSubject
Press Try It to send a request.

Headers

Made for you by Try It
ikeystringrequired

Your app key.

From credentials
inoncestringrequired

The current Unix time in seconds. Accepted up to 5 minutes old.

Made on send
isignaturestringrequired

HMAC-SHA256 of the log_id + inonce + ikey, spaces removed, base64.

Signed on send

Body params

application/json
ir_download_logstring (uuid)required

The log_id a screening returned. Also the signature subject. Filled in for you after a screening you run from these docs.

Responses

application/pdf or JSON

Endpoints

Get report by link

GEThttps://services.amlpro.io/download-log/{token}

The PDF report from the download_url a screening returned. Needs the Report Download Link permission (Report Download includes it). The link works for 5 minutes after the search; after that, use Get report by log ID.

The link is not a password: the same three headers are still required, so a link that is forwarded or logged opens nothing on its own. The signature subject is an empty string, so the payload is just inonce + ikey.

Recent requests

From this page, this tab only
TimeStatusTookSubject
Press Try It to send a request.

Headers

Made for you by Try It
ikeystringrequired

Your app key.

From credentials
inoncestringrequired

The current Unix time in seconds. Accepted up to 5 minutes old.

Made on send
isignaturestringrequired

HMAC-SHA256 of inonce + ikey (an empty subject), spaces removed, base64.

Signed on send

Path params

tokenstringrequired

The last part of download_url. Filled in for you after a screening you run from these docs.

Responses

application/pdf or JSON