# Get a company by CUI

Company profile sourced from Companero. Use ?include= to embed balance sheets and legal representatives.

- REST: `GET https://api.datero.ro/v1/companies/:cui`
- Tool MCP: `get_company` (endpoint: https://api.datero.ro/mcp)
- Cost: 1 credit / apel
- Autentificare: recomandată — header `Authorization: Bearer dat_live_…` (fără cheie funcționează limitat, doar rate-limited per IP)

## Parametri

| Nume | În | Tip | Obligatoriu | Descriere |
| --- | --- | --- | --- | --- |
| `cui` | path | string | da | Company tax id (CUI), digits only. |
| `include` | query | string | nu | Comma-separated sub-resources to embed, e.g. "balanceSheets,legalRepresentatives". |

## Exemplu: Profil firmă după CUI

Datele de identificare, sediu și statut TVA, direct după CUI.

```bash
curl "https://api.datero.ro/v1/companies/2816464" \
  -H "Authorization: Bearer dat_live_CHEIA_TA"
```

Răspuns:

```json
{
  "taxId": 2816464,
  "name": "DEDEMAN SRL",
  "companyType": "SRL",
  "tradeNumber": "J04/2621/1992",
  "county": "BACĂU",
  "city": "Bacău",
  "mainNaceCode": "4752",
  "registrationDate": "1993-01-27",
  "registrationStatus": "INREGISTRAT din data 27.01.1993",
  "stateRegistration": "in_operation",
  "address": "JUD. BACĂU, MUN. BACĂU, STR. ALEXEI TOLSTOI, NR.8",
  "postalCode": "600093",
  "legalForm": "SOCIETATE COMERCIALĂ CU RĂSPUNDERE LIMITATĂ",
  "ownershipForm": "PROPR.PRIVATA-CAPITAL PRIVAT AUTOHTON",
  "organizationForm": "PERSOANA JURIDICA",
  "fiscalAuthority": "Direcţia Generală de Administrare a Marilor Contribuabili",
  "vatPayer": true,
  "vatSince": null,
  "vatOnCollection": false,
  "vatSplit": false,
  "phone": "0234513330",
  "website": null
}
```

Documentație completă: https://datero.ro/docs/api/companies/get · OpenAPI: https://api.datero.ro/openapi.json
