API Documentation

Fintelligence API 1.0.0. Public API for sanctions screening, PEP (Politically Exposed Persons) screening, and entity (company) search across EU registries and GLEIF.

No API key yet? Contact us at info@fintelligence.ai or sign up to request access.

Authentication

All public endpoints accept a per-user JWT as the secret_key query parameter (or path segment, for the Query API). Manage your key from the Profile page. Keep it confidential — it identifies you and meters usage.

Match strictness

Omit fuzziness and a search runs strict first, retrying at relaxed only if that found nothing. Pass a value to pin the search to one tier:

  • exact — case-insensitive exact match only.
  • strict — small typos tolerated.
  • moderate — balanced fuzzy match.
  • relaxed — broad, may include weak matches.

Searching by registration number

Sanctions search takes a registration number, tax ID or IMO number in place of a name. A value that is short and mostly digits is treated as a code and matched exactly: fuzziness is ignored, and a number that is on no list returns nothing rather than the numbers nearest to it. The response sets identifier_search: true, and every result lists the numbers held for it in identifiers.

Only sources that publish registration numbers can be searched this way, so no results is not proof a subject is unlisted — screen the name as well.

Filtering by subject type

Pass type — person, company, vessel, aircraft or other — to restrict a sanctions search to one kind of subject. Sources word the same thing differently, so the filter runs on a normalised category and every result reports its own category to check against what you asked for.

A few source lists publish no subject type at all. Those records answer no filter, so they are excluded and counted in unclassified_excluded — a filtered search is never mistaken for a clean screening result.

Errors

Errors are JSON: {"error": "message"}. Common statuses: 401 missing/invalid key, 403 feature disabled for org, 404 unknown key or resource, 500 upstream failure.

Endpoint reference

All endpoints are served from https://online.fintelligence.ai.

Sanctions

Sanctions screening across OFAC, EU, UN, UK HMT, and 15+ other lists.

PEPs

Politically Exposed Persons search across parliaments and Wikidata.

Criminal

Criminal watchlist search across FBI, Interpol, Europol and national police wanted lists.

Companies

Entity search across LV/EE/LT/PL registries and GLEIF.

Query

Asynchronous entity reputation analysis.

GET /api/query-status/{secret_key}/{query_id}/

Poll the status of a query

Returns status: processing until the query completes, then status: processed with results.

Parameters

NameInRequiredTypeDescription
query_idpathyesstringCelery task ID returned in the Location header by POST /api/query/{secret_key}/.
secret_keypathyesstringUser API key (JWT). Manage via the Profile page.

Responses

StatusDescription
200

Response 200

Example: Processing

{
  "query_id": "abc-123",
  "status": "processing"
}

Example: Processed

{
  "query_id": "abc-123",
  "status": "processed",
  "reputation": "negative",
  "profile": "Politician/Public official",
  "negative_links_count": 7,
  "neutral_links_count": 23,
  "report_url": "https://online.fintelligence.ai/media/queries/report-abc-123.pdf",
  "results": [
    {
      "link_id": 1,
      "reputation": "negative",
      "reason": "...",
      "link": "https://...",
      "title": "..."
    }
  ]
}

POST /api/query/{secret_key}/

Start an entity reputation analysis

Initiates an asynchronous query that aggregates web sources, sanctions, and PEP data for an entity, returning a 202 Accepted with a Location header pointing at the status endpoint. Poll that URL until status is processed.

Parameters

NameInRequiredTypeDescription
secret_keypathyesstringUser API key (JWT). Manage via the Profile page.

Request body (JSON)

FieldRequiredTypeDescription
entitynostringEntity name (alias: q). One of entity / q is required.
qnostringEntity name (alias: entity). One entity per line for a multi-entity search (max 200); a line may be name | personal_code to match PEPs on the ID code as well as the name.
person_codenostringPersonal ID code for the entity. Matches PEP records on the code in addition to the name. Equivalent to the | personal_code suffix on q.
combine_resultsnobooleanMulti-entity searches only: group the entities into one combined report (default: true).
typenostringSubject type: 1 = person, 2 = legal entity.
reg_numnostringRegistration number or personal ID code; several may be given, comma-separated (max 255 characters).
query_contextnostringAdditional search context (max 255 characters).
glnostringGeographic location — lowercase ISO 3166-1 alpha-2, e.g. lv, us, or any.
crnostringCountry/region filter — country + uppercase ISO 3166-1 alpha-2, e.g. countryLV, or any.
lrnostringLanguage of the sources searched — lang_ + ISO 639-1, e.g. lang_en, or any. Does not affect the language the results are written in.
response_langnostringLanguage the results are written in — full English language name, e.g. English, Latvian (not a code). Default: English.
fromnointegerResult offset in pages of 10 links (0 = start at link 1, 3 = start at link 31).
tonointegerNumber of links to collect, in pages of 10 per search engine (1 = 10 links, 3 = 30 links, max 10 = 100 links). Default: 1.
use_historical_datanobooleanReuse cached results if available.
callback_urlnostringIf provided, a POST with the completed results will be sent to this URL when the query finishes (same payload as the polling endpoint returns for status: processed).
engine_googlenobooleanInclude Google results (default: true).
engine_bravenobooleanInclude Brave results (default: true, capped at 20 links).
engine_google_newsnobooleanInclude Google News results (default: true).
engine_bing_newsnobooleanInclude Bing News results (default: true).
sanctions_fuzzinessnoone of exact, strict, moderate, relaxed or one of How closely a name must match to be reported in the sanctions screening: exact, strict, moderate or relaxed. Default: the level set for your user, else your organization (strict unless changed). * exact - Exact * strict - Strict * moderate - Moderate * relaxed - Relaxed
pep_fuzzinessnoone of exact, strict, moderate, relaxed or one of How closely a name must match to be reported in the PEP screening: exact, strict, moderate or relaxed. Default: the level set for your user, else your organization (strict unless changed). * exact - Exact * strict - Strict * moderate - Moderate * relaxed - Relaxed
criminal_fuzzinessnoone of exact, strict, moderate, relaxed or one of How closely a name must match to be reported in the criminal watchlist screening: exact, strict, moderate or relaxed. Default: the level set for your user, else your organization (strict unless changed). * exact - Exact * strict - Strict * moderate - Moderate * relaxed - Relaxed

Example: Person

{
  "q": "Aivars Lembergs",
  "type": "1",
  "reg_num": "11111111111",
  "person_code": "11111111111",
  "combine_results": true,
  "sanctions_fuzziness": "strict",
  "pep_fuzziness": "exact",
  "criminal_fuzziness": "strict",
  "gl": "lv",
  "cr": "countryLV",
  "lr": "any",
  "response_lang": "Latvian",
  "query_context": "Ventspils osta",
  "from": 0,
  "to": 3,
  "use_historical_data": false,
  "callback_url": "https://your-server.com/webhook",
  "engine_google": true,
  "engine_brave": true,
  "engine_google_news": true,
  "engine_bing_news": true
}

Example: LegalEntity

{
  "q": "AS Olainfarm",
  "type": "2",
  "reg_num": "40003007246",
  "person_code": "",
  "combine_results": true,
  "gl": "lv",
  "cr": "countryLV",
  "lr": "any",
  "response_lang": "English",
  "query_context": "",
  "from": 0,
  "to": 3,
  "use_historical_data": false,
  "callback_url": "https://your-server.com/webhook",
  "engine_google": true,
  "engine_brave": true,
  "engine_google_news": true,
  "engine_bing_news": true
}

Example: MultipleEntities

{
  "q": "Aivars Lembergs | 11111111111\nAS Olainfarm\nJanis Berzins | 010180-12345",
  "type": "1",
  "reg_num": "",
  "person_code": "",
  "combine_results": true,
  "gl": "lv",
  "cr": "countryLV",
  "lr": "any",
  "response_lang": "English",
  "query_context": "",
  "from": 0,
  "to": 3,
  "use_historical_data": false,
  "callback_url": "https://your-server.com/webhook",
  "engine_google": true,
  "engine_brave": true,
  "engine_google_news": true,
  "engine_bing_news": true
}

Example: SelectedSearchEnginesOnly

{
  "q": "Putin",
  "type": "1",
  "reg_num": "",
  "person_code": "",
  "combine_results": true,
  "gl": "any",
  "cr": "any",
  "lr": "any",
  "response_lang": "English",
  "query_context": "",
  "from": 0,
  "to": 1,
  "use_historical_data": false,
  "callback_url": "https://your-server.com/webhook",
  "engine_google": true,
  "engine_brave": false,
  "engine_google_news": false,
  "engine_bing_news": false
}

Responses

StatusDescription
202Accepted. For a single entity, poll the URL in the Location header. For a multi-entity request the body is {"group_id": int|null, "queries": [{"entity", "query_id", "task_id"}]} — poll /api/query-status/<secret_key>/<task_id>/ for each.
400No entity / q given, more than 200 entities, or an unknown *_fuzziness level.
404