Skip to main content
POST
/
v1
/
search
Batch Asynchronous Search API
curl --request POST \
  --url https://api.minervaai.io/v1/search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "requests": [
    {
      "type": "Individual",
      "name": "John Smith",
      "gender": "Male",
      "year": 1970,
      "month": 6,
      "day": 11,
      "city": "Toronto",
      "state": "Ontario",
      "country": "Canada",
      "occupation": "Software Developer",
      "organization": "MinervaAI",
      "notes": "Personal website: www.johnsmith.com",
      "externalId": "12345678",
      "global_filters": {
        "location_match_strictness": "city",
        "match_threshold": 0.8,
        "soft_match": true
      },
      "feed_filters": {
        "Sanctions": {
          "location_match_strictness": "country",
          "soft_match": true,
          "match_threshold": 0.8
        }
      }
    }
  ],
  "feeds": [
    "Sanctions",
    "PEP",
    "Criminal",
    "Legal",
    "Ownership",
    "Open Source",
    "Offshore",
    "Registries",
    "News",
    "Social Media"
  ]
}
'
{
  "status": 200,
  "message": "Requests successfully submitted",
  "id": "25e15c07-1322-4364-a26e-2a6ef25c81d4"
}

Authorizations

x-api-key
string
header
required

The uuidv4 API key associated with the MinervaAI account making the request.

Body

application/json
requests
object[]
required

A list of JSON objects, each object corresponding to a single individual or entity in the batch.

feeds
enum<string>[]
required

The allowed values for MinervaAI search feeds in the request. Provide one or a combination of the feed names, or the "all" value, which will automatically engage all the available search feeds.

Response

Requests successfully submitted. Returns a job ID that should be used with the /searchStatus endpoint to check on the status of the search and retrieve results when complete.

status
integer
Example:

200

message
string
Example:

"Requests successfully submitted"

id
string<uuid>

Use this ID in the /searchStatus endpoint to get the status of the job and the search results.

Example:

"25e15c07-1322-4364-a26e-2a6ef25c81d4"