# Look Up a Spanish Company's NIF and Officers

**Use case:** 

Look up any Spanish company by name and get its NIF/CIF, legal form, CNAE activity, address, officers and status from the Registro Mercantil.

## Input

```json
{
  "searchQuery": "Telefonica",
  "maxResults": 10
}
```

## Output

```json
{
  "lookupStatus": {
    "label": "Result",
    "format": "text"
  },
  "companyName": {
    "label": "Company",
    "format": "text"
  },
  "nif": {
    "label": "NIF/CIF",
    "format": "text"
  },
  "legalForm": {
    "label": "Legal Form",
    "format": "text"
  },
  "cnaeCode": {
    "label": "CNAE",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "province": {
    "label": "Province",
    "format": "text"
  },
  "registroMercantil": {
    "label": "Registry",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Spain Company Directory Scraper - Registro Mercantil](https://apify.com/regdata/spain-company-directory-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/regdata/spain-company-directory-scraper) to learn more, explore other use cases, and run it yourself.