# List companies

### Input

User needs to provide search phrase. The search phrase should be detailed enough to find a specific company.

<table><thead><tr><th width="175">Attribute</th><th width="259">Type</th><th>Description</th></tr></thead><tbody><tr><td>search</td><td>String</td><td>Search phrase (at least 3 characters)</td></tr><tr><td>registerNumber</td><td>String</td><td>Registration number of company (optional)</td></tr><tr><td>court</td><td>String</td><td>The district court where the company is registered (optional)</td></tr><tr><td>registry</td><td>String</td><td>The type of registry (e.g., VR, HRA) where the company is registered (optional)</td></tr><tr><td>password</td><td>String</td><td>API access password</td></tr><tr><td>email</td><td>String</td><td>API access email</td></tr><tr><td>apiKey</td><td>String </td><td>API key</td></tr></tbody></table>

### Output

| Attribute         | Type    | Description                                           |
| ----------------- | ------- | ----------------------------------------------------- |
| companyName       | String  | The name of the company                               |
| headquarters      | String  | The location of the company's main office             |
| registerType      | String  | The type of register the company is listed in         |
| registerNumber    | String  | The registration number of the company                |
| ekrn              | String  | The European Company Registration Number (ECRN)       |
| isDeleted         | Boolean | Indicates whether the company record is deleted       |
| registerCourtName | String  | The name of the court where the company is registered |
| registerCourtKey  | String  | The key identifier for the register court             |

```json
{
    "transparenzregister": [{
            "companyName": "CH Testtrüst 6 & Testsöhnê",
            "headquarters": "Hamburg",
            "registerType": "Handelsregister",
            "registerNumber": "HRB 123456",
            "ekrn": "DE384738734064",
            "isDeleted": false,
            "registerCourtName": "Amtsgericht Hamburg",
            "registerCourtKey": "AGHH"
        },
        {
            "companyName": "CH Testgésellschaft 3",
            "headquarters": "Köln",
            "registerType": "Handelsregister",
            "registerNumber": "HRB 654321",
            "ekrn": "DE013400858287",
            "isDeleted": false,
            "registerCourtName": "Amtsgericht Köln",
            "registerCourtKey": "AGK"
        },
        {
            "companyName": "CH Testgestaltung 2",
            "headquarters": "Rom",
            "registerType": "Handelsregister",
            "registerNumber": "HRB 789012",
            "ekrn": "DE549513318438",
            "isDeleted": false,
            "registerCourtName": "Amtsgericht Rom",
            "registerCourtKey": "AGR"
        }
    ]
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.transactionlink.io/docs/v1/integrations/transparenzregister/beneficial-owners/list-companies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
