OFAC & PEP, Adverse Media and Watchlists
Request
Method: POST
URL: https://{{environment}}.ridx.io/ca/aml-plus
Headers
| Header | Value |
|---|---|
Content-Type |
application/json |
token |
{{access_token}} |
Request Body
| Property | Type | Description |
|---|---|---|
fuzziness |
Number | Required. 0.0 (exact) to 1.0 (loosest), in steps of 0.1. |
search_name |
Object | Requires two String properties; first_name, last_name and middle_names (Optional). Overridden by search_query if present |
search_query |
String | Name of person to search for |
birthYear |
String | Optional. Birth year of person in YYYY format |
exact_match |
Boolean | Optional. When true, overrides fuzziness and disables standard and optional matching behaviours. |
country_codes |
Array of ISO 3166-1 alpha-2 strings | Optional. Results are filtered by the entity nationality or country of residence |
Important Response Data In content.data
Useful properties in the search result data.
| Property | Type | Description |
|---|---|---|
match_status |
String | Search outcome: no_match, unknown, potential_match, or true_positive. This is what the PDF banner uses. It is not derived from hit count or hits[].score. |
total_matches |
Integer | Size of the match universe for this search. Shown on the PDF as Total matches. |
total_hits |
Integer | Number of hit objects returned in this response. Shown on the PDF as Matches listed only when it differs from total_matches. |
hits |
Array | Matched entities returned in this response. Each object is one row in the PDF Matches section. Empty when match_status is no_match. Adverse-media hits still carry a score. |
hits[index].score |
Float | Name-match closeness for that entity. Shown on the PDF as Match score (one decimal place). Unbounded; not a percentage, not a risk rating, and not equivalent to eIDV reliability. Higher means a closer name match. Absent on a no-match report because there are no hits. |
hits[index].match_status |
String | Status of that hit. Independent of the search-level content.data.match_status used for the PDF banner. |
Match status, scores, and the PDF report
HTTP 200 only means the search ran. Decide from content.data.match_status, then use hits[].score to rank which listed entities to review first.
fuzziness on the request (typically 0.0–1.0) controls how loosely names are compared. It is not printed as Match score.
content.data.match_status |
PDF banner | Meaning |
|---|---|---|
no_match or unknown |
No match | No listed entity matched. The Matches section is empty; there is no Match score. |
potential_match |
Potential match | One or more possible matches. A large total_matches or a high hits[].score does not change this to a confirmed match. |
true_positive |
Match | A hit was confirmed as a true positive in case management. Creating a search through RapidID does not set this value. |
The PDF Match score on hit n is content.data.hits[n].score. Example: JSON "score": 26.282303 prints as 26.3.
PDF Check details
| PDF row | API field |
|---|---|
| Name screened | search_term (from search_name or search_query) |
| Entity type | Person when search_name is used; Company when search_query is a string |
| Total matches | content.data.total_matches |
| Matches listed | Length of content.data.hits |
| Check conducted on behalf of | Account that ran the check |
| Run | Search timestamp (created_at) |
Each listed hit also has Match score = hits[index].score.
Example Requests
Example Responses
Status: 200 OK
{
"code": 200,
"status": "success",
"content": {
"data": {
"id": <id>,
"ref": "<ref_id>",
"searcher_id": <id>,
"assignee_id": <id>,
"filters": {
"birth_year": 1984,
"country_codes": ["AU"],
"remove_deceased": 1,
"types": [],
"exact_match": false,
"fuzziness": 1
},
"match_status": "potential_match",
"risk_level": "unknown",
"search_term": "John Allen Smith",
"submitted_term": "John Allen Smith",
"client_ref": "[YourAPIKEY]",
"total_matches": 4,
"total_hits": 4,
"updated_at": "2018-11-16 04:35:24",
"created_at": "2018-11-16 04:35:24",
"tags": [],
"searcher": {
"id": 4901,
"email": "your@email.com",
"name": "Your Name",
"phone": null,
"created_at": "2017-01-01 16:29:13"
},
"assignee": {
"id": 4901,
"email": "your@email.com",
"name": "Your Name",
"phone": null,
"created_at": "2017-01-01 16:29:13"
},
"hits": [
{
"match_status": "potential_match",
"is_whitelisted": false,
"doc": {
"aka": [
{
"name": "John A. Smith"
}
],
"entity_type": "person",
"fields": [
{
"name": "Countries",
"tag": "country_names",
"value": "United States"
},
{
"name": "Date of Birth",
"tag": "date_of_birth",
"value": "1997"
}
],
"id": "RLKGD0BVG6ZYQ2Z",
"keywords": [],
"last_updated_utc": "2018-07-05T23:21:56Z",
"media": [
{
"date": "2015-03-17T00:00:00Z",
"snippet": "A man serving time for armed robbery has been charged in the 2014 kidnapping and holdup of a mother and her two children who were carjacked in a grocery store parking lot in Woodridge, DuPage County prosecutors said Tuesday. Authorities say John A. Smith, 18, formerly of Woodridge, has been charged vehicular hijacking, aggravated kidnapping and armed robbery. \"The type of brazen behavior alleged in this case will not be tolerated in DuPage County,\" State's Attorney Robert Berlin said.",
"title": "Inmate charged with 2014 kidnapping of mom, 2 kids in Woodridge - Chicago Tribune",
"url": "http://www.chicagotribune.com/suburbs/downers-grove/news/ct-woodridge-carjacking-met-0318-20150317-story.html"
},
{
"date": "2017-01-23T00:00:00Z",
"snippet": "Following an autopsy, the Cook County medical examiner's office determined Henderson died from a gunshot wound to the chest. Witnesses identified Smith as the person who shot Henderson, prosecutors said. Smith is scheduled to appear in court again on Feb. 10.",
"title": "Man held without bail in childhood friend's killing on Far South Side - Chicago Tribune",
"url": "http://www.chicagotribune.com/news/local/breaking/ct-roseland-murder-charges-20170123-story.html"
},
{
"date": "2018-05-01T00:00:00Z",
"snippet": "The sentence was based on Smith 's June 14 guilty plea before Hoye to one felony count of first-degree criminal contempt. Smith was arrested Feb. 20 by Gloversville police on charges of first-degree unlawful imprisonment, third-degree criminal possession of a weapon, second-degree menacing, third-degree attempted assault and criminal obstruction of breathing or blood circulation. Police said officers were dispatched to the area of 77 Fremont St. for the report of a domestic violence incident and were advised Smith had gone into an apartment with the female victim at 82 Fremont St.",
"title": "Man who tied up woman, sentenced | News, Sports, Jobs - Leader Herald",
"url": "http://www.leaderherald.com/news/local-news/2017/08/man-who-tied-up-woman-sentenced/"
},
{
"date": "2016-05-06T00:00:00Z",
"snippet": "He must also pay restitution, and an order of protection was granted for his victim. Smith was arrested Feb. 20 by Gloversville police on charges of first-degree unlawful imprisonment, third-degree criminal possession of a weapon, second-degree menacing, third-degree attempted assault and criminal obstruction of breathing or blood circulation. Police said officers were dispatched to the area of 77 Fremont St. for the report of a domestic violence incident and were advised Smith had gone into an apartment with the female victim at 82 Fremont St.",
"title": "Prison ordered for contempt case | News, Sports, Jobs - Leader Herald",
"url": "http://www.leaderherald.com/news/local-news/2017/06/prison-ordered-for-contempt-case/"
},
{
"date": "2015-07-21T00:00:00Z",
"snippet": "Three of four criminal charges were dismissed against a Sussex couple who challenged the authority of animal control officers to confiscate their dog after a biting episode in March. Nancy Smith, with her husband John A. Smith, had been charged by Delaware Animal Care and Control officers after an episode in which their dog, Millie, slipped a leash during a walk in their neighborhood and bit a neighbor's dog. Nancy Smith had been charged with maintaining a dangerous dog and allowing the dog to roam free and bite.",
"title": "Probation for dog owner who fought pet's seizure",
"url": "http://www.freep.com/story/news/local/2015/07/21/probation-dog-owner-fought-pets-seizure/30464069/"
},
{
"date": "2015-03-17T00:00:00Z",
"snippet": "Smith was later arrested on charges of an armed robbery in Bolingbrook and is serving a 14-year prison sentence at Illinois River Correctional Center in that case. According to court records, Smith's bail was fixed at $250,000 on the most recent charges. A future court date has not yet been set.",
"title": "Woodridge man charged with hijacking, kidnapping woman and 2 kids",
"url": "http://www.dailyherald.com/article/20150317/news/150318967/"
}
],
"name": "John A. Smith",
"types": [
"adverse-media",
"adverse-media-general",
"adverse-media-violent-crime"
]
},
"match_types": [
"unknown"
],
"match_types_details": {
"John A Smith": {
"match_types": {
"allen": [
"initial_name"
],
"john": [
"name_exact",
"phonetic_name"
],
"smith": [
"name_exact",
"phonetic_name"
]
},
"type": "name"
}
},
"score": 26.282303
}
]
}
}
}
Status: 200 OK
{
"code": 200,
"status": "success",
"content": {
"data": {
"id": <id>,
"ref": "<ref_id>",
"searcher_id": <id>,
"assignee_id": <id>,
"filters": {
"country_codes": [],
"birth_year": null,
"remove_deceased": 1,
"types": [],
"exact_match": false,
"fuzziness": 0
},
"match_status": "no_match",
"risk_level": "unknown",
"search_term": "Sample Company Ltd",
"submitted_term": "Sample Company Ltd",
"client_ref": "<ref_id>",
"total_matches": 0,
"total_hits": 0,
"updated_at": "2018-01-23 01:47:23",
"created_at": "2018-01-23 01:47:23",
"tags": [],
"searcher": {
"id": <id>,
"email": "your@email.com",
"name": "Your Name",
"phone": null,
"created_at": "2017-01-01 16:29:13"
},
"assignee": {
"id": <id>,
"email": "your@email.com",
"name": "Your Name",
"phone": null,
"created_at": "2017-01-01 16:29:13"
},
"hits": []
}
}
}