# Look up an EU investment firm on ESMA registers

**Use case:** 

Look up one MiFID firm on official ESMA registers and return the current authorisation, permissions, branches and sanctions snapshot. Replace the sample LEI. This lookup does not write monitor state or emit later CHANGE rows.

## Input

```json
{
  "mode": "lookup",
  "monitorKey": "task-lookup",
  "firms": [
    {
      "lei": "529900RUQ6E2Z710XY62"
    }
  ],
  "includePermissions": true,
  "includePassporting": true,
  "includeSanctions": true,
  "changesOnly": false,
  "baselineMode": "emitSnapshot"
}
```

## Output

```json
{
  "record_type": {
    "label": "Record type",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "entity_id": {
    "label": "Entity id",
    "format": "string"
  },
  "entity_name": {
    "label": "Entity name",
    "format": "string"
  },
  "lei": {
    "label": "Lei",
    "format": "string"
  },
  "authorisation_status": {
    "label": "Authorisation status",
    "format": "string"
  },
  "office_type": {
    "label": "Office type",
    "format": "string"
  },
  "home_member_state": {
    "label": "Home member state",
    "format": "string"
  },
  "change_types": {
    "label": "Change types",
    "format": "array"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [ESMA MiFID Firm Permissions & Passporting Monitor](https://apify.com/automa-flow/esma-mifid-permissions-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automa-flow/esma-mifid-permissions-monitor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/automa-flow/esma-mifid-permissions-monitor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
