# Bienvenido

Documentación de DECOLECTA API para consulta de datos abiertos

Necesitas generar un token en <https://decolecta.com>

### URL del api

Puedes usar la siguiente URL como url base soporta TLS&#x20;

```
https://api.decolecta.com/
```

En caso que no necesites puedes la versión HTTP

```
http://api.decolecta.com
```

### Generación de token

Para generar un token necesitas registrarte en **<https://decolecta.com/profile>,** el token lo puedes incluir en el `Header Authorization Bearer <API_KEY>`&#x20;

### Servicios principales

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>API SUNAT</strong></td><td>Consulta de datos de empresas y otros</td><td></td><td></td><td><a href="/pages/DSQqnsAqJPnIRyPgQJ1S">/pages/DSQqnsAqJPnIRyPgQJ1S</a></td></tr><tr><td><strong>API RENIEC</strong></td><td>Consulta de datos de personas</td><td></td><td></td><td><a href="/pages/7aUFmnCMx9m4smGncsXL">/pages/7aUFmnCMx9m4smGncsXL</a></td></tr><tr><td><strong>SBS</strong></td><td>Consulta de tipo de cambio y otros</td><td></td><td></td><td><a href="/pages/JjjojIyKxaiBPzzLwvtg">/pages/JjjojIyKxaiBPzzLwvtg</a></td></tr></tbody></table>


---

# 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://decolecta.gitbook.io/docs/readme.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.
