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.
Try it in the interactive console OpenAPI schema
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.
- GET /sanctions-data/{entity}/ – Search sanctions lists for an entity
- GET /peps-data/{entity}/ – Search PEP lists for a person
- GET /api/criminal-data/{entity}/ – Search criminal watchlists for an entity
- GET /companies-data/{entity}/ – Search company registries for an entity
- GET /api/query-status/{secret_key}/{query_id}/ – Poll the status of a query
- POST /api/query/{secret_key}/ – Start an entity reputation analysis
Sanctions
Sanctions screening across OFAC, EU, UN, UK HMT, and 15+ other lists.
GET /sanctions-data/{entity}/
Search sanctions lists for an entity
Searches OFAC, EU Consolidated, UN SC, UK HMT, and 15+ other sanctions lists for a person or organization name. Returns matching entries with metadata and a generated PDF report URL.
A registration number, tax ID or IMO number can be passed instead of a name. Codes are matched exactly rather than fuzzily — the response sets identifier_search: true, fuzziness is ignored, and an unlisted code returns no results rather than the nearest ones. Each result carries the identifiers held for it in identifiers.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
entity | path | yes | string | Entity name, or a registration/tax/IMO number (URL-encode spaces as %20). |
fuzziness | query | no | one of auto, exact, moderate, relaxed, strict | Match strictness. Omit (or pass auto) for automatic fallback: searches at strict first, retries at relaxed only if the strict pass returned no hits. Pass an explicit tier to pin the search. |
secret_key | query | no | string | User API key (JWT). Required unless authenticated via session. Manage via the Profile page. |
source | query | no | string | Comma-separated sanctions list codes to filter by (e.g. OFAC,EU,UN). Omit for all. |
type | query | no | one of aircraft, company, other, person, vessel | Subject category to search for. Omit for all. Several US CSL lists publish no subject type; matches from those carry no category and are excluded by a filter, but counted in unclassified_excluded so a filtered search is never mistaken for a clean one. Every result reports its own category. |
Responses
| Status | Description |
|---|---|
200 | |
401 |
Response 200
Example: Match
{
"person": "Putin",
"sanctions": [
{
"entity_id": "12345",
"title": "Vladimir Putin",
"list": "EU Sanctions",
"program": "UKR",
"regulation": "269/2014 (OJ L78)",
"date_designated": "2014-04-28",
"aliases": [
"Vladimir Vladimirovich Putin"
],
"address": "Moscow, Russia"
}
],
"pdf_url": "/media/sanctions/sanctions_putin_2026-05-05.pdf"
}
Response 401
Example: Unauthenticated
{
"error": "Authentication required"
}
PEPs
Politically Exposed Persons search across parliaments and Wikidata.
GET /peps-data/{entity}/
Search PEP lists for a person
Searches Politically Exposed Persons across LV/LT/EE/PL/SE parliaments and Wikidata. When a Latvian personal code is supplied, also performs a VID PNP lookup and merges results.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
entity | path | yes | string | Person name to search. |
fuzziness | query | no | one of exact, moderate, relaxed, strict | Match strictness. Default moderate. |
person_code | query | no | string | Optional Latvian personal code (11 digits) to enrich results via VID PNP lookup. |
secret_key | query | no | string | User API key (JWT). Required unless authenticated via session. Manage via the Profile page. |
Responses
| Status | Description |
|---|---|
200 | |
401 |
Response 200
Example: Match
{
"person": "Karins",
"peps": [
{
"entity_id": "lv_saeima_42",
"name": "Krišjānis Kariņš",
"position": "Member of Saeima",
"country": "LV",
"source": "LV_SAEIMA",
"is_active": true,
"category": "national_legislator"
}
],
"pdf_url": "/media/peps/peps_karins_2026-05-05.pdf"
}
Criminal
Criminal watchlist search across FBI, Interpol, Europol and national police wanted lists.
GET /api/criminal-data/{entity}/
Search criminal watchlists for an entity
Searches FBI Wanted, Interpol Red/Yellow Notices, Europol EU Most Wanted, UK NCA Most Wanted and other law-enforcement wanted/missing-person lists for a name. Returns matching entries with metadata.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
entity | path | yes | string | Entity name to search (URL-encode spaces as %20). |
fuzziness | query | no | one of auto, exact, moderate, relaxed, strict | Match strictness. Omit (or auto) for strict→relaxed fallback. |
secret_key | query | no | string | User API key (JWT). Required unless authenticated via session. |
source | query | no | string | Comma-separated criminal list codes to filter by (e.g. FBI,EUROPOL). |
Responses
| Status | Description |
|---|---|
200 | |
401 |
Companies
Entity search across LV/EE/LT/PL registries and GLEIF.
GET /companies-data/{entity}/
Search company registries for an entity
Full-text + fuzzy search across LV / EE / LT / PL company registries and the GLEIF global LEI database. Supports filtering by country, status (active/inactive), and source.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
country | query | no | string | Two-letter country code (e.g. LV, EE, DE). |
entity | path | yes | string | Company name to search. |
fuzziness | query | no | one of exact, moderate, relaxed, strict | Match strictness. Default moderate. |
limit | query | no | integer | Max results (1–500). Default 100. |
secret_key | query | no | string | User API key (JWT). Manage via the Profile page. |
source | query | no | one of DE, EE, FR, GLEIF, LT, LV, PL, UK | Data source filter. |
status | query | no | one of ACTIVE, INACTIVE | Entity status filter. |
Responses
| Status | Description |
|---|---|
200 | |
401 | |
403 |
Response 200
Example: Match
{
"query": "Volkswagen",
"total": 12,
"companies": [
{
"entity_id": "gleif_5299...",
"name": "Volkswagen AG",
"country": "DE",
"source": "GLEIF",
"status": "ACTIVE",
"registration_number": "HRB 100484",
"lei": "529900NNUPAGGOMPXZ31"
}
]
}
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
query_id | path | yes | string | Celery task ID returned in the Location header by POST /api/query/{secret_key}/. |
secret_key | path | yes | string | User API key (JWT). Manage via the Profile page. |
Responses
| Status | Description |
|---|---|
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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
secret_key | path | yes | string | User API key (JWT). Manage via the Profile page. |
Request body (JSON)
| Field | Required | Type | Description |
|---|---|---|---|
entity | no | string | Entity name (alias: q). One of entity / q is required. |
q | no | string | Entity 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_code | no | string | Personal 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_results | no | boolean | Multi-entity searches only: group the entities into one combined report (default: true). |
type | no | string | Subject type: 1 = person, 2 = legal entity. |
reg_num | no | string | Registration number or personal ID code; several may be given, comma-separated (max 255 characters). |
query_context | no | string | Additional search context (max 255 characters). |
gl | no | string | Geographic location — lowercase ISO 3166-1 alpha-2, e.g. lv, us, or any. |
cr | no | string | Country/region filter — country + uppercase ISO 3166-1 alpha-2, e.g. countryLV, or any. |
lr | no | string | Language 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_lang | no | string | Language the results are written in — full English language name, e.g. English, Latvian (not a code). Default: English. |
from | no | integer | Result offset in pages of 10 links (0 = start at link 1, 3 = start at link 31). |
to | no | integer | Number 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_data | no | boolean | Reuse cached results if available. |
callback_url | no | string | If 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_google | no | boolean | Include Google results (default: true). |
engine_brave | no | boolean | Include Brave results (default: true, capped at 20 links). |
engine_google_news | no | boolean | Include Google News results (default: true). |
engine_bing_news | no | boolean | Include Bing News results (default: true). |
sanctions_fuzziness | no | one 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_fuzziness | no | one 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_fuzziness | no | one 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
| Status | Description |
|---|---|
202 | Accepted. 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. |
400 | No entity / q given, more than 200 entities, or an unknown *_fuzziness level. |
404 |