# NameScan API reference

> 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,…

Source: https://osinttools.io/apis/namescan/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/namescan/

- Base URL: https://api.namescan.io
- Authentication: API key in the `api-key` header. Get a key: https://namescan.io/pepandsanctionapi Each account has a test key and a production key.
- Pricing: Credits
- Rate limits: Not stated in the docs
- Vendor docs: https://namescan.io/pepandsanctionapi
- OpenAPI spec: https://api.namescan.io/swagger/v3.1/swagger.json

## Overview

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).

## Errors

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

## Emerald scans

### Screen a person against Emerald PEP and sanctions lists.

`POST /v3.1/person-scans/emerald`

- Takes: Name
- Footprint: 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.

Response fields:

- `date` (string): Date of the scan
- `scanId` (string): Identifier used to retrieve the scan later
- `numberOfMatches` (integer): Matched entities found; 0 means no matches
- `numberOfPepMatches` (integer): Matched PEP entities
- `numberOfSipMatches` (integer): Matched special-interest persons
- `persons[].uid` (string): Unique identifier of the person
- `persons[].name` (string): Name of the person
- `persons[].category` (string): Categories the matched record belongs to
- `persons[].datesOfBirth[].date` (string): Date of birth
- `persons[].placesOfBirth[].country` (string): Country of birth
- `persons[].nationality` (string): Nationality
- `persons[].program` (string): Program associated with the matched entity
- `persons[].references[].name` (string): Name of a reference
- `persons[].addresses[].address1` (string): Major address, if available

```bash
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}'
```

Example response (201):

```json
{
  "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}`

- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `scanId` | path | string | yes | The scan ID to retrieve Example: example-scan-id |

Response fields:

- `scanParam.name` (string): Name of the person scanned
- `scanParam.listType` (string): List type scanned
- `scanResult.scanId` (string): Scan identifier
- `scanResult.numberOfMatches` (integer): Matched entities found
- `scanResult.persons[].name` (string): Name of a matched person
- `scanResult.persons[].category` (string): Categories of the matched record

```bash
curl 'https://api.namescan.io/v3.1/person-scans/emerald/example-scan-id' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

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

### Screen an organisation against Emerald sanctions and watch lists.

`POST /v3.1/organisation-scans/emerald`

- Takes: Name
- Footprint: 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.

Response fields:

- `scanId` (string): Identifier used to retrieve the scan later
- `numberOfMatches` (integer): Matched entities found

```bash
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}'
```

Example response (201):

```json
{
  "scanId": "example-scan-id",
  "numberOfMatches": 0
}
```

## Account

### List the Emerald sanctions lists with ID, name and status.

`GET /v3.1/lists/emerald/sanctions`

- Footprint: passive (the target is not contacted)

The IDs can be used in includedLists and excludedLists.

Response fields:

- `[].id` (string): List ID
- `[].name` (string): List name
- `[].enabled` (boolean): Whether the list is enabled

```bash
curl 'https://api.namescan.io/v3.1/lists/emerald/sanctions' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "id": "EX",
    "name": "Example sanctions list",
    "enabled": true
  }
]
```

### Get the account's Emerald credit balance.

`GET /v3.1/credits/emerald`

- Footprint: passive (the target is not contacted)

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

Response fields:

- `balance` (number): Remaining balance of scans
- `keyExpiryDate` (string): Expiry date of the remaining credits
- `credits[].credits` (number): Total credits in a pack
- `credits[].remainingCredits` (number): Remaining credits in the pack
- `credits[].expiryDate` (string): Expiry date of the pack

```bash
curl 'https://api.namescan.io/v3.1/credits/emerald' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "balance": 10,
  "keyExpiryDate": "2027-01-01",
  "credits": [
    {
      "credits": 10,
      "remainingCredits": 10,
      "expiryDate": "2027-01-01"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
