# Global Sanctions & Export Control Screening API
Fuzzy name & alias screening across 27,000+ official OFAC SDN, BIS Entity List, State ITAR, and UN sanctions records.
## API Overview
- **HTTP Protocol:** HTTPS
- **HTTP Method:** GET
- **HTTP Endpoint:** https://api.gugudata.io/v1/compliance/sanctions
- **Response Type:** application/json; charset=utf-8
- **DEMO Endpoint:** https://api.gugudata.io/v1/compliance/sanctions/demo
- **Live Demo:** https://gugudata.io/demo/global-sanctions-screening
- **Postman:** https://www.postman.com/gugudata/gugudata-io
- **LLM Page:** https://gugudata.io/details/global-sanctions-screening/llm
- **Raw Markdown:** https://gugudata.io/details/global-sanctions-screening/llm.md
## Remote MCP
- **MCP Endpoint:** https://mcp.gugudata.io/mcp
- **MCP Guide:** https://gugudata.io/mcp/
- **Authorization:** OAuth authorization opens in the browser; do not paste appkeys into MCP clients.
- **Tool Scope:** MCP clients receive GuGuData API tools available to the authorized account.
## Data & API Features
- 13 Official US & UN Sanctions Lists: Daily-synced 27,000+ records from US ITA Consolidated Screening List (OFAC SDN, SSI, CMIC, PLC, BIS Entity List, DPL, UVL, MEU, State DTC/ITAR) plus UN Security Council Consolidated List.
- Fast Fuzzy & Alias Name Matching: PostgreSQL pg_trgm GIN-indexed similarity and word-similarity scoring across primary names and full alias lists with tunable minScore threshold (0.1-1.0).
- Entity, Country & Program Filtering: Narrow screening hits by entityType (INDIVIDUAL, ENTITY, VESSEL, AIRCRAFT), sourceList, ISO-2 country code, or sanctions program keyword.
- Transparent Match Audit Trail: Every hit returns MatchScore, MatchedVia (EXACT, PRIMARY_NAME, ALIAS, FILTER), official identifiers, listed date, remarks, and authoritative government source URL.
- Live List Coverage & Freshness Endpoint: Call /v1/compliance/sanctions/lists to inspect exact entity counts, issuing authorities, dataset versions, and sync timestamps for compliance audit logs.
- 100% Public-Domain Compliance & MCP Ready: Built exclusively from official US government and United Nations public-domain feeds with unified AppKey access across REST API and MCP tools.
## API Request Parameters
| Name | Type | Is Required | Default Value | Remark |
| --- | --- | --- | --- | --- |
| appkey | string | true | YOUR_APPKEY | API key used to authenticate the request. |
| name | string | false | Bank Melli | Individual, organization, vessel, or aircraft name to screen (supports fuzzy & alias matching). |
| entityType | string | false | | Entity type filter: INDIVIDUAL, ENTITY, VESSEL, or AIRCRAFT. |
| sourceList | string | false | | Specific sanctions list code (e.g. OFAC_SDN, US_BIS_EL, US_BIS_DPL, UN_CONSOLIDATED). |
| country | string | false | | ISO 3166-1 alpha-2 country code filter (e.g. IR, RU, KP, SY). |
| program | string | false | | Sanctions program keyword filter (e.g. IRAN, RUSSIA, SDGT). |
| minScore | number | false | 0.35 | Minimum trigram match score between 0.1 and 1.0 (default 0.35). |
| pageIndex | integer | false | 1 | Page number (1-based). |
| pageSize | integer | false | 20 | Records per page (1-100). |
## API Response Parameters
| Name | Type | Remark |
| --- | --- | --- |
| DataStatus.StatusCode | integer | Application-level status code. |
| DataStatus.DataTotalCount | integer | Number of matching or returned records for this request. |
| Data[].RecordId | string | Unique official record identifier (e.g. OFAC_SDN:...). |
| Data[].SourceList | string | Official list code (OFAC_SDN, US_BIS_EL, UN_CONSOLIDATED, etc.). |
| Data[].Authority | string | Issuing government or international authority. |
| Data[].EntityType | string | Entity classification (INDIVIDUAL, ENTITY, VESSEL, AIRCRAFT). |
| Data[].PrimaryName | string | Official designated primary name. |
| Data[].Aliases | array<string> | Known aliases / AKAs. |
| Data[].Programs | array<string> | Sanctions programs and country codes. |
| Data[].MatchScore | number | Trigram similarity match score (0.0-1.0). |
| Data[].MatchedVia | string | Match source: EXACT, PRIMARY_NAME, ALIAS, or FILTER. |
## API Response Status Codes
| Status Code | Explanation of Status Code | Remarks |
| --- | --- | --- |
| 200 | Request processed successfully. | Some endpoints expose a separate application-level status field in the response body, such as `dataStatus.statusCode`. |
| 400 | Invalid request parameters or request format. | Check required fields, data types, and request body format. |
| 401 | Missing or unknown application key. | Provide a valid `appkey` with the request. |
| 403 | The application key is recognized but access is not allowed. | The key may be expired, inactive, or not permitted for the requested API. |
| 429 | Request rate or trial usage limit exceeded. | Reduce request frequency and retry with backoff. If a trial allowance is exhausted, check Trial Keys for remaining requests and subscribe to continue. |
| 500 | Internal service error. | Retry later or contact support if the error persists. |
| 503 | Upstream service unavailable. | Retry later; the requested upstream dependency is temporarily unavailable. |
## cURL Example
```bash
curl --location 'https://api.gugudata.io/v1/compliance/sanctions?appkey=YOUR_APPKEY&name=Bank%20Melli&entityType=YOUR_VALUE&sourceList=YOUR_VALUE&country=YOUR_VALUE&program=YOUR_VALUE&minScore=0.35&pageIndex=1&pageSize=20'
```