global-watchlist-search
GET /global-watchlist/search
Global Watchlist search
Search entities in the Global Watchlist list by name, date of birth and aliases
Parameters
Name | In | Type | Required | Description |
image | query | string | false | Base64-encoded image for facial recognition (uploaded images are not stored) |
name | query | string | true | Full name or alias |
dob | query | string | false | Date of birth (YYYY-MM-DD) |
yob | query | string | false | Year of birth (YYYY) |
country_code | query | string | false | Country code (e.g. US) |
sources | query | string | false | Comma-separated list of sources to search (default: all) |
source_country_code | query | string | false | Limit results to specific watchlists from a country (e.g. US) |
from | query | number | false | Pagination start (default: 0) |
x-api-key | header | string | true | API Authentication Key |
Example responses
Lookup results object
_16{_16 "dob": [_16 "1961-04-25"_16 ],_16 "yob": [_16 1961_16 ],_16 "full_name": "maria soledad iparraguirre guenechea",_16 "first_name": "maria",_16 "last_name": "iparraguirre guenechea",_16 "middle_name": "soledad",_16 "description": "Member ETA.",_16 "aliases": [_16 "maria soledad iparraguirre guenechea"_16 ]_16}
500 Response
_10{_10 "error": "string"_10}
Responses
Status | Meaning | Description | Schema |
200 | OK | Lookup results object | LookupWatchlistResponse |
500 | Internal Server Error | An error message | ErrorResponse |
Code samples
_17"""_17Python Code Snippet_17"""_17import requests_17_17headers = {_17 'Accept': 'application/json',_17 'x-api-key': 'string'_17}_17_17params = {_17 'name': 'string'_17}_17_17r = requests.get('https://data.autohost.ai/v1/global-watchlist/search', headers=headers, params=params)_17_17print(r.json())
_18/*_18TypeScript Code Snippet_18*/_18_18import fetch from 'node-fetch';_18_18const headers = {_18 'Accept':'application/json',_18 'x-api-key':'string'_18};_18_18const response = await fetch('https://data.autohost.ai/v1/global-watchlist/search', {_18 method: 'get',_18 _18 headers,_18});_18const responseJson = await response.json();_18console.log(responseJson);
global-watchlist-sources
GET /global-watchlist/sources
Global Watchlist sources
Retrieve a list of sources available in the Global Watchlist
Parameters
Name | In | Type | Required | Description |
x-api-key | header | string | true | API Authentication Key |
Example responses
Lookup results object
_10{_10 "sources": [_10 "OFAC",_10 "INTERPOL",_10 "UN-NOTICE-RED",_10 "..."_10 ]_10}
500 Response
_10{_10 "error": "string"_10}
Responses
Status | Meaning | Description | Schema |
200 | OK | Lookup results object | LookupWatchlistSourcesResponse |
500 | Internal Server Error | An error message | ErrorResponse |
Code samples
_13"""_13Python Code Snippet_13"""_13import requests_13_13headers = {_13 'Accept': 'application/json',_13 'x-api-key': 'string'_13}_13_13r = requests.get('https://data.autohost.ai/v1/global-watchlist/sources', headers=headers)_13_13print(r.json())
_18/*_18TypeScript Code Snippet_18*/_18_18import fetch from 'node-fetch';_18_18const headers = {_18 'Accept':'application/json',_18 'x-api-key':'string'_18};_18_18const response = await fetch('https://data.autohost.ai/v1/global-watchlist/sources', {_18 method: 'get',_18 _18 headers,_18});_18const responseJson = await response.json();_18console.log(responseJson);