Skip to content
OSINTtools.io

NameScan API

Pay-as-you-go screening of people and companies against PEP, sanctions and adverse media, with KYB and ID checks.

Base URL
https://api.namescan.io
Sign-in
API key
Pricing
Credits
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from namescan.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The NameScan API screens people and organisations against PEP (politically exposed persons), sanctions and special-interest lists, and can return adverse-media articles for a match. It is organised around REST and returns JSON. The published OpenAPI document (version 3.1) covers two list families, Emerald and Sapphire, plus risk-assessment checks, credit balances and PDF reports.

This reference documents the Emerald person and organisation scans, retrieving a scan by ID, the sanctions list catalogue and the credit balance. Sapphire scans, risk checks and PDF reports follow the same pattern and are in the official spec.

Calls go to https://api.namescan.io with the key in the api-key header. The NameScan site says each account has a test and a production key, and requests made with the test key do not use credits and are not saved in scan history. Adding includeAdvancedMedia costs an additional credit. The OpenAPI document is published at /swagger/v3.1/swagger.json (the /v3.1/swagger.json path itself answers 401 without a key).

Quick start

  1. Get a key

    Create an account with NameScan and copy your api key. Where to get it

  2. Make your first request

    Retrieve an earlier Emerald person scan by its scan ID.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.namescan.io/v3.1/person-scans/emerald/example-scan-id' \
      -H 'api-key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "scanParam": {
        "name": "Jane Example",
        "listType": "PEP"
      },
      "scanResult": {
        "scanId": "example-scan-id",
        "numberOfMatches": 1,
        "persons": [
          {
            "name": "Jane Example",
            "category": "PEP"
          }
        ]
      }
    }

Authentication

Send your API key in the api-key header of every request.

Each account has a test key and a production key.

Get a key from NameScan

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Pricing: credits.

Errors

StatusMeaning
400The request could not be understood or processed
401The requested resource requires authentication (API key required)
403The server is not able to fulfill the request
500An error has occurred on the server
503The server is unavailable due to maintenance or overload

Emerald scans

  • Takes: Name
  • Passive: the target is not contacted
  • Cost: Credits; includeAdvancedMedia deducts one more

Matches a person by name and optional details. Each match carries categories, names, dates and places of birth, nationality, addresses and references. The body is JSON.

Request body (JSON) · 12Show

namestring

Name of the person to scan

firstNamestring

First name

middleNamestring

Middle name

lastNamestring

Last name

genderstring

Gender

dobstring

Birth date

countrystring

Country of the person

listTypestring

PEP or Sanction; empty scans all lists

includedListsstring

Specific sanctions lists to scan, such as UN, SDN

excludedListsstring

Sanctions lists to exclude

matchRateinteger

Match rate from 1 (not close) to 100 (exact or very close)

includeAdvancedMediaboolean

Return articles for the matched entity; costs an additional credit

Response fields · 14Show

datestring

Date of the scan

scanIdstring

Identifier used to retrieve the scan later

numberOfMatchesinteger

Matched entities found; 0 means no matches

numberOfPepMatchesinteger

Matched PEP entities

numberOfSipMatchesinteger

Matched special-interest persons

uidstring

Unique identifier of the person

namestring

Name of the person

categorystring

Categories the matched record belongs to

datestring

Date of birth

countrystring

Country of birth

nationalitystring

Nationality

programstring

Program associated with the matched entity

namestring

Name of a reference

address1string

Major address, if available

curl -X POST 'https://api.namescan.io/v3.1/person-scans/emerald' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Jane Example","dob":"1980-01-01","country":"AU","listType":"PEP","matchRate":80}'
Replace YOUR_API_KEY with your key
Response
{
  "date": "2026-11-29T10:00:00Z",
  "scanId": "example-scan-id",
  "numberOfMatches": 1,
  "numberOfPepMatches": 1,
  "numberOfSipMatches": 0,
  "persons": [
    {
      "uid": "example-uid",
      "name": "Jane Example",
      "category": "PEP",
      "datesOfBirth": [
        {
          "date": "1980-01-01"
        }
      ],
      "nationality": "AU"
    }
  ]
}

Retrieve an earlier Emerald person scan by its scan ID.

GET/v3.1/person-scans/emerald/{scanId}

  • Passive: the target is not contacted

Returns the parameters of the scan under scanParam and the matches under scanResult.

Path parameters

scanIdstringrequired

The scan ID to retrieve

Example: example-scan-id
Response fields · 6Show

namestring

Name of the person scanned

listTypestring

List type scanned

scanIdstring

Scan identifier

numberOfMatchesinteger

Matched entities found

namestring

Name of a matched person

categorystring

Categories of the matched record

curl 'https://api.namescan.io/v3.1/person-scans/emerald/example-scan-id' \
  -H 'api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "scanParam": {
    "name": "Jane Example",
    "listType": "PEP"
  },
  "scanResult": {
    "scanId": "example-scan-id",
    "numberOfMatches": 1,
    "persons": [
      {
        "name": "Jane Example",
        "category": "PEP"
      }
    ]
  }
}
  • Takes: Name
  • Passive: the target is not contacted
  • Cost: Credits; includeAdvancedMedia deducts one more

Takes an organisation name and optional country and list filters. The response shape is described in the official spec.

Request body (JSON) · 6Show

namestring

Name of the organisation to scan

countrystring

Country of the organisation

includedListsstring

Specific sanctions lists to scan

excludedListsstring

Sanctions lists to exclude

matchRateinteger

Match rate from 1 to 100

includeAdvancedMediaboolean

Return articles for the match; costs an additional credit

Response fields · 2Show

scanIdstring

Identifier used to retrieve the scan later

numberOfMatchesinteger

Matched entities found

curl -X POST 'https://api.namescan.io/v3.1/organisation-scans/emerald' \
  -H 'api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Example Trading Pty Ltd","country":"AU","matchRate":80}'
Replace YOUR_API_KEY with your key
Response
{
  "scanId": "example-scan-id",
  "numberOfMatches": 0
}

Account

  • Passive: the target is not contacted

The IDs can be used in includedLists and excludedLists.

Response fields · 3Show

idstring

List ID

namestring

List name

enabledboolean

Whether the list is enabled

curl 'https://api.namescan.io/v3.1/lists/emerald/sanctions' \
  -H 'api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "id": "EX",
    "name": "Example sanctions list",
    "enabled": true
  }
]
  • Passive: the target is not contacted

Returns the remaining balance and each credit pack with its expiry date.

Response fields · 5Show

balancenumber

Remaining balance of scans

keyExpiryDatestring

Expiry date of the remaining credits

creditsnumber

Total credits in a pack

remainingCreditsnumber

Remaining credits in the pack

expiryDatestring

Expiry date of the pack

curl 'https://api.namescan.io/v3.1/credits/emerald' \
  -H 'api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "balance": 10,
  "keyExpiryDate": "2027-01-01",
  "credits": [
    {
      "credits": 10,
      "remainingCredits": 10,
      "expiryDate": "2027-01-01"
    }
  ]
}