POST
/
searchEntity
curl --request POST \
  --url https://gateway.finhub.cloud/peps/1.0.0/searchEntity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-token: <x-token>' \
  --data '{
  "data": {
    "attributes": {
      "filter_group_and": {
        "group_operator": "AND",
        "filters": {
          "search_keyword": {
            "scope": [
              "Name"
            ],
            "type": "Precise",
            "text": "keyword to search"
          },
          "country_territory": {
            "country_territory_types": {
              "country_territory_types": [
                "3"
              ],
              "operator": "AND"
            },
            "countries_territories": {
              "codes": [
                "USA",
                "GFR"
              ],
              "exclude_codes": [],
              "operator": "OR"
            }
          },
          "date_of_birth": {
            "date": {
              "month": "1",
              "year": "2020",
              "is_strict_match": false,
              "day": "1"
            },
            "year_range": {
              "from": "1",
              "to": "1"
            },
            "is_deceased_excluded": false
          },
          "record_types": [
            "Person"
          ],
          "content_set": [
            "Watchlist",
            "Locations",
            "StateOwnedCompanies",
            "AdverseMedia"
          ]
        }
      },
      "filter_group_or": {
        "group_operator": "OR",
        "filters": {
          "sanctions_list": {
            "codes": [
              "AE-CAE",
              "AR-MOJDH"
            ],
            "last_review_date": {
              "from": {
                "month": "1",
                "year": "2020",
                "day": "1"
              },
              "to": {
                "month": "1",
                "year": "2020",
                "day": "1"
              }
            },
            "exclude_codes": [],
            "is_all_excluded": false,
            "operator": "AND"
          },
          "content_category": {
            "special_interest": {
              "codes": [
                "1001",
                "1002"
              ],
              "last_review_date": {
                "from": {
                  "month": "1",
                  "year": "2020",
                  "day": "1"
                },
                "to": {
                  "month": "1",
                  "year": "2020",
                  "day": "1"
                }
              },
              "exclude_codes": [],
              "is_all_excluded": false,
              "operator": "AND"
            },
            "adverse_media": {
              "codes": [
                "33",
                "34"
              ],
              "last_review_date": {
                "from": {
                  "month": "1",
                  "year": "2020",
                  "day": "1"
                },
                "to": {
                  "month": "1",
                  "year": "2020",
                  "day": "1"
                }
              },
              "exclude_codes": [],
              "is_all_excluded": false,
              "operator": "AND"
            },
            "location": {
              "codes": [
                "121"
              ],
              "last_review_date": {
                "from": {
                  "month": "1",
                  "year": "2020",
                  "day": "1"
                },
                "to": {
                  "month": "1",
                  "year": "2020",
                  "day": "1"
                }
              },
              "exclude_codes": [],
              "is_all_excluded": false,
              "operator": "AND"
            }
          },
          "other_official_list": {
            "codes": [
              "ADB",
              "AE-DFSA"
            ],
            "last_review_date": {
              "from": {
                "month": "1",
                "year": "2020",
                "day": "1"
              },
              "to": {
                "month": "1",
                "year": "2020",
                "day": "1"
              }
            },
            "exclude_codes": [],
            "is_all_excluded": false,
            "operator": "AND"
          },
          "other_exclusion_list": {
            "codes": [
              "AFDB",
              "BR-CGU"
            ],
            "last_review_date": {
              "from": {
                "month": "1",
                "year": "2020",
                "day": "1"
              },
              "to": {
                "month": "1",
                "year": "2020",
                "day": "1"
              }
            },
            "exclude_codes": [],
            "is_all_excluded": false,
            "operator": "AND"
          },
          "state_ownership": {
            "code": "5",
            "is_unknown_excluded": false,
            "is_all_excluded": false
          },
          "occupation_category": {
            "codes": [
              "18",
              "6"
            ],
            "last_review_date": {
              "from": {
                "month": "1",
                "year": "2020",
                "day": "1"
              },
              "to": {
                "month": "1",
                "year": "2020",
                "day": "1"
              }
            },
            "exclude_codes": [],
            "is_all_excluded": false,
            "operator": "AND"
          },
          "hrf_category": {
            "codes": [
              "1011"
            ],
            "last_review_date": {
              "from": {
                "month": "1",
                "year": "2020",
                "day": "1"
              },
              "to": {
                "month": "1",
                "year": "2020",
                "day": "1"
              }
            },
            "exclude_codes": [],
            "is_all_excluded": false,
            "operator": "AND"
          }
        }
      },
      "paging": {
        "offset": 0,
        "limit": 10
      },
      "sort": "PercentMatch"
    }
  }
}'

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-token
string
required

authentication token from getAcessToken response

Body

data
object

Response

200 - application/json
data
object[]
meta
object