border.bot
Esc
  • Loading…
↑ ↓ to move↵ to openEsc to close
Docs menu

Screen a person or company

POST https://api.border.bot/v1/screen

Requires an access token from an API client (Authorization: Bearer <access_token>).

Check a name (and a company) against denied-party lists: the US Consolidated Screening List (the SDN list, the Entity List, the Denied Persons List and the other export-screening lists of Commerce, State and the Treasury). Names and aliases match exactly or fuzzily (from 0.7); each check is kept as your evidence. Costs the screening price in credits (1 by default; GET /pricing lists it), refunded if the check fails; up to 60 a minute per workspace. A match is a lead to review, not a verdict.

API client scope: compliance.

Headers#

Name Type Required Description
idempotency-key string no Make retries safe: a repeat with the same key returns the original result without charging again (keys are scoped to your workspace).

Request body (JSON)#

Name Type Required Description
name string yes The person’s or company’s name, as you have it.
company string no A company to screen too (a buyer and their employer, say).
country string no The party’s country (ISO-2): matches with an address, nationality or flag there are flagged countryMatch.
type "individual" | "entity" no Only parties of this type. Vessels, aircraft and parties of unknown type are always screened.
reference string no Your reference (an order or customer id), kept with the check as evidence.

Responses#

  • 200: The matches, best first, and the lists screened. (ScreenResponse)
  • 400: Invalid input (invalid_input). (Error)
  • 401: Missing, invalid or expired access token, or a revoked or expired API client (unauthorized). (Error)
  • 402: Not enough credits (insufficient_credits). Nothing was charged. (Error)
  • 403: Workspace suspended, action disabled, or the client lacks the scope (org_suspended, action_disabled, forbidden). (Error)
  • 409: A request with this Idempotency-Key is still in progress (conflict). (Error)
  • 429: Rate limited (rate_limited). Retry after Retry-After seconds; RateLimit says which limit was hit (r=0, t seconds until its window ends) and RateLimit-Policy its quota. (Error)
  • 500: Unexpected error (internal). (Error)
  • 502: The engine failed (upstream_error). The credits are refunded automatically. (Error)
  • 504: The engine timed out (upstream_timeout). The credits are refunded automatically. (Error)

Example request#

curl -X POST https://api.border.bot/v1/screen \
  -H "Authorization: Bearer $BORDERBOT_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "name": "<string>"
  }'

Example response (200)#

JSON
{
  "data": {
    "matches": [
      {
        "score": 0.833,
        "matchedName": "Northwind Maritime Holdings",
        "query": "name",
        "list": "SDN",
        "listKind": "sanctions",
        "issuer": "US Treasury (OFAC)",
        "dataset": "US:parties",
        "countryMatch": true,
        "party": {
          "name": "Northwind Maritime Holdings",
          "altNames": [
            "NW Maritime"
          ],
          "type": "entity",
          "programs": [
            "EXAMPLE"
          ],
          "addresses": [
            {
              "address": "Port Example, AQ",
              "country": "AQ"
            }
          ],
          "sourceRef": "9001",
          "startDate": null,
          "endDate": null,
          "remarks": null,
          "sourceUrl": null,
          "identifiers": [],
          "countries": [],
          "birthDates": []
        }
      }
    ],
    "matchCount": 1,
    "searched": [
      {
        "dataset": "US:parties",
        "seq": 18
      }
    ],
    "screenedAt": "2026-10-20T09:30:00.000Z",
    "checkId": "01a15ac1-27d8-7ddf-b0bb-6c3fbe8bf828"
  },
  "credits": {
    "charged": 1,
    "remaining": 96,
    "usageId": "usg_01m5dc29tdkdmpffnd43jmg1w5"
  },
  "replayed": false
}