# Relacionamentos

O serviço de Relacionamentos retorna informações sobre pessoas e empresas relacionadas à entidade consultada, incluindo vínculos societários, administrativos e profissionais.

- **Identificador:** `empresas/relacionamentos`
- **Categoria:** Relacionamentos e QSA/UBO
- **Audiência:** PJ
- **Endpoint:** `POST /api/v1/{tenant}/empresas/relacionamentos`
- **Preço de tabela:** R$ 0,060 por consulta bem-sucedida
- **Página:** https://www.proteo.com.br/api/consultas/empresas/relacionamentos

## Quando usar

Descrição

O serviço de Relacionamentos retorna informações detalhadas sobre conexões entre a empresa consultada e outras entidades, sejam elas pessoas físicas ou jurídicas.

As relações incluem vínculos societários (como sócios e administradores), profissionais (como funcionários) e outras associações relevantes.

Os dados retornados permitem análises de estrutura organizacional, redes de influência e riscos relacionados a relacionamentos indiretos.

## Parâmetros (corpo JSON)

| Campo | Obrigatório | Descrição |
|---|---|---|
| `document` | sim | CNPJ da empresa, com ou sem máscara. |

## Campos de retorno (`data`)

| Campo | Tipo |
|---|---|
| `Relationships[].RelatedEntityTaxIdNumber` | texto |
| `Relationships[].RelatedEntityTaxIdType` | texto |
| `Relationships[].RelatedEntityTaxIdCountry` | texto |
| `Relationships[].RelatedEntityName` | texto |
| `Relationships[].RelationshipType` | texto |
| `Relationships[].RelationshipName` | texto |
| `Relationships[].RelationshipLevel` | texto |
| `Relationships[].RelationshipDataOrigin` | texto |
| `Relationships[].CreationDate` | data |
| `Relationships[].LastUpdateDate` | data |
| `Relationships[].RelationshipStartDate` | data |
| `Relationships[].RelationshipEndDate` | data |
| `CurrentRelationships[].RelatedEntityTaxIdNumber` | texto |
| `CurrentRelationships[].RelatedEntityTaxIdType` | texto |
| `CurrentRelationships[].RelatedEntityTaxIdCountry` | texto |
| `CurrentRelationships[].RelatedEntityName` | texto |
| `CurrentRelationships[].RelationshipType` | texto |
| `CurrentRelationships[].RelationshipName` | texto |
| `CurrentRelationships[].RelationshipLevel` | texto |
| `CurrentRelationships[].RelationshipDataOrigin` | texto |
| `CurrentRelationships[].CreationDate` | data |
| `CurrentRelationships[].LastUpdateDate` | data |
| `CurrentRelationships[].RelationshipStartDate` | data |
| `CurrentRelationships[].RelationshipEndDate` | data |
| `IsFamilyCompany` | booleano |
| `IsFamilyOperated` | booleano |
| `TotalRelationships` | número |
| `TotalOwners` | número |
| `TotalEmployees` | número |
| `TotalOwned` | número |

## Exemplo de resposta (valores fictícios)

```json
{
  "execution_id": "00000000-0000-0000-0000-000000000000",
  "status": "success",
  "message": "Consulta realizada com sucesso",
  "query_name": "Relacionamentos",
  "query_slug": "relacionamentos",
  "data": {
    "Relationships": [
      {
        "RelatedEntityTaxIdNumber": "texto",
        "RelatedEntityTaxIdType": "texto",
        "RelatedEntityTaxIdCountry": "texto",
        "RelatedEntityName": "texto",
        "RelationshipType": "texto",
        "RelationshipName": "texto",
        "RelationshipLevel": "texto",
        "RelationshipDataOrigin": "texto",
        "CreationDate": "2026-01-01",
        "LastUpdateDate": "2026-01-01",
        "RelationshipStartDate": "2026-01-01",
        "RelationshipEndDate": "2026-01-01"
      }
    ],
    "CurrentRelationships": [
      {
        "RelatedEntityTaxIdNumber": "texto",
        "RelatedEntityTaxIdType": "texto",
        "RelatedEntityTaxIdCountry": "texto",
        "RelatedEntityName": "texto",
        "RelationshipType": "texto",
        "RelationshipName": "texto",
        "RelationshipLevel": "texto",
        "RelationshipDataOrigin": "texto",
        "CreationDate": "2026-01-01",
        "LastUpdateDate": "2026-01-01",
        "RelationshipStartDate": "2026-01-01",
        "RelationshipEndDate": "2026-01-01"
      }
    ],
    "IsFamilyCompany": false,
    "IsFamilyOperated": false,
    "TotalRelationships": 0,
    "TotalOwners": 0,
    "TotalEmployees": 0,
    "TotalOwned": 0
  },
  "consulted_at": "2026-01-01T12:00:00Z",
  "query_cost": "0.060"
}
```
