> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cucu.bo/llms.txt
> Use this file to discover all available pages before exploring further.

# TC oficial

> Tipo de cambio oficial flexible del dólar (USD/BOB).

Tipo de cambio **oficial flexible** del dólar. `compra` es el TCO (promedio ponderado de las compras
del día); `venta` es el tope referencial (TCO + Bs 0,10).

| Campo               | Tipo   | Descripción                      |
| ------------------- | ------ | -------------------------------- |
| `regimen`           | string | `flexible`                       |
| `compra` / `base`   | number | Tipo de Cambio Oficial (TCO)     |
| `venta`             | number | Tope referencial = TCO + Bs 0,10 |
| `moneda`            | string | `USD/BOB` (bolivianos por dólar) |
| `fecha`             | string | Fecha de vigencia                |
| `fecha_publicacion` | string | Fecha de publicación del BCB     |

<RequestExample>
  ```bash cURL theme={"system"}
  curl https://bcb.cucu.bo/api/v1/tc/oficial
  ```

  ```javascript JavaScript theme={"system"}
  const res = await fetch('https://bcb.cucu.bo/api/v1/tc/oficial');
  const data = await res.json();
  ```

  ```python Python theme={"system"}
  import requests
  data = requests.get('https://bcb.cucu.bo/api/v1/tc/oficial').json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"system"}
  {
    "tc_oficial": {
      "regimen": "flexible",
      "valor": 9.73,
      "base": 9.73,
      "compra": 9.73,
      "venta": 9.83,
      "moneda": "USD/BOB",
      "fecha": "2026-06-29",
      "fecha_publicacion": "2026-06-26",
      "nota": "Tipo de Cambio Oficial flexible (RD BCB 88/2026)."
    },
    "fuente": "Banco Central de Bolivia (bcb.gob.bo)",
    "disclaimer": "Datos informativos sin garantía. Uso bajo su responsabilidad."
  }
  ```
</ResponseExample>
