logo
Docs

GET /global-watchlist/search

Global Watchlist search

Search entities in the Global Watchlist list by name, date of birth and aliases

Parameters

NameInTypeRequiredDescription
imagequerystringfalseBase64-encoded image for facial recognition (uploaded images are not stored)
namequerystringtrueFull name or alias
dobquerystringfalseDate of birth (YYYY-MM-DD)
yobquerystringfalseYear of birth (YYYY)
country_codequerystringfalseCountry code (e.g. US)
sourcesquerystringfalseComma-separated list of sources to search (default: all)
source_country_codequerystringfalseLimit results to specific watchlists from a country (e.g. US)
fromquerynumberfalsePagination start (default: 0)
x-api-keyheaderstringtrueAPI 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

StatusMeaningDescriptionSchema
200OKLookup results objectLookupWatchlistResponse
500Internal Server ErrorAn error messageErrorResponse

Code samples


_17
"""
_17
Python Code Snippet
_17
"""
_17
import requests
_17
_17
headers = {
_17
'Accept': 'application/json',
_17
'x-api-key': 'string'
_17
}
_17
_17
params = {
_17
'name': 'string'
_17
}
_17
_17
r = requests.get('https://data.autohost.ai/v1/global-watchlist/search', headers=headers, params=params)
_17
_17
print(r.json())


_18
/*
_18
TypeScript Code Snippet
_18
*/
_18
_18
import fetch from 'node-fetch';
_18
_18
const headers = {
_18
'Accept':'application/json',
_18
'x-api-key':'string'
_18
};
_18
_18
const response = await fetch('https://data.autohost.ai/v1/global-watchlist/search', {
_18
method: 'get',
_18
_18
headers,
_18
});
_18
const responseJson = await response.json();
_18
console.log(responseJson);

global-watchlist-sources

GET /global-watchlist/sources

Global Watchlist sources

Retrieve a list of sources available in the Global Watchlist

Parameters

NameInTypeRequiredDescription
x-api-keyheaderstringtrueAPI 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

StatusMeaningDescriptionSchema
200OKLookup results objectLookupWatchlistSourcesResponse
500Internal Server ErrorAn error messageErrorResponse

Code samples


_13
"""
_13
Python Code Snippet
_13
"""
_13
import requests
_13
_13
headers = {
_13
'Accept': 'application/json',
_13
'x-api-key': 'string'
_13
}
_13
_13
r = requests.get('https://data.autohost.ai/v1/global-watchlist/sources', headers=headers)
_13
_13
print(r.json())


_18
/*
_18
TypeScript Code Snippet
_18
*/
_18
_18
import fetch from 'node-fetch';
_18
_18
const headers = {
_18
'Accept':'application/json',
_18
'x-api-key':'string'
_18
};
_18
_18
const response = await fetch('https://data.autohost.ai/v1/global-watchlist/sources', {
_18
method: 'get',
_18
_18
headers,
_18
});
_18
const responseJson = await response.json();
_18
console.log(responseJson);


Copyright © Autohost Inc 2023.

Terms | Privacy | Blog | Website