# OpenSanctions entity name extractor

**Use case:** 

Search OpenSanctions entities by caption, name, or alias and export identifiers, source URLs, and raw properties.

## Input

```json
{
  "datasetSlug": "default",
  "maxItems": 50,
  "maxScanLines": 500000,
  "schemas": [
    "Person",
    "Company"
  ],
  "countries": [],
  "datasets": [],
  "topics": [],
  "nameQuery": "gazprom",
  "targetOnly": false,
  "includeProperties": true
}
```

## Output

```json
{
  "id": {
    "label": "Entity ID"
  },
  "caption": {
    "label": "Caption"
  },
  "schema": {
    "label": "Schema"
  },
  "entityType": {
    "label": "Entity type"
  },
  "target": {
    "label": "Target"
  },
  "datasets": {
    "label": "Datasets"
  },
  "countries": {
    "label": "Countries"
  },
  "topics": {
    "label": "Topics"
  },
  "names": {
    "label": "Names"
  },
  "aliases": {
    "label": "Aliases"
  },
  "identifiers": {
    "label": "Identifiers"
  },
  "sanctionsPrograms": {
    "label": "Sanctions programs"
  },
  "sourceUrls": {
    "label": "Source URLs"
  },
  "firstSeen": {
    "label": "First seen"
  },
  "lastSeen": {
    "label": "Last seen"
  },
  "lastChange": {
    "label": "Last change"
  },
  "datasetSlug": {
    "label": "Dataset slug"
  },
  "exportUrl": {
    "label": "Export URL"
  },
  "matchedBy": {
    "label": "Matched by"
  },
  "scannedLine": {
    "label": "Scanned line"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [OpenSanctions Entities Scraper](https://apify.com/automation-lab/opensanctions-entities-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/opensanctions-entities-scraper) to learn more, explore other use cases, and run it yourself.