> For the complete documentation index, see [llms.txt](https://docs.consultasperu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.consultasperu.com/api-consultas/ruc-representantes.md).

# RUC REPRESENTANTES

{% hint style="info" %}
Búsqueda de REPRESENTANTES LEGALES por número de RUC
{% endhint %}

{% code title="POST" %}

```url
https://api.consultasperu.com/api/v1/query/ruc-representantes
```

{% endcode %}

### *<mark style="color:blue;">Headers</mark>*

| Name         | Value            |
| ------------ | ---------------- |
| Content-Type | application/json |

### *<mark style="color:blue;">Body</mark>*

```json
{
    "token": "tu_token_aqui",
    "ruc":""
}
```

### *<mark style="color:blue;">Response</mark>*

{% tabs %}
{% tab title="200: OK" %}

```json
{
    "success": true,
    "message": "Successful response",
    "data": [
        {
            "tipo_documento": "DNI",
            "numero_documento": "40000000",
            "nombres": "NOMBRES COMPLETO",
            "cargo": "GERENTE GENERAL",
            "fecha_desde": "2011-10-25"
        }
    ]
}
```

{% endtab %}

{% tab title="404: Not Found" %}

```json
{
    "success": false,
    "message": "No data found",
    "data": null
}
```

{% endtab %}

{% tab title="401: Unauthorized" %}

```json
{
    "success": false,
    "message": "Invalid Token",
    "data": null
}
```

{% endtab %}
{% endtabs %}
