# Monitor MiFID permissions for regulated firms

**Use case:** 

Watch current MiFID investment-service permissions on official ESMA registers. Replace the sample entity id ae42 (Catam Asset Management AG) with your firms. The first run stores a BASELINE; later runs with the same Monitor key emit SERVICE_GRANTED and SERVICE_WITHDRAWN. Quiet repeats stay in CHECKS.

## Input

```json
{
  "mode": "watchlist",
  "monitorKey": "task-permissions",
  "firms": [
    {
      "entityId": "ae42",
      "lei": "529900RUQ6E2Z710XY62"
    }
  ],
  "includePermissions": true,
  "includePassporting": false,
  "includeSanctions": false,
  "changesOnly": true,
  "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`).
