> For the complete documentation index, see [llms.txt](https://doc.youverify.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.youverify.co/aml-services-anti-money-laundering/pep-and-sanction-screening/pep+-search.md).

# PEP+ Search

This endpoint allows you to search for Nigerian politically exposed individuals using different query types e.g. full name, aliases or business name.

## PEP+ Search

<mark style="color:green;">`POST`</mark> `{{baseurl}}/v2/api/verifications/advanced/domestic-pep`

#### Headers

| Name                                    | Type   | Description      |
| --------------------------------------- | ------ | ---------------- |
| token<mark style="color:red;">\*</mark> | String | API secret token |

#### Request Body

| Name                                               | Type    | Description                                                                        |
| -------------------------------------------------- | ------- | ---------------------------------------------------------------------------------- |
| fullName<mark style="color:red;">\*</mark>         | String  | Full name or known aliases of  the subject                                         |
| isSubjectConsent<mark style="color:red;">\*</mark> | Boolean | Indicate subject has given consent. <mark style="color:red;">`Must be true`</mark> |

{% tabs %}
{% tab title="PEP+ Search Sample Request" %}

```json
{
  "fullName": "Bola Ahmed Tinubu",
  "isSubjectConsent": true
  "strict": true
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="PEP+ Search Sample Response" %}

```json
{
"success": true,
"statusCode": 200,
"message": "success",
"data": {
    "status": "review_required",
    "parentId": null,
    "isSubjectConsent": true,
    "type": "individual",
    "sanctions": [],
    "pep": [
        {
            "datasets": [
                "yv_domestic"
            ],
            "accuracy": 1,
            "entityType": "Person",
            "topics": [
                "role.pep"
            ],
            "gender": [
                ""
            ],
            "country": [
                "ng"
            ],
            "name": [
                "Ahmed Bola Tinubu"
            ],
            "birthDate": [
                ""
            ],
            "position": [
                "President-elect"
            ],
            "image": [
                ""
            ],
            "sourceUrl": [
                "https://www.arise.tv/reno-omokri-pdps-focus-at-tribunal-should-be-tinubus-drug-links-peter-obi-stood-no-chance-of-winning-election/"
            ],
            "keywords": [
                ""
            ],
            "state": [
                ""
            ]
        },
        {
            "datasets": [
                "yv_domestic"
            ],
            "accuracy": 1,
            "entityType": "Person",
            "topics": [
                "role.pep"
            ],
            "gender": [
                ""
            ],
            "country": [
                "ng"
            ],
            "name": [
                "Bola Ahmed Tinubu"
            ],
            "birthDate": [
                ""
            ],
            "position": [
                "President-Elect of Nigeria"
            ],
            "image": [
                ""
            ],
            "sourceUrl": [
                "https://www.arise.tv/bode-george-congratulating-tinubu-will-make-me-look-like-a-traitor/"
            ],
            "keywords": [
                "All-Progressive’s Congress"
            ],
            "state": [
                ""
            ]
        },
        {
            "datasets": [
                "yv_domestic"
            ],
            "accuracy": 1,
            "entityType": "Person",
            "topics": [
                "role.pep"
            ],
            "gender": [
                "Male"
            ],
            "country": [
                "ng"
            ],
            "name": [
                "Bola Ahmed Tinubu"
            ],
            "birthDate": [
                "1957-03-29"
            ],
            "position": [
                "President-Elect of Nigeria"
            ],
            "image": [
                ""
            ],
            "sourceUrl": [
                "https://www.arise.tv/election-tribunal-court-declines-to-halt-tinubus-inauguration-fines-plaintiffs-n15m-for-bogus-lawsuit/"
            ],
            "keywords": [
                "All Progressive Congress (APC)"
            ],
            "state": [
                ""
            ]
        },
        {
            "datasets": [
                "yv_domestic"
            ],
            "accuracy": 1,
            "entityType": "Person",
            "topics": [
                "role.pep"
            ],
            "gender": [
                "Male"
            ],
            "country": [
                "ng"
            ],
            "name": [
                "Bola Ahmed Tinubu"
            ],
            "birthDate": [
                ""
            ],
            "position": [
                "President of Nigeria"
            ],
            "image": [
                ""
            ],
            "sourceUrl": [
                "https://www.arise.tv/we-shall-govern-on-your-behalf-not-rule-over-you-tinubu-says-in-first-address-to-nigerians-as-president/"
            ],
            "keywords": [
                "All Progressives Congress (APC)"
            ],
            "state": [
                ""
            ]
        },
        {
            "datasets": [
                "yv_domestic"
            ],
            "accuracy": 0.83,
            "entityType": "Person",
            "topics": [
                "role.pep"
            ],
            "gender": [
                ""
            ],
            "country": [
                "ng"
            ],
            "name": [
                "Tinubu Bola Ahmed Tinubu"
            ],
            "birthDate": [
                ""
            ],
            "position": [
                "Presidential Candidate"
            ],
            "image": [
                ""
            ],
            "sourceUrl": [
                "https://leadership.ng/atiku-defeats-tinubu-in-bauchi-presidential-polls/"
            ],
            "keywords": [
                "All Progressives Congress (APC)"
            ],
            "state": [
                "Bauchi"
            ]
        }
    ],
    "crime": [],
    "debarment": [],
    "financial_services": [],
    "government": [],
    "role": [],
    "religion": [],
    "military": [],
    "frozen_asset": [],
    "personOfInterest": [],
    "associate": [],
    "watchLists": [],
    "businessId": "628b38f03ae28a14f52d4bf7",
    "queriedWith": "Name",
    "query": "Bola Ahmed Tinubu",
    "requestedAt": "2024-06-20T12:08:28.081Z",
    "requestedById": "628b38f13ae28a7b742d4bf9",
    "createdAt": "2024-06-20T12:08:28.271Z",
    "lastModifiedAt": "2024-06-20T12:08:28.271Z",
    "_createdAt": "2024-06-20T13:08:2828+01:00",
    "_lastModifiedAt": "2024-06-20T13:08:2828+01:00",
    "id": "66741bb72eebef89b0596acc",
    "requestedBy": {
        "firstName": "Onyeka",
        "lastName": "Ijeh",
        "middleName": "",
        "id": "628b38f13ae28a7b742d4bf9"
    }
},
"links": []
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Error Response" %}

```json
{
  "success": false,
  "statusCode": 404,
  "message": "You have attempted to get a resource that does not exist.",
  "name": "ResourceNotFoundError",
  "data": {}
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.youverify.co/aml-services-anti-money-laundering/pep-and-sanction-screening/pep+-search.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
