Sanctions Search API: v2

<back to all web services

GetSearch

Sanctions
The following routes are available for this service:
POST/sanctions/getGet a sanctions search
GetSearch Parameters:
NameParameterData TypeRequiredDescription
RequestbodyGetSearchRequestNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
Authenticationheader, bodyAuthenticationYesThe authentication credentials
Authentication Parameters:
NameParameterData TypeRequiredDescription
ApiUserIdheader, bodystringYesThe API User ID provided by us when you signed up to use our API
ApiUserKeyheader, bodystringYesThe API User Key provided by us when you signed up to use our API
GetSearchRequest Parameters:
NameParameterData TypeRequiredDescription
SubUserNameformstringNoIf the search is being accessed by a sub user, specify their username here to validate they have permissions to view it
OnlyShowUnresolvedResultsformboolNoIf set to true, the response will exclude resolved search results, it will only include unresolved results
IdformlongNo
GetSearchResponse Parameters:
NameParameterData TypeRequiredDescription
DataformGetSearchDataNo
GetSearchData Parameters:
NameParameterData TypeRequiredDescription
LinkedToformArrayOfLinkedToNo
SearchRecordformSearchRecordNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNoThe status of the response
ResponseStatus Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StackTraceformstringNo
ErrorsformArrayOfResponseErrorNo
MetaformDictionary<string, string>No
ResponseError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
FieldNameformstringNo
MessageformstringNo
MetaformDictionary<string, string>No
LinkedTo Parameters:
NameParameterData TypeRequiredDescription
ClientIdformint?No
Idformlong?No
TypeformstringNo
SubtypeformstringNo
StatusformstringNo
DescriptionformstringNo
IsArchivedformbool?No
NameformstringNo
DateformDateTime?No
SearchRecord Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SearchTypeformstringNo
DateSearchedformDateTimeNo
DateUpdatedformDateTimeNo
DateArchivedformDateTime?No
IsArchivedformboolNo
NumOfResultsformintNo
ClientInResultsformboolNo
ClientNotInResultsformboolNo
AffectedByUpdateformboolNo
SearchCriteriaformSearchCriteriaNo
SearchResultsformSearchResultsNo
SearchSourcesformList<SearchSource>No
ListSearchResultsformArrayOfSearchResultEntriesNo
SearchCriteria Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
AddressformstringNo
CountryformstringNo
DateOfBirthformstringNo
NationalityformstringNo
ReferenceformstringNo
SearchResults Parameters:
NameParameterData TypeRequiredDescription
EuResultsformList<SearchResultEu>No
HMTResultsformList<SearchResultHmTreasury>No
HMTUkraineResultsformList<SearchResultHmTreasury>No
OfacResultsformList<SearchResultOfac>No
OfacConsolidatedResultsformList<SearchResultOfac>No
DfatResultsformList<SearchResultDfat>No
OsfiResultsformList<SearchResultOsfi>No
CanadianJusticeResultsformList<SearchResultCanadianJustice>No
CanadianSemaResultsformList<SearchResultCanadianSema>No
SwissSecoResultsformList<SearchResultEntry>No
SearchResultEu Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
AddressesformList<SearchResultEuAddress>No
BirthsformList<SearchResultEuBirth>No
CitizenshipsformList<SearchResultOfacEuCitizenship>No
NamesformList<SearchResultEuName>No
PassportsformList<SearchResultEuPassport>No
SearchResultEuAddress Parameters:
NameParameterData TypeRequiredDescription
StreetformstringNo
CityformstringNo
CountryformstringNo
PostCodeformstringNo
OtherformstringNo
SearchResultEuBirth Parameters:
NameParameterData TypeRequiredDescription
DateformstringNo
PlaceformstringNo
CountryformstringNo
SearchResultOfacEuCitizenship Parameters:
NameParameterData TypeRequiredDescription
CountryformstringNo
SearchResultEuName Parameters:
NameParameterData TypeRequiredDescription
FullNameformstringNo
GenderformstringNo
SearchResultEuPassport Parameters:
NameParameterData TypeRequiredDescription
NumberformstringNo
CountryformstringNo
SearchResultHmTreasury Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateListedformDateTimeNo
DateUpdatedformDateTimeNo
Name1formstringNo
Name2formstringNo
Name3formstringNo
Name4formstringNo
Name5formstringNo
Name6formstringNo
DateOfBirthformstringNo
CountryOfBirthformstringNo
NationalityformstringNo
Address1formstringNo
Address2formstringNo
Address3formstringNo
Address4formstringNo
Address5formstringNo
Address6formstringNo
PostCodeformstringNo
CountryformstringNo
SearchResultOfac Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
FirstNameformstringNo
LastNameformstringNo
AddressesformList<SearchResultOfacAddress>No
AkasformList<SearchResultOfacAka>No
DateOfBirthsformList<SearchResultOfacDateOfBirth>No
NationalitiesformList<SearchResultOfacNationality>No
PlaceOfBirthsformList<SearchResultOfacPlaceOfBirth>No
SearchResultOfacAddress Parameters:
NameParameterData TypeRequiredDescription
Address1formstringNo
Address2formstringNo
Address3formstringNo
CityformstringNo
StateformstringNo
PostCodeformstringNo
CountryformstringNo
SearchResultOfacAka Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
TypeformstringNo
StrengthformstringNo
SearchResultOfacDateOfBirth Parameters:
NameParameterData TypeRequiredDescription
DateOfBirthformstringNo
SearchResultOfacNationality Parameters:
NameParameterData TypeRequiredDescription
CountryformstringNo
SearchResultOfacPlaceOfBirth Parameters:
NameParameterData TypeRequiredDescription
PlaceOfBirthformstringNo
SearchResultDfat Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
FullNameformstringNo
AddressformstringNo
DateOfBirthformstringNo
PlaceOfBirthformstringNo
NationalityformstringNo
SearchResultOsfi Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
FullNameformstringNo
AddressformstringNo
DateOfBirthformstringNo
PlaceOfBirthformstringNo
NationalityformstringNo
SearchResultCanadianJustice Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
NameformstringNo
DateOfBirthformstringNo
CountryformstringNo
RefIdformintNo
SearchResultCanadianSema Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
NameformstringNo
DateOfBirthformstringNo
CountryformstringNo
ScheduleformstringNo
ItemformstringNo
SearchResultEntry Parameters:
NameParameterData TypeRequiredDescription
SearchResultIdformlongNo
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTime?No
SanctionsListIdformstringNo
SanctionsListNameformstringNo
AddressesformList<SearchResultAddress>No
DatesOfBirthformList<SearchResultDateOfBirth>No
NamesformList<SearchResultName>No
NationalitiesformList<SearchResultNationality>No
PlacesOfBirthformList<SearchResultPlaceOfBirth>No
RemarksformList<SearchResultRemark>No
SearchResultAddress Parameters:
NameParameterData TypeRequiredDescription
SearchResultAddressIdformlongNo
TypeformstringNo
Address1formstringNo
Address2formstringNo
Address3formstringNo
CityformstringNo
CountyformstringNo
PostCodeformstringNo
CountryformstringNo
SearchResultDateOfBirth Parameters:
NameParameterData TypeRequiredDescription
SearchResultDateOfBirthIdformlongNo
DateOfBirthformstringNo
Yearformshort?No
Monthformbyte?No
Dayformbyte?No
TypeformstringNo
SearchResultName Parameters:
NameParameterData TypeRequiredDescription
SearchResultNameIdformlongNo
TypeformstringNo
TitleformstringNo
FullNameformstringNo
ResultSimilarityformdecimalNo
SearchResultNationality Parameters:
NameParameterData TypeRequiredDescription
SearchResultNationalityIdformlongNo
NationalityformstringNo
SearchResultPlaceOfBirth Parameters:
NameParameterData TypeRequiredDescription
SearchResultPlaceOfBirthIdformlongNo
PlaceOfBirthformstringNo
CountryOfBirthformstringNo
SearchResultRemark Parameters:
NameParameterData TypeRequiredDescription
SearchResultRemarkIdformlongNo
NameformstringNo
DescriptionformstringNo
SearchSource Parameters:
NameParameterData TypeRequiredDescription
ListIdformstringNo
ListNameformstringNo
ListShortNameformstringNo
IsAffectedByListUpdateformbool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /sanctions/get HTTP/1.1 
Host: api.sanctionssearch.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"request":{"subUserName":"String","onlyShowUnresolvedResults":false,"id":0},"authentication":{"apiUserId":"String","apiUserKey":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"data":{"linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}],"searchRecord":{"id":0,"searchType":"String","dateSearched":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","dateArchived":"\/Date(-62135596800000-0000)\/","isArchived":false,"numOfResults":0,"clientInResults":false,"clientNotInResults":false,"affectedByUpdate":false,"searchCriteria":{"name":"String","address":"String","country":"String","dateOfBirth":"String","nationality":"String","reference":"String"},"searchResults":{"euResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","addresses":[{"street":"String","city":"String","country":"String","postCode":"String","other":"String"}],"births":[{"date":"String","place":"String","country":"String"}],"citizenships":[{"country":"String"}],"names":[{"fullName":"String","gender":"String"}],"passports":[{"number":"String","country":"String"}]}],"hmtResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateListed":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","name1":"String","name2":"String","name3":"String","name4":"String","name5":"String","name6":"String","dateOfBirth":"String","countryOfBirth":"String","nationality":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","address6":"String","postCode":"String","country":"String"}],"hmtUkraineResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateListed":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","name1":"String","name2":"String","name3":"String","name4":"String","name5":"String","name6":"String","dateOfBirth":"String","countryOfBirth":"String","nationality":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","address6":"String","postCode":"String","country":"String"}],"ofacResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","firstName":"String","lastName":"String","addresses":[{"address1":"String","address2":"String","address3":"String","city":"String","state":"String","postCode":"String","country":"String"}],"akas":[{"firstName":"String","lastName":"String","type":"String","strength":"String"}],"dateOfBirths":[{"dateOfBirth":"String"}],"nationalities":[{"country":"String"}],"placeOfBirths":[{"placeOfBirth":"String"}]}],"ofacConsolidatedResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","firstName":"String","lastName":"String","addresses":[{"address1":"String","address2":"String","address3":"String","city":"String","state":"String","postCode":"String","country":"String"}],"akas":[{"firstName":"String","lastName":"String","type":"String","strength":"String"}],"dateOfBirths":[{"dateOfBirth":"String"}],"nationalities":[{"country":"String"}],"placeOfBirths":[{"placeOfBirth":"String"}]}],"dfatResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String","address":"String","dateOfBirth":"String","placeOfBirth":"String","nationality":"String"}],"osfiResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String","address":"String","dateOfBirth":"String","placeOfBirth":"String","nationality":"String"}],"canadianJusticeResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","name":"String","dateOfBirth":"String","country":"String","refId":0}],"canadianSemaResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","name":"String","dateOfBirth":"String","country":"String","schedule":"String","item":"String"}],"swissSecoResults":[{"searchResultId":0,"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","sanctionsListId":"String","sanctionsListName":"String","addresses":[{"searchResultAddressId":0,"type":"String","address1":"String","address2":"String","address3":"String","city":"String","county":"String","postCode":"String","country":"String"}],"datesOfBirth":[{"searchResultDateOfBirthId":0,"dateOfBirth":"String","year":0,"month":0,"day":0,"type":"String"}],"names":[{"searchResultNameId":0,"type":"String","title":"String","fullName":"String","resultSimilarity":0}],"nationalities":[{"searchResultNationalityId":0,"nationality":"String"}],"placesOfBirth":[{"searchResultPlaceOfBirthId":0,"placeOfBirth":"String","countryOfBirth":"String"}],"remarks":[{"searchResultRemarkId":0,"name":"String","description":"String"}]}]},"searchSources":[{"listId":"String","listName":"String","listShortName":"String","isAffectedByListUpdate":false}],"listSearchResults":[{"searchResultId":0,"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","sanctionsListId":"String","sanctionsListName":"String","addresses":[{"searchResultAddressId":0,"type":"String","address1":"String","address2":"String","address3":"String","city":"String","county":"String","postCode":"String","country":"String"}],"datesOfBirth":[{"searchResultDateOfBirthId":0,"dateOfBirth":"String","year":0,"month":0,"day":0,"type":"String"}],"names":[{"searchResultNameId":0,"type":"String","title":"String","fullName":"String","resultSimilarity":0}],"nationalities":[{"searchResultNationalityId":0,"nationality":"String"}],"placesOfBirth":[{"searchResultPlaceOfBirthId":0,"placeOfBirth":"String","countryOfBirth":"String"}],"remarks":[{"searchResultRemarkId":0,"name":"String","description":"String"}]}]},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}}